content stringlengths 4 1.04M | lang stringclasses 358
values | score int64 0 5 | repo_name stringlengths 5 114 | repo_path stringlengths 4 229 | repo_licenses listlengths 1 8 |
|---|---|---|---|---|---|
/* @generated */
digraph cfg {
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_1" [label="1: Start for_loop_no_brackets\nFormals: \nLocals: i:int j:int \n " color=yellow style=filled]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_1" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_10" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_2" [label="2: Exit for_loop_no_brackets \n " color=yellow style=filled]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_3" [label="3: + \n " ]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_3" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_6" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_4" [label="4: DeclStmt \n VARIABLE_DECLARED(i:int); [line 18, column 8]\n *&i:int=0 [line 18, column 8]\n " shape="box"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_4" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_3" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_5" [label="5: UnaryOperator \n n$0=*&i:int [line 18, column 26]\n *&i:int=(n$0 + 1) [line 18, column 26]\n " shape="box"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_5" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_3" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_6" [label="6: BinaryOperatorStmt: LT \n n$1=*&i:int [line 18, column 19]\n " shape="box"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_6" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_7" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_6" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_8" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_7" [label="7: Prune (true branch, for loop) \n PRUNE((n$1 < 1), true); [line 18, column 19]\n " shape="invhouse"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_7" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_9" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_8" [label="8: Prune (false branch, for loop) \n PRUNE(!(n$1 < 1), false); [line 18, column 19]\n " shape="invhouse"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_8" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_2" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_9" [label="9: LoopBody \n n$2=*&j:int [line 19, column 5]\n " shape="box"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_9" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_5" ;
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_10" [label="10: DeclStmt \n VARIABLE_DECLARED(j:int); [line 17, column 3]\n *&j:int=0 [line 17, column 3]\n " shape="box"]
"for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_10" -> "for_loop_no_brackets.4c9da26592fb7fb2077b8ad5de66fe11_4" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_1" [label="1: Start simple_for_loop\nFormals: \nLocals: i:int j:int \n " color=yellow style=filled]
"simple_for_loop.620d527928c080a35fd7b56855111df4_1" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_11" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_2" [label="2: Exit simple_for_loop \n " color=yellow style=filled]
"simple_for_loop.620d527928c080a35fd7b56855111df4_3" [label="3: Return Stmt \n *&return:int=0 [line 13, column 3]\n " shape="box"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_3" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_2" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_4" [label="4: + \n " ]
"simple_for_loop.620d527928c080a35fd7b56855111df4_4" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_7" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_5" [label="5: DeclStmt \n VARIABLE_DECLARED(i:int); [line 10, column 8]\n *&i:int=0 [line 10, column 8]\n " shape="box"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_5" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_4" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_6" [label="6: UnaryOperator \n n$0=*&i:int [line 10, column 27]\n *&i:int=(n$0 + 1) [line 10, column 27]\n " shape="box"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_6" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_4" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_7" [label="7: BinaryOperatorStmt: LT \n n$1=*&i:int [line 10, column 19]\n " shape="box"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_7" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_8" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_7" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_9" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_8" [label="8: Prune (true branch, for loop) \n PRUNE((n$1 < 10), true); [line 10, column 19]\n " shape="invhouse"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_8" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_10" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_9" [label="9: Prune (false branch, for loop) \n PRUNE(!(n$1 < 10), false); [line 10, column 19]\n " shape="invhouse"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_9" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_3" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_10" [label="10: BinaryOperatorStmt: AddAssign \n n$2=*&j:int [line 11, column 10]\n n$3=*&j:int [line 11, column 5]\n *&j:int=(n$3 + n$2) [line 11, column 5]\n " shape="box"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_10" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_6" ;
"simple_for_loop.620d527928c080a35fd7b56855111df4_11" [label="11: DeclStmt \n VARIABLE_DECLARED(j:int); [line 9, column 3]\n *&j:int=0 [line 9, column 3]\n " shape="box"]
"simple_for_loop.620d527928c080a35fd7b56855111df4_11" -> "simple_for_loop.620d527928c080a35fd7b56855111df4_5" ;
}
| Graphviz (DOT) | 3 | JacobBarthelmeh/infer | infer/tests/codetoanalyze/c/frontend/loops/for_simple.c.dot | [
"MIT"
] |
; REQUIRES: asserts
; The regression tests need to test for order of emitted instructions, and
; therefore, the tests are a bit fragile/reliant on instruction scheduling. The
; test cases have been minimized as much as possible, but still most of the test
; cases could break if instruction scheduling heuristics for cortex-a53 change
; RUN: llc < %s -mcpu=cortex-a53 -aarch64-fix-cortex-a53-835769=1 -stats 2>&1 \
; RUN: | FileCheck %s
; RUN: llc < %s -mcpu=cortex-a53 -aarch64-fix-cortex-a53-835769=0 -stats 2>&1 \
; RUN: | FileCheck %s --check-prefix CHECK-NOWORKAROUND
; The following run lines are just to verify whether or not this pass runs by
; default for given CPUs. Given the fragility of the tests, this is only run on
; a test case where the scheduler has not freedom at all to reschedule the
; instructions, so the potentially massively different scheduling heuristics
; will not break the test case.
; RUN: llc < %s -mcpu=generic | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED
; RUN: llc < %s -mcpu=cortex-a53 | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED
; RUN: llc < %s -mcpu=cortex-a57 | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED
; RUN: llc < %s -mcpu=cyclone | FileCheck %s --check-prefix CHECK-BASIC-PASS-DISABLED
target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
target triple = "aarch64--linux-gnu"
define i64 @f_load_madd_64(i64 %a, i64 %b, i64* nocapture readonly %c) #0 {
entry:
%0 = load i64, i64* %c, align 8
%mul = mul nsw i64 %0, %b
%add = add nsw i64 %mul, %a
ret i64 %add
}
; CHECK-LABEL: f_load_madd_64:
; CHECK: ldr
; CHECK-NEXT: nop
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: f_load_madd_64:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: madd
; CHECK-BASIC-PASS-DISABLED-LABEL: f_load_madd_64:
; CHECK-BASIC-PASS-DISABLED: ldr
; CHECK-BASIC-PASS-DISABLED-NEXT: madd
define i32 @f_load_madd_32(i32 %a, i32 %b, i32* nocapture readonly %c) #0 {
entry:
%0 = load i32, i32* %c, align 4
%mul = mul nsw i32 %0, %b
%add = add nsw i32 %mul, %a
ret i32 %add
}
; CHECK-LABEL: f_load_madd_32:
; CHECK: ldr
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: f_load_madd_32:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: madd
define i64 @f_load_msub_64(i64 %a, i64 %b, i64* nocapture readonly %c) #0 {
entry:
%0 = load i64, i64* %c, align 8
%mul = mul nsw i64 %0, %b
%sub = sub nsw i64 %a, %mul
ret i64 %sub
}
; CHECK-LABEL: f_load_msub_64:
; CHECK: ldr
; CHECK-NEXT: nop
; CHECK-NEXT: msub
; CHECK-NOWORKAROUND-LABEL: f_load_msub_64:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: msub
define i32 @f_load_msub_32(i32 %a, i32 %b, i32* nocapture readonly %c) #0 {
entry:
%0 = load i32, i32* %c, align 4
%mul = mul nsw i32 %0, %b
%sub = sub nsw i32 %a, %mul
ret i32 %sub
}
; CHECK-LABEL: f_load_msub_32:
; CHECK: ldr
; CHECK-NEXT: msub
; CHECK-NOWORKAROUND-LABEL: f_load_msub_32:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: msub
define i64 @f_load_mul_64(i64 %a, i64 %b, i64* nocapture readonly %c) #0 {
entry:
%0 = load i64, i64* %c, align 8
%mul = mul nsw i64 %0, %b
ret i64 %mul
}
; CHECK-LABEL: f_load_mul_64:
; CHECK: ldr
; CHECK-NEXT: mul
; CHECK-NOWORKAROUND-LABEL: f_load_mul_64:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: mul
define i32 @f_load_mul_32(i32 %a, i32 %b, i32* nocapture readonly %c) #0 {
entry:
%0 = load i32, i32* %c, align 4
%mul = mul nsw i32 %0, %b
ret i32 %mul
}
; CHECK-LABEL: f_load_mul_32:
; CHECK: ldr
; CHECK-NEXT: mul
; CHECK-NOWORKAROUND-LABEL: f_load_mul_32:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: mul
define i64 @f_load_mneg_64(i64 %a, i64 %b, i64* nocapture readonly %c) #0 {
entry:
%0 = load i64, i64* %c, align 8
%mul = sub i64 0, %b
%sub = mul i64 %0, %mul
ret i64 %sub
}
; CHECK-LABEL: f_load_mneg_64:
; CHECK-NOWORKAROUND-LABEL: f_load_mneg_64:
; FIXME: only add further checks here once LLVM actually produces
; neg instructions
; FIXME-CHECK: ldr
; FIXME-CHECK-NEXT: nop
; FIXME-CHECK-NEXT: mneg
; FIXME-CHECK-NOWORKAROUND: ldr
; FIXME-CHECK-NOWORKAROUND-NEXT: mneg
define i32 @f_load_mneg_32(i32 %a, i32 %b, i32* nocapture readonly %c) #0 {
entry:
%0 = load i32, i32* %c, align 4
%mul = sub i32 0, %b
%sub = mul i32 %0, %mul
ret i32 %sub
}
; CHECK-LABEL: f_load_mneg_32:
; CHECK-NOWORKAROUND-LABEL: f_load_mneg_32:
; FIXME: only add further checks here once LLVM actually produces
; neg instructions
; FIXME-CHECK: ldr
; FIXME-CHECK-NEXT: mneg
; FIXME-CHECK-NOWORKAROUND: ldr
; FIXME-CHECK-NOWORKAROUND-NEXT: mneg
define i64 @f_load_smaddl(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = sext i32 %b to i64
%conv1 = sext i32 %c to i64
%mul = mul nsw i64 %conv1, %conv
%add = add nsw i64 %mul, %a
%0 = load i32, i32* %d, align 4
%conv2 = sext i32 %0 to i64
%add3 = add nsw i64 %add, %conv2
ret i64 %add3
}
; CHECK-LABEL: f_load_smaddl:
; CHECK: ldrsw
; CHECK-NEXT: nop
; CHECK-NEXT: smaddl
; CHECK-NOWORKAROUND-LABEL: f_load_smaddl:
; CHECK-NOWORKAROUND: ldrsw
; CHECK-NOWORKAROUND-NEXT: smaddl
define i64 @f_load_smsubl_64(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = sext i32 %b to i64
%conv1 = sext i32 %c to i64
%mul = mul nsw i64 %conv1, %conv
%sub = sub i64 %a, %mul
%0 = load i32, i32* %d, align 4
%conv2 = sext i32 %0 to i64
%add = add nsw i64 %sub, %conv2
ret i64 %add
}
; CHECK-LABEL: f_load_smsubl_64:
; CHECK: ldrsw
; CHECK-NEXT: nop
; CHECK-NEXT: smsubl
; CHECK-NOWORKAROUND-LABEL: f_load_smsubl_64:
; CHECK-NOWORKAROUND: ldrsw
; CHECK-NOWORKAROUND-NEXT: smsubl
define i64 @f_load_smull(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = sext i32 %b to i64
%conv1 = sext i32 %c to i64
%mul = mul nsw i64 %conv1, %conv
%0 = load i32, i32* %d, align 4
%conv2 = sext i32 %0 to i64
%div = sdiv i64 %mul, %conv2
ret i64 %div
}
; CHECK-LABEL: f_load_smull:
; CHECK: ldrsw
; CHECK-NEXT: smull
; CHECK-NOWORKAROUND-LABEL: f_load_smull:
; CHECK-NOWORKAROUND: ldrsw
; CHECK-NOWORKAROUND-NEXT: smull
define i64 @f_load_smnegl_64(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = sext i32 %b to i64
%conv1 = sext i32 %c to i64
%mul = sub nsw i64 0, %conv
%sub = mul i64 %conv1, %mul
%0 = load i32, i32* %d, align 4
%conv2 = sext i32 %0 to i64
%div = sdiv i64 %sub, %conv2
ret i64 %div
}
; CHECK-LABEL: f_load_smnegl_64:
; CHECK-NOWORKAROUND-LABEL: f_load_smnegl_64:
; FIXME: only add further checks here once LLVM actually produces
; smnegl instructions
define i64 @f_load_umaddl(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = zext i32 %b to i64
%conv1 = zext i32 %c to i64
%mul = mul i64 %conv1, %conv
%add = add i64 %mul, %a
%0 = load i32, i32* %d, align 4
%conv2 = zext i32 %0 to i64
%add3 = add i64 %add, %conv2
ret i64 %add3
}
; CHECK-LABEL: f_load_umaddl:
; CHECK: ldr
; CHECK-NEXT: nop
; CHECK-NEXT: umaddl
; CHECK-NOWORKAROUND-LABEL: f_load_umaddl:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: umaddl
define i64 @f_load_umsubl_64(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = zext i32 %b to i64
%conv1 = zext i32 %c to i64
%mul = mul i64 %conv1, %conv
%sub = sub i64 %a, %mul
%0 = load i32, i32* %d, align 4
%conv2 = zext i32 %0 to i64
%add = add i64 %sub, %conv2
ret i64 %add
}
; CHECK-LABEL: f_load_umsubl_64:
; CHECK: ldr
; CHECK-NEXT: nop
; CHECK-NEXT: umsubl
; CHECK-NOWORKAROUND-LABEL: f_load_umsubl_64:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: umsubl
define i64 @f_load_umull(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = zext i32 %b to i64
%conv1 = zext i32 %c to i64
%mul = mul i64 %conv1, %conv
%0 = load i32, i32* %d, align 4
%conv2 = zext i32 %0 to i64
%div = udiv i64 %mul, %conv2
ret i64 %div
}
; CHECK-LABEL: f_load_umull:
; CHECK: ldr
; CHECK-NEXT: umull
; CHECK-NOWORKAROUND-LABEL: f_load_umull:
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: umull
define i64 @f_load_umnegl_64(i64 %a, i32 %b, i32 %c, i32* nocapture readonly %d) #0 {
entry:
%conv = zext i32 %b to i64
%conv1 = zext i32 %c to i64
%mul = sub nsw i64 0, %conv
%sub = mul i64 %conv1, %mul
%0 = load i32, i32* %d, align 4
%conv2 = zext i32 %0 to i64
%div = udiv i64 %sub, %conv2
ret i64 %div
}
; CHECK-LABEL: f_load_umnegl_64:
; CHECK-NOWORKAROUND-LABEL: f_load_umnegl_64:
; FIXME: only add further checks here once LLVM actually produces
; umnegl instructions
define i64 @f_store_madd_64(i64 %a, i64 %b, i64* nocapture readonly %cp, i64* nocapture %e) #1 {
entry:
%0 = load i64, i64* %cp, align 8
store i64 %a, i64* %e, align 8
%mul = mul nsw i64 %0, %b
%add = add nsw i64 %mul, %a
ret i64 %add
}
; CHECK-LABEL: f_store_madd_64:
; CHECK: str
; CHECK-NEXT: nop
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: f_store_madd_64:
; CHECK-NOWORKAROUND: str
; CHECK-NOWORKAROUND-NEXT: madd
define i32 @f_store_madd_32(i32 %a, i32 %b, i32* nocapture readonly %cp, i32* nocapture %e) #1 {
entry:
%0 = load i32, i32* %cp, align 4
store i32 %a, i32* %e, align 4
%mul = mul nsw i32 %0, %b
%add = add nsw i32 %mul, %a
ret i32 %add
}
; CHECK-LABEL: f_store_madd_32:
; CHECK: str
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: f_store_madd_32:
; CHECK-NOWORKAROUND: str
; CHECK-NOWORKAROUND-NEXT: madd
define i64 @f_store_msub_64(i64 %a, i64 %b, i64* nocapture readonly %cp, i64* nocapture %e) #1 {
entry:
%0 = load i64, i64* %cp, align 8
store i64 %a, i64* %e, align 8
%mul = mul nsw i64 %0, %b
%sub = sub nsw i64 %a, %mul
ret i64 %sub
}
; CHECK-LABEL: f_store_msub_64:
; CHECK: str
; CHECK-NEXT: nop
; CHECK-NEXT: msub
; CHECK-NOWORKAROUND-LABEL: f_store_msub_64:
; CHECK-NOWORKAROUND: str
; CHECK-NOWORKAROUND-NEXT: msub
define i32 @f_store_msub_32(i32 %a, i32 %b, i32* nocapture readonly %cp, i32* nocapture %e) #1 {
entry:
%0 = load i32, i32* %cp, align 4
store i32 %a, i32* %e, align 4
%mul = mul nsw i32 %0, %b
%sub = sub nsw i32 %a, %mul
ret i32 %sub
}
; CHECK-LABEL: f_store_msub_32:
; CHECK: str
; CHECK-NEXT: msub
; CHECK-NOWORKAROUND-LABEL: f_store_msub_32:
; CHECK-NOWORKAROUND: str
; CHECK-NOWORKAROUND-NEXT: msub
define i64 @f_store_mul_64(i64 %a, i64 %b, i64* nocapture readonly %cp, i64* nocapture %e) #1 {
entry:
%0 = load i64, i64* %cp, align 8
store i64 %a, i64* %e, align 8
%mul = mul nsw i64 %0, %b
ret i64 %mul
}
; CHECK-LABEL: f_store_mul_64:
; CHECK: str
; CHECK-NEXT: mul
; CHECK-NOWORKAROUND-LABEL: f_store_mul_64:
; CHECK-NOWORKAROUND: str
; CHECK-NOWORKAROUND-NEXT: mul
define i32 @f_store_mul_32(i32 %a, i32 %b, i32* nocapture readonly %cp, i32* nocapture %e) #1 {
entry:
%0 = load i32, i32* %cp, align 4
store i32 %a, i32* %e, align 4
%mul = mul nsw i32 %0, %b
ret i32 %mul
}
; CHECK-LABEL: f_store_mul_32:
; CHECK: str
; CHECK-NEXT: mul
; CHECK-NOWORKAROUND-LABEL: f_store_mul_32:
; CHECK-NOWORKAROUND: str
; CHECK-NOWORKAROUND-NEXT: mul
define i64 @f_prefetch_madd_64(i64 %a, i64 %b, i64* nocapture readonly %cp, i64* nocapture %e) #1 {
entry:
%0 = load i64, i64* %cp, align 8
%1 = bitcast i64* %e to i8*
tail call void @llvm.prefetch(i8* %1, i32 0, i32 0, i32 1)
%mul = mul nsw i64 %0, %b
%add = add nsw i64 %mul, %a
ret i64 %add
}
; CHECK-LABEL: f_prefetch_madd_64:
; CHECK: prfm
; CHECK-NEXT: nop
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: f_prefetch_madd_64:
; CHECK-NOWORKAROUND: prfm
; CHECK-NOWORKAROUND-NEXT: madd
declare void @llvm.prefetch(i8* nocapture, i32, i32, i32) #2
define i32 @f_prefetch_madd_32(i32 %a, i32 %b, i32* nocapture readonly %cp, i32* nocapture %e) #1 {
entry:
%0 = load i32, i32* %cp, align 4
%1 = bitcast i32* %e to i8*
tail call void @llvm.prefetch(i8* %1, i32 1, i32 0, i32 1)
%mul = mul nsw i32 %0, %b
%add = add nsw i32 %mul, %a
ret i32 %add
}
; CHECK-LABEL: f_prefetch_madd_32:
; CHECK: prfm
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: f_prefetch_madd_32:
; CHECK-NOWORKAROUND: prfm
; CHECK-NOWORKAROUND-NEXT: madd
define i64 @f_prefetch_msub_64(i64 %a, i64 %b, i64* nocapture readonly %cp, i64* nocapture %e) #1 {
entry:
%0 = load i64, i64* %cp, align 8
%1 = bitcast i64* %e to i8*
tail call void @llvm.prefetch(i8* %1, i32 0, i32 1, i32 1)
%mul = mul nsw i64 %0, %b
%sub = sub nsw i64 %a, %mul
ret i64 %sub
}
; CHECK-LABEL: f_prefetch_msub_64:
; CHECK: prfm
; CHECK-NEXT: nop
; CHECK-NEXT: msub
; CHECK-NOWORKAROUND-LABEL: f_prefetch_msub_64:
; CHECK-NOWORKAROUND: prfm
; CHECK-NOWORKAROUND-NEXT: msub
define i32 @f_prefetch_msub_32(i32 %a, i32 %b, i32* nocapture readonly %cp, i32* nocapture %e) #1 {
entry:
%0 = load i32, i32* %cp, align 4
%1 = bitcast i32* %e to i8*
tail call void @llvm.prefetch(i8* %1, i32 1, i32 1, i32 1)
%mul = mul nsw i32 %0, %b
%sub = sub nsw i32 %a, %mul
ret i32 %sub
}
; CHECK-LABEL: f_prefetch_msub_32:
; CHECK: prfm
; CHECK-NEXT: msub
; CHECK-NOWORKAROUND-LABEL: f_prefetch_msub_32:
; CHECK-NOWORKAROUND: prfm
; CHECK-NOWORKAROUND-NEXT: msub
define i64 @f_prefetch_mul_64(i64 %a, i64 %b, i64* nocapture readonly %cp, i64* nocapture %e) #1 {
entry:
%0 = load i64, i64* %cp, align 8
%1 = bitcast i64* %e to i8*
tail call void @llvm.prefetch(i8* %1, i32 0, i32 3, i32 1)
%mul = mul nsw i64 %0, %b
ret i64 %mul
}
; CHECK-LABEL: f_prefetch_mul_64:
; CHECK: prfm
; CHECK-NEXT: mul
; CHECK-NOWORKAROUND-LABEL: f_prefetch_mul_64:
; CHECK-NOWORKAROUND: prfm
; CHECK-NOWORKAROUND-NEXT: mul
define i32 @f_prefetch_mul_32(i32 %a, i32 %b, i32* nocapture readonly %cp, i32* nocapture %e) #1 {
entry:
%0 = load i32, i32* %cp, align 4
%1 = bitcast i32* %e to i8*
tail call void @llvm.prefetch(i8* %1, i32 1, i32 3, i32 1)
%mul = mul nsw i32 %0, %b
ret i32 %mul
}
; CHECK-LABEL: f_prefetch_mul_32:
; CHECK: prfm
; CHECK-NEXT: mul
; CHECK-NOWORKAROUND-LABEL: f_prefetch_mul_32:
; CHECK-NOWORKAROUND: prfm
; CHECK-NOWORKAROUND-NEXT: mul
define i64 @fall_through(i64 %a, i64 %b, i64* nocapture readonly %c) #0 {
entry:
%0 = load i64, i64* %c, align 8
br label %block1
block1:
%mul = mul nsw i64 %0, %b
%add = add nsw i64 %mul, %a
%tmp = ptrtoint i8* blockaddress(@fall_through, %block1) to i64
%ret = add nsw i64 %tmp, %add
ret i64 %ret
}
; CHECK-LABEL: fall_through
; CHECK: ldr
; CHECK-NEXT: nop
; CHECK-NEXT: .Ltmp
; CHECK-NEXT: %bb.
; CHECK-NEXT: madd
; CHECK-NOWORKAROUND-LABEL: fall_through
; CHECK-NOWORKAROUND: ldr
; CHECK-NOWORKAROUND-NEXT: .Ltmp
; CHECK-NOWORKAROUND-NEXT: %bb.
; CHECK-NOWORKAROUND-NEXT: madd
; No checks for this, just check it doesn't crash
define i32 @crash_check(i8** nocapture readnone %data) #0 {
entry:
br label %while.cond
while.cond:
br label %while.cond
}
attributes #0 = { nounwind readonly "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #2 = { nounwind }
; CHECK-LABEL: ... Statistics Collected ...
; CHECK: 11 aarch64-fix-cortex-a53-835769 - Number of Nops added to work around erratum 835769
| LLVM | 3 | arunkumarbhattar/llvm | test/CodeGen/AArch64/aarch64-fix-cortex-a53-835769.ll | [
"Apache-2.0"
] |
[package]
name = "d"
version = "0.1.0"
edition = "2018"
[dependencies]
e = { path = "../../../e" }
f = { path = "f" }
| TOML | 2 | ohno418/rust | src/tools/rustfmt/tests/cargo-fmt/source/workspaces/path-dep-above/ws/a/d/Cargo.toml | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
Forecast valid for 11-Mar-2018 00:00:00
nfreqs,24
ndir,36
nrecs,181
Latitude, -39.9723
Longitude, 173.3090
Depth,102.328500
CCYYMM,DDHHmm,LPoint,WD,WS,ETot,TZ,VMD,ETotSe,TZSe,VMDSe,ETotSw,TZSw,VMDSw,Mo1,Mo2,HSig,DomDr,AngSpr,Tau
201803,'110000,maari_20180311_00z,123,11.64,0.0759,6.54,239.2,0.0287,3.87,221.1,0.0473,10.98,242.5,0.01146,0.00265,1.1023,240,48,0
freq,0.04000,0.04520,0.05110,0.05770,0.06520,0.07370,0.08330,0.09420,0.10640,0.12030,0.13590,0.15360,0.17360,0.19620,0.22170,0.25050,0.28310,0.32000,0.36160,0.40870,0.46180,0.52190,0.58990,0.66660,anspec
5,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
15,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
25,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
35,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,
45,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00002,0.00003,0.00002,0.00003,0.00003,0.00000,0.00000,0.00016,
55,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00003,0.00004,0.00006,0.00006,0.00004,0.00003,0.00003,0.00004,0.00000,0.00033,
65,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00005,0.00009,0.00011,0.00009,0.00008,0.00005,0.00005,0.00004,0.00000,0.00058,
75,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00004,0.00011,0.00020,0.00018,0.00014,0.00009,0.00005,0.00006,0.00004,0.00002,0.00094,
85,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00007,0.00021,0.00035,0.00022,0.00015,0.00009,0.00007,0.00006,0.00004,0.00002,0.00130,
95,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00007,0.00026,0.00039,0.00021,0.00013,0.00010,0.00009,0.00009,0.00004,0.00002,0.00141,
105,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00007,0.00023,0.00039,0.00022,0.00015,0.00012,0.00012,0.00009,0.00004,0.00002,0.00147,
115,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,0.00011,0.00029,0.00040,0.00025,0.00016,0.00011,0.00009,0.00009,0.00004,0.00002,0.00160,
125,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00005,0.00018,0.00039,0.00048,0.00029,0.00018,0.00014,0.00012,0.00009,0.00004,0.00002,0.00198,
135,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00006,0.00021,0.00046,0.00050,0.00029,0.00015,0.00011,0.00012,0.00007,0.00004,0.00002,0.00211,
145,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00002,0.00004,0.00004,0.00002,0.00002,0.00004,0.00017,0.00038,0.00039,0.00023,0.00014,0.00011,0.00009,0.00006,0.00004,0.00002,0.00186,
155,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00002,0.00009,0.00019,0.00021,0.00014,0.00009,0.00006,0.00009,0.00006,0.00004,0.00002,0.00107,
165,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00003,0.00006,0.00009,0.00008,0.00006,0.00006,0.00007,0.00006,0.00004,0.00002,0.00059,
175,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00004,0.00004,0.00004,0.00004,0.00003,0.00003,0.00004,0.00000,0.00029,
185,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00003,0.00004,0.00003,0.00003,0.00001,0.00000,0.00015,
195,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00003,0.00001,0.00000,0.00000,0.00008,
205,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
215,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00005,0.00005,0.00004,0.00003,0.00002,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00022,
225,0.00000,0.00000,0.00000,0.00000,0.00000,0.00014,0.00129,0.00179,0.00122,0.00077,0.00050,0.00026,0.00010,0.00003,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00612,
235,0.00000,0.00000,0.00000,0.00000,0.00006,0.00190,0.00761,0.00588,0.00293,0.00180,0.00130,0.00074,0.00030,0.00008,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.02263,
245,0.00000,0.00000,0.00001,0.00002,0.00021,0.00312,0.00703,0.00372,0.00182,0.00132,0.00108,0.00077,0.00046,0.00020,0.00006,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.01982,
255,0.00000,0.00000,0.00001,0.00003,0.00021,0.00042,0.00030,0.00021,0.00044,0.00058,0.00065,0.00058,0.00042,0.00026,0.00013,0.00003,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00428,
265,0.00000,0.00000,0.00000,0.00003,0.00008,0.00005,0.00002,0.00003,0.00007,0.00014,0.00027,0.00037,0.00035,0.00027,0.00018,0.00008,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00194,
275,0.00000,0.00000,0.00000,0.00001,0.00002,0.00001,0.00000,0.00001,0.00001,0.00002,0.00005,0.00012,0.00016,0.00017,0.00014,0.00009,0.00002,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00082,
285,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00002,0.00003,0.00004,0.00003,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00017,
295,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
305,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
315,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
325,0.00000,0.00000,0.00000,0.00001,0.00002,0.00002,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00008,
335,0.00000,0.00000,0.00000,0.00002,0.00008,0.00014,0.00011,0.00005,0.00003,0.00002,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00045,
345,0.00000,0.00000,0.00000,0.00003,0.00013,0.00037,0.00044,0.00028,0.00023,0.00019,0.00006,0.00002,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00174,
355,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00004,0.00017,0.00030,0.00014,0.00004,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00073,
fSpec,0.00000,0.00001,0.00003,0.00016,0.00082,0.00620,0.01688,0.01210,0.00702,0.00525,0.00417,0.00297,0.00188,0.00131,0.00164,0.00292,0.00364,0.00235,0.00163,0.00122,0.00110,0.00092,0.00051,0.00023,
den,0.00000,0.00142,0.00427,0.02271,0.10218,0.68503,1.64661,1.04779,0.53818,0.35609,0.25016,0.15750,0.08808,0.05465,0.06027,0.09513,0.10465,0.05997,0.03673,0.02444,0.01942,0.01432,0.00705,0.00600,
CCYYMM,DDHHmm,LPoint,WD,WS,ETot,TZ,VMD,ETotSe,TZSe,VMDSe,ETotSw,TZSw,VMDSw,Mo1,Mo2,HSig,DomDr,AngSpr,Tau
201803,'120000,maari_20180312_00z,127,3.22,0.0565,8.22,262.6,0.0148,4.63,241.6,0.0416,11.28,264.5,0.00685,0.00117,0.9505,241,45,24
freq,0.04000,0.04520,0.05110,0.05770,0.06520,0.07370,0.08330,0.09420,0.10640,0.12030,0.13590,0.15360,0.17360,0.19620,0.22170,0.25050,0.28310,0.32000,0.36160,0.40870,0.46180,0.52190,0.58990,0.66660,anspec
5,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
15,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
25,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
35,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
45,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
55,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
65,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
75,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00000,0.00003,
85,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00000,0.00008,
95,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00004,0.00008,0.00007,0.00004,0.00003,0.00002,0.00001,0.00001,0.00000,0.00033,
105,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00010,0.00023,0.00017,0.00009,0.00004,0.00002,0.00002,0.00001,0.00000,0.00071,
115,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00003,0.00010,0.00020,0.00017,0.00010,0.00005,0.00003,0.00002,0.00001,0.00000,0.00071,
125,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00005,0.00009,0.00010,0.00006,0.00004,0.00002,0.00002,0.00001,0.00000,0.00042,
135,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00001,0.00001,0.00000,0.00001,0.00001,0.00002,0.00003,0.00004,0.00003,0.00002,0.00002,0.00002,0.00001,0.00000,0.00027,
145,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00003,0.00003,0.00002,0.00001,0.00001,0.00001,0.00001,0.00001,0.00002,0.00002,0.00002,0.00001,0.00002,0.00001,0.00000,0.00025,
155,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00001,0.00000,0.00010,
165,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00000,0.00004,
175,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00000,0.00003,
185,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00000,0.00002,
195,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
205,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00000,0.00000,0.00002,
215,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00004,0.00009,0.00007,0.00004,0.00003,0.00002,0.00002,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00000,0.00036,
225,0.00000,0.00000,0.00000,0.00000,0.00001,0.00015,0.00073,0.00143,0.00094,0.00048,0.00032,0.00027,0.00019,0.00009,0.00004,0.00002,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00000,0.00475,
235,0.00000,0.00000,0.00000,0.00004,0.00010,0.00067,0.00292,0.00486,0.00270,0.00127,0.00087,0.00071,0.00051,0.00028,0.00013,0.00006,0.00003,0.00002,0.00002,0.00002,0.00002,0.00001,0.00001,0.00000,0.01527,
245,0.00000,0.00000,0.00004,0.00016,0.00017,0.00070,0.00314,0.00440,0.00217,0.00110,0.00082,0.00066,0.00050,0.00033,0.00019,0.00011,0.00006,0.00004,0.00003,0.00002,0.00001,0.00001,0.00001,0.00000,0.01467,
255,0.00000,0.00001,0.00005,0.00011,0.00007,0.00023,0.00079,0.00048,0.00028,0.00039,0.00040,0.00039,0.00036,0.00026,0.00017,0.00012,0.00008,0.00005,0.00003,0.00002,0.00001,0.00001,0.00000,0.00000,0.00429,
265,0.00000,0.00000,0.00001,0.00002,0.00001,0.00004,0.00006,0.00002,0.00003,0.00006,0.00009,0.00014,0.00021,0.00020,0.00015,0.00011,0.00008,0.00005,0.00003,0.00001,0.00001,0.00000,0.00000,0.00000,0.00134,
275,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00000,0.00000,0.00000,0.00001,0.00001,0.00003,0.00007,0.00010,0.00010,0.00009,0.00008,0.00005,0.00003,0.00001,0.00000,0.00000,0.00000,0.00000,0.00063,
285,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00004,0.00005,0.00005,0.00004,0.00003,0.00001,0.00000,0.00000,0.00000,0.00000,0.00026,
295,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00006,
305,0.00000,0.00000,0.00000,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,
315,0.00000,0.00000,0.00002,0.00006,0.00007,0.00003,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00020,
325,0.00000,0.00000,0.00005,0.00021,0.00040,0.00024,0.00005,0.00002,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00099,
335,0.00000,0.00000,0.00006,0.00037,0.00113,0.00104,0.00026,0.00014,0.00009,0.00005,0.00002,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00314,
345,0.00000,0.00000,0.00004,0.00038,0.00189,0.00265,0.00073,0.00041,0.00030,0.00021,0.00011,0.00004,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00677,
355,0.00000,0.00000,0.00000,0.00000,0.00000,0.00004,0.00009,0.00005,0.00004,0.00007,0.00009,0.00005,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00044,
fSpec,0.00000,0.00002,0.00027,0.00137,0.00387,0.00581,0.00882,0.01192,0.00666,0.00375,0.00280,0.00236,0.00190,0.00132,0.00096,0.00089,0.00104,0.00085,0.00056,0.00038,0.00026,0.00021,0.00016,0.00005,
den,0.00043,0.00361,0.04393,0.19478,0.48333,0.64157,0.86076,1.03202,0.51059,0.25415,0.16841,0.12503,0.08939,0.05495,0.03530,0.02888,0.02994,0.02173,0.01272,0.00757,0.00468,0.00332,0.00221,0.00128,
CCYYMM,DDHHmm,LPoint,WD,WS,ETot,TZ,VMD,ETotSe,TZSe,VMDSe,ETotSw,TZSw,VMDSw,Mo1,Mo2,HSig,DomDr,AngSpr,Tau
201803,'130000,maari_20180313_00z,275,22.41,0.3051,5.60,251.0,0.2324,4.87,255.7,0.0727,10.71,243.3,0.05421,0.01192,2.2096,252,27,48
freq,0.04000,0.04520,0.05110,0.05770,0.06520,0.07370,0.08330,0.09420,0.10640,0.12030,0.13590,0.15360,0.17360,0.19620,0.22170,0.25050,0.28310,0.32000,0.36160,0.40870,0.46180,0.52190,0.58990,0.66660,anspec
5,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
15,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
25,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
35,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
45,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
55,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
65,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
75,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
85,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
95,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
105,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
115,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
125,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
135,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,
145,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00004,
155,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,
165,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00002,0.00002,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00012,
175,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00005,0.00008,0.00007,0.00005,0.00003,0.00003,0.00002,0.00001,0.00002,0.00000,0.00039,
185,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00003,0.00009,0.00017,0.00019,0.00017,0.00013,0.00011,0.00007,0.00007,0.00004,0.00003,0.00001,0.00115,
195,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00006,0.00009,0.00010,0.00013,0.00024,0.00030,0.00028,0.00027,0.00023,0.00016,0.00012,0.00009,0.00006,0.00004,0.00001,0.00220,
205,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00007,0.00025,0.00045,0.00050,0.00053,0.00057,0.00056,0.00043,0.00048,0.00037,0.00025,0.00016,0.00011,0.00008,0.00005,0.00002,0.00486,
215,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00003,0.00006,0.00020,0.00073,0.00156,0.00195,0.00158,0.00106,0.00088,0.00058,0.00054,0.00055,0.00036,0.00021,0.00014,0.00010,0.00006,0.00002,0.01064,
225,0.00000,0.00000,0.00000,0.00001,0.00011,0.00061,0.00133,0.00176,0.00167,0.00217,0.00376,0.00488,0.00322,0.00160,0.00127,0.00088,0.00071,0.00060,0.00040,0.00028,0.00018,0.00012,0.00007,0.00002,0.02565,
235,0.00000,0.00000,0.00001,0.00016,0.00139,0.00398,0.00605,0.00691,0.00523,0.00431,0.00575,0.00770,0.00520,0.00259,0.00164,0.00116,0.00081,0.00053,0.00042,0.00025,0.00017,0.00012,0.00009,0.00003,0.05451,
245,0.00000,0.00001,0.00010,0.00059,0.00236,0.00418,0.00484,0.00566,0.00389,0.00318,0.00522,0.00940,0.00670,0.00349,0.00185,0.00126,0.00085,0.00065,0.00044,0.00025,0.00016,0.00012,0.00009,0.00003,0.05532,
255,0.00000,0.00004,0.00021,0.00047,0.00075,0.00076,0.00063,0.00130,0.00111,0.00170,0.00455,0.00865,0.00650,0.00381,0.00236,0.00142,0.00098,0.00070,0.00046,0.00024,0.00017,0.00013,0.00009,0.00003,0.03706,
265,0.00000,0.00003,0.00008,0.00010,0.00009,0.00008,0.00008,0.00015,0.00026,0.00109,0.00392,0.00708,0.00577,0.00381,0.00238,0.00146,0.00094,0.00072,0.00047,0.00026,0.00018,0.00014,0.00009,0.00003,0.02920,
275,0.00000,0.00001,0.00002,0.00002,0.00002,0.00002,0.00002,0.00003,0.00017,0.00085,0.00280,0.00540,0.00508,0.00318,0.00202,0.00158,0.00128,0.00065,0.00047,0.00032,0.00021,0.00013,0.00008,0.00003,0.02436,
285,0.00000,0.00000,0.00001,0.00002,0.00004,0.00003,0.00003,0.00003,0.00011,0.00052,0.00159,0.00347,0.00426,0.00301,0.00233,0.00186,0.00139,0.00077,0.00049,0.00028,0.00018,0.00014,0.00010,0.00003,0.02069,
295,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00002,0.00002,0.00006,0.00026,0.00071,0.00165,0.00245,0.00244,0.00189,0.00162,0.00117,0.00089,0.00053,0.00032,0.00021,0.00014,0.00009,0.00003,0.01454,
305,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00003,0.00013,0.00034,0.00062,0.00093,0.00163,0.00146,0.00138,0.00086,0.00077,0.00054,0.00036,0.00023,0.00015,0.00009,0.00003,0.00957,
315,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00002,0.00002,0.00006,0.00013,0.00020,0.00027,0.00060,0.00105,0.00102,0.00088,0.00063,0.00046,0.00030,0.00021,0.00012,0.00008,0.00003,0.00611,
325,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00005,0.00004,0.00002,0.00002,0.00004,0.00007,0.00009,0.00017,0.00035,0.00056,0.00056,0.00046,0.00031,0.00023,0.00017,0.00011,0.00007,0.00002,0.00337,
335,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,0.00012,0.00012,0.00003,0.00001,0.00001,0.00002,0.00004,0.00006,0.00009,0.00014,0.00020,0.00024,0.00020,0.00015,0.00010,0.00007,0.00005,0.00001,0.00170,
345,0.00000,0.00000,0.00000,0.00000,0.00001,0.00009,0.00041,0.00040,0.00007,0.00001,0.00000,0.00000,0.00001,0.00002,0.00003,0.00004,0.00004,0.00005,0.00006,0.00006,0.00005,0.00004,0.00003,0.00001,0.00144,
355,0.00000,0.00000,0.00000,0.00000,0.00001,0.00005,0.00014,0.00010,0.00002,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00001,0.00000,0.00042,
fSpec,0.00000,0.00009,0.00042,0.00139,0.00480,0.00989,0.01379,0.01665,0.01300,0.01538,0.03096,0.05172,0.04280,0.02839,0.02074,0.01598,0.01224,0.00901,0.00620,0.00391,0.00265,0.00183,0.00123,0.00038,
den,0.00133,0.01620,0.06769,0.19665,0.59987,1.09229,1.34509,1.44118,0.99584,1.04280,1.85957,2.74397,2.00926,1.18065,0.76389,0.52052,0.35227,0.22947,0.13978,0.07808,0.04690,0.02865,0.01704,0.01003,
CCYYMM,DDHHmm,LPoint,WD,WS,ETot,TZ,VMD,ETotSe,TZSe,VMDSe,ETotSw,TZSw,VMDSw,Mo1,Mo2,HSig,DomDr,AngSpr,Tau
201803,'140000,maari_20180314_00z,236,14.79,0.5032,8.24,247.5,0.1644,4.98,249.9,0.3388,12.01,247.1,0.06093,0.01029,2.8375,244,19,72
freq,0.04000,0.04520,0.05110,0.05770,0.06520,0.07370,0.08330,0.09420,0.10640,0.12030,0.13590,0.15360,0.17360,0.19620,0.22170,0.25050,0.28310,0.32000,0.36160,0.40870,0.46180,0.52190,0.58990,0.66660,anspec
5,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
15,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
25,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
35,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
45,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
55,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
65,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
75,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
85,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
95,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
105,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
115,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
125,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
135,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,
145,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00002,0.00002,0.00002,0.00002,0.00003,0.00000,0.00000,0.00017,
155,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00004,0.00006,0.00007,0.00006,0.00004,0.00005,0.00006,0.00003,0.00002,0.00047,
165,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00004,0.00007,0.00012,0.00015,0.00012,0.00010,0.00009,0.00010,0.00006,0.00003,0.00002,0.00092,
175,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00005,0.00013,0.00021,0.00027,0.00027,0.00021,0.00016,0.00011,0.00012,0.00008,0.00006,0.00002,0.00169,
185,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00005,0.00016,0.00037,0.00051,0.00047,0.00035,0.00027,0.00025,0.00018,0.00012,0.00011,0.00006,0.00002,0.00293,
195,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00004,0.00012,0.00037,0.00067,0.00075,0.00072,0.00044,0.00036,0.00031,0.00020,0.00015,0.00008,0.00006,0.00002,0.00432,
205,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00003,0.00005,0.00008,0.00015,0.00036,0.00075,0.00090,0.00084,0.00095,0.00053,0.00039,0.00033,0.00022,0.00015,0.00011,0.00006,0.00002,0.00596,
215,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00006,0.00020,0.00041,0.00062,0.00082,0.00112,0.00136,0.00119,0.00110,0.00114,0.00062,0.00043,0.00041,0.00024,0.00017,0.00011,0.00006,0.00002,0.01010,
225,0.00000,0.00000,0.00000,0.00001,0.00018,0.00136,0.00228,0.00298,0.00347,0.00351,0.00296,0.00257,0.00217,0.00161,0.00140,0.00110,0.00076,0.00057,0.00037,0.00026,0.00017,0.00011,0.00006,0.00002,0.02793,
235,0.00000,0.00000,0.00003,0.00093,0.00786,0.01961,0.01643,0.01284,0.01153,0.01012,0.00662,0.00430,0.00291,0.00194,0.00148,0.00099,0.00067,0.00055,0.00037,0.00026,0.00017,0.00011,0.00006,0.00002,0.09983,
245,0.00000,0.00002,0.00073,0.00829,0.02827,0.03917,0.02210,0.01353,0.01202,0.01149,0.00845,0.00557,0.00332,0.00193,0.00127,0.00087,0.00061,0.00048,0.00033,0.00026,0.00017,0.00011,0.00006,0.00002,0.15909,
255,0.00000,0.00015,0.00274,0.01252,0.01799,0.01454,0.00984,0.00821,0.00821,0.00761,0.00597,0.00438,0.00285,0.00167,0.00116,0.00078,0.00064,0.00043,0.00033,0.00026,0.00017,0.00008,0.00006,0.00002,0.10064,
265,0.00000,0.00020,0.00184,0.00439,0.00332,0.00180,0.00187,0.00296,0.00455,0.00504,0.00417,0.00301,0.00213,0.00141,0.00100,0.00082,0.00050,0.00038,0.00033,0.00024,0.00017,0.00011,0.00006,0.00002,0.04032,
275,0.00000,0.00010,0.00055,0.00084,0.00042,0.00021,0.00027,0.00059,0.00131,0.00257,0.00301,0.00241,0.00178,0.00121,0.00069,0.00058,0.00055,0.00041,0.00027,0.00018,0.00015,0.00011,0.00006,0.00002,0.01825,
285,0.00000,0.00003,0.00011,0.00013,0.00005,0.00004,0.00007,0.00015,0.00034,0.00088,0.00180,0.00190,0.00156,0.00114,0.00069,0.00048,0.00058,0.00039,0.00019,0.00015,0.00015,0.00008,0.00006,0.00002,0.01099,
295,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00002,0.00006,0.00012,0.00030,0.00094,0.00137,0.00117,0.00094,0.00064,0.00050,0.00055,0.00034,0.00019,0.00011,0.00010,0.00006,0.00006,0.00002,0.00753,
305,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00004,0.00014,0.00051,0.00100,0.00082,0.00064,0.00046,0.00038,0.00036,0.00021,0.00016,0.00011,0.00010,0.00006,0.00003,0.00002,0.00504,
315,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00008,0.00028,0.00059,0.00052,0.00038,0.00027,0.00023,0.00020,0.00010,0.00010,0.00011,0.00007,0.00003,0.00003,0.00002,0.00302,
325,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00004,0.00012,0.00024,0.00023,0.00017,0.00013,0.00012,0.00011,0.00007,0.00006,0.00007,0.00005,0.00003,0.00003,0.00000,0.00148,
335,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00003,0.00004,0.00005,0.00008,0.00007,0.00005,0.00005,0.00004,0.00005,0.00003,0.00002,0.00002,0.00002,0.00000,0.00000,0.00000,0.00059,
345,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00003,0.00013,0.00012,0.00004,0.00002,0.00002,0.00001,0.00001,0.00001,0.00002,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00045,
355,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00007,0.00006,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00020,
fSpec,0.00001,0.00051,0.00602,0.02712,0.05814,0.07676,0.05301,0.04165,0.04232,0.04273,0.03594,0.02910,0.02230,0.01641,0.01278,0.01063,0.00802,0.00583,0.00434,0.00313,0.00240,0.00154,0.00098,0.00028,
den,0.00525,0.09136,0.96252,3.84701,7.26697,8.48170,5.17189,3.60616,3.24292,2.89717,2.15845,1.54388,1.04688,0.68233,0.47077,0.34619,0.23079,0.14862,0.09791,0.06251,0.04240,0.02404,0.01355,0.00743,
CCYYMM,DDHHmm,LPoint,WD,WS,ETot,TZ,VMD,ETotSe,TZSe,VMDSe,ETotSw,TZSw,VMDSw,Mo1,Mo2,HSig,DomDr,AngSpr,Tau
201803,'150000,maari_20180315_00z,312,10.88,0.2551,8.77,246.8,0.0612,4.81,254.5,0.1940,11.77,245.6,0.02900,0.00464,2.0204,243,18,96
freq,0.04000,0.04520,0.05110,0.05770,0.06520,0.07370,0.08330,0.09420,0.10640,0.12030,0.13590,0.15360,0.17360,0.19620,0.22170,0.25050,0.28310,0.32000,0.36160,0.40870,0.46180,0.52190,0.58990,0.66660,anspec
5,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,0.00001,0.00003,
15,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
25,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
35,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
45,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
55,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
65,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
75,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
85,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
95,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
105,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
115,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
125,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
135,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,
145,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00002,
155,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
165,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,
175,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00003,
185,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00003,0.00002,0.00001,0.00001,0.00000,0.00000,0.00000,0.00000,0.00010,
195,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00005,0.00004,0.00002,0.00001,0.00002,0.00002,0.00000,0.00000,0.00020,
205,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00002,0.00004,0.00007,0.00008,0.00007,0.00005,0.00003,0.00002,0.00002,0.00000,0.00000,0.00042,
215,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00004,0.00008,0.00011,0.00013,0.00012,0.00011,0.00010,0.00011,0.00013,0.00015,0.00015,0.00012,0.00007,0.00004,0.00003,0.00002,0.00002,0.00000,0.00153,
225,0.00000,0.00000,0.00000,0.00001,0.00011,0.00091,0.00222,0.00244,0.00195,0.00144,0.00097,0.00066,0.00049,0.00038,0.00032,0.00026,0.00021,0.00015,0.00008,0.00004,0.00003,0.00002,0.00002,0.00001,0.01272,
235,0.00000,0.00000,0.00002,0.00041,0.00360,0.01254,0.01555,0.01235,0.00797,0.00500,0.00292,0.00168,0.00104,0.00069,0.00048,0.00034,0.00023,0.00016,0.00008,0.00004,0.00005,0.00003,0.00002,0.00001,0.06521,
245,0.00000,0.00001,0.00020,0.00265,0.01121,0.02411,0.01997,0.01149,0.00709,0.00498,0.00341,0.00217,0.00136,0.00085,0.00053,0.00034,0.00022,0.00016,0.00010,0.00005,0.00005,0.00003,0.00002,0.00001,0.09101,
255,0.00000,0.00003,0.00049,0.00344,0.00535,0.00624,0.00653,0.00506,0.00410,0.00311,0.00233,0.00172,0.00124,0.00085,0.00053,0.00033,0.00022,0.00017,0.00010,0.00005,0.00006,0.00005,0.00002,0.00001,0.04206,
265,0.00000,0.00003,0.00031,0.00115,0.00090,0.00063,0.00098,0.00147,0.00199,0.00198,0.00174,0.00137,0.00103,0.00076,0.00053,0.00035,0.00024,0.00019,0.00011,0.00008,0.00005,0.00005,0.00004,0.00001,0.01598,
275,0.00000,0.00001,0.00011,0.00026,0.00018,0.00010,0.00008,0.00022,0.00059,0.00086,0.00112,0.00113,0.00095,0.00072,0.00052,0.00036,0.00027,0.00021,0.00018,0.00012,0.00008,0.00007,0.00004,0.00001,0.00819,
285,0.00000,0.00000,0.00003,0.00005,0.00003,0.00001,0.00002,0.00004,0.00007,0.00012,0.00026,0.00055,0.00069,0.00063,0.00050,0.00037,0.00028,0.00022,0.00021,0.00012,0.00008,0.00007,0.00006,0.00001,0.00444,
295,0.00000,0.00000,0.00001,0.00001,0.00000,0.00000,0.00000,0.00001,0.00001,0.00002,0.00005,0.00015,0.00036,0.00040,0.00039,0.00032,0.00026,0.00024,0.00024,0.00016,0.00011,0.00009,0.00006,0.00001,0.00290,
305,0.00000,0.00000,0.00004,0.00007,0.00003,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00007,0.00023,0.00029,0.00026,0.00023,0.00021,0.00022,0.00024,0.00016,0.00012,0.00010,0.00006,0.00002,0.00237,
315,0.00000,0.00001,0.00012,0.00032,0.00017,0.00001,0.00000,0.00000,0.00000,0.00000,0.00001,0.00003,0.00013,0.00024,0.00019,0.00017,0.00015,0.00019,0.00021,0.00015,0.00014,0.00009,0.00006,0.00002,0.00241,
325,0.00000,0.00000,0.00011,0.00052,0.00045,0.00005,0.00000,0.00001,0.00000,0.00000,0.00000,0.00002,0.00006,0.00014,0.00013,0.00012,0.00011,0.00014,0.00017,0.00013,0.00011,0.00009,0.00006,0.00002,0.00244,
335,0.00000,0.00000,0.00003,0.00021,0.00029,0.00004,0.00001,0.00001,0.00000,0.00001,0.00001,0.00001,0.00003,0.00005,0.00005,0.00005,0.00006,0.00007,0.00011,0.00012,0.00009,0.00007,0.00004,0.00002,0.00137,
345,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00002,0.00001,0.00004,0.00007,0.00003,0.00001,0.00001,0.00001,0.00001,0.00001,0.00002,0.00004,0.00005,0.00006,0.00005,0.00004,0.00001,0.00053,
355,0.00000,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00001,0.00004,0.00006,0.00003,0.00001,0.00000,0.00000,0.00000,0.00000,0.00001,0.00001,0.00001,0.00003,0.00003,0.00002,0.00001,0.00030,
fSpec,0.00001,0.00010,0.00146,0.00912,0.02233,0.04467,0.04543,0.03320,0.02392,0.01775,0.01311,0.00972,0.00773,0.00615,0.00463,0.00352,0.00280,0.00242,0.00203,0.00140,0.00110,0.00090,0.00058,0.00020,
den,0.00323,0.01722,0.23410,1.29321,2.79064,4.93603,4.43204,2.87487,1.83325,1.20333,0.78760,0.51583,0.36272,0.25563,0.17060,0.11463,0.08046,0.06162,0.04574,0.02798,0.01937,0.01399,0.00807,0.00511,
| Octave | 2 | jorgeperezg/wavespectra | tests/sample_files/octopusfile.oct | [
"MIT"
] |
package unit.issues;
class Issue3950 extends Test {
function test() {
var s = cast ("foo" : String);
eq("foo", s);
}
} | Haxe | 3 | jonasmalacofilho/haxe | tests/unit/src/unit/issues/Issue3950.hx | [
"MIT"
] |
_wav "oneart.wav" loadfile
_wav tbldur inv 0 phasor
1 0 0 _wav tabread
512 lpc
| SourcePawn | 1 | aleatoricforest/Sporth | examples/lpc.sp | [
"MIT"
] |
---
title: "Authoring Data Sources"
author: "Sam Borgeson"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Authoring Data Sources}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
#Implementing your own data source
In VISDOM, a data source is an adapter between your customer and meter data and the internal data formats used by VISDOM functions. To use VISDOM with your own data, you will need to author a DataSource object that maps between the formatting of your data and the data structures used by VISDOM by implementing all the relevant functions stubbed out by `DataSource()` in `util-dataSource.R`. This is the key step and main prerequisite for using VISDOM. You will typically need to set up data access (i.e. to a SQL database if applicable - see `util-dbUtil.R` - or figure out how you will be loading your data from disk or elsewhere), and write the code to perform the queries or other data access steps as appropriate to load, format, and return your data in the VISDOM standard format expected to come out of a data source. You can see the DataSource implemented for testing purposes in the file `testDataSource.R` in the R directory of the package.
Setting the global variable `DATA_SOURCE = YourDataSource()` configures your data source for use by VISDOM (i.e. assign it to the global variable DATA_SOURCE).
See the entry for the data parameter in the help for MeterDataClass:
```{r eval=F}
library(visdom)
?MeterDataClass
```
The MeterDataClass object also does the weather data alignment. It matches and interpolates available weather data (from DATA_SOURCE$getWeatherData() ) to the dates associated with the meter data from getAllData.
##Data formats
```{r setup}
library(visdom)
DATA_SOURCE = TestData(100)
```
1. Meter data for a single customer. Note that id (i.e. the VISDOM internal identifier for the meter), geocode, and dates (of type Date - without time) are required, as are 24 hourly or 96 15 minute meter observations per day. customerID (i.e. the owner of the meter) and other fields can be added, but are not required.
```{r customer_data_sample}
custdata = DATA_SOURCE$getMeterData(id=1)
head(custdata,2)
dim(custdata)
```
2. Meter data from multiple customers.
```{r meter_data_sample}
# this is all data for a given geocode (i.e. zip code)
geosample = DATA_SOURCE$getAllData( geocode='94305' )
head(geosample,2)
dim(geosample)
unique(geosample$id)
```
3. Weather data: dates (required of type POSIXct, with time at whatever intervals observations are available in, ideally with hourly or less intervals), temperaturef (required), pressure, hourlyprecip, dewpoint.
```{r weather_attributes}
weather = DATA_SOURCE$getWeatherData(geocode='94305')
head(weather,2)
dim(weather)
```
4. Misc capabilities
```{r geo_attributes}
DATA_SOURCE$getGeoForId('meter_1')
class(DATA_SOURCE$getGeoForId('meter_1'))
```
```{r ids_attributes}
length(DATA_SOURCE$getIds()) # all the meter ids tracked by the data source
class(DATA_SOURCE$getIds())
head(DATA_SOURCE$getIds())
```
##Testing your data source
You can call `DATA_SOURCE$getMeterDataClass(id=123)` on your DataSource, replacing 123 with an appropriate id from your data set (i.e. using the provided default implementation of `getMeterDataClass()` and it will hit your data source for all relevant data and instantiate a MeterDataClass object with associated weather data and WeatherData class. Until that call succeeds, you will be getting errors that related to deficiencies in your DataSource, so it is a good guide to what else you need to implement.
You can also exercise your data source with the function `sanityCheckDataSource()`
```{r sanityCheckDataSource, fig.width=6, fig.height=6}
# runs a standard set of data checks
# with chatty output
sanityCheckDataSource(DATA_SOURCE)
```
Finally, you can probe specific data source functions with test code like this:
```{r exampleTestCode, eval=F}
library(visdom)
DATA_SOURCE = YourDataSource()
# if your data source in configured to access a database
DATA_SOURCE$run.query('select count(*) from meter_15min_user')
DATA_SOURCE$run.query('select distinct zip5 from weather')
# most important functions:
# -------------------------
# primary geographic codes associated with meters,
# typically a list of zip codes or census blocks
geos = DATA_SOURCE$getGeocodes() # all geographic regions
ids = DATA_SOURCE$getIds() # all known ids
DATA_SOURCE$getIds(geos[1]) # all ids from the first geocoded location
DATA_SOURCE$getAllData(geos[1]) # all meter data from the first geocoded region
DATA_SOURCE$getGeoForId(ids[1]) # get the geo code for a specific meterId
DATA_SOURCE$getMeterData(ids[1]) # returns meter data for a specific meterId
md = DATA_SOURCE$getMeterDataClass(ids[1]) # returns a MeterDAtaClass object, with weather data, etc.
DATA_SOURCE$getWeatherData(geos[1]) # data frame of tabular weather data for a geo location
# these use DATA_SOURCE internally
w = WeatherClass(geos[1],doMeans=F,useCache=F,doSG=F)
md = MeterDataClass(ids[1],useCache=F)
plot(md)
# functions of secondary importance (you will likely know if you need these)
# ---------------------------------
DATA_SOURCE$getGeoCounts()
# these can include census statistics and other suppliments to customer meter data
DATA_SOURCE$getGeoMetaData(geos[1])
# gas data is optional
DATA_SOURCE$getAllGasData()
DATA_SOURCE$getGasMeterData(geo=geos[1])
DATA_SOURCE$getGasMeterData(id=ids[1])
```
| RMarkdown | 5 | ConvergenceDA/visdom | vignettes/authoring_data_source.rmd | [
"MIT"
] |
@0xd30600b3651feef7;
using Rime = import "/rime_proto.capnp";
struct RimeMessage {
commit @0 :Rime.Commit;
context @1 :Rime.Context;
status @2 :Rime.Status;
}
| Cap'n Proto | 2 | mengzhisuoliu/librime | tools/rime_message.capnp | [
"BSD-3-Clause"
] |
[Desktop Entry]
Name=Flutter Folio
Comment=A scrapbooking app that feels great on all your devices
Exec=flutter-folio
Icon=${SNAP}/meta/gui/flutter-folio.png
Terminal=false
Type=Application
Categories=Lifestyle
| desktop | 2 | Irene-wlp123/flutter-folio | snap/gui/flutter-folio.desktop | [
"MIT"
] |
(* Lexical specification for Standard ML. NICK, August 1990. *)
open Tokens
type pos = LexBasics.pos
type arg = LexUtils.LexArgument
type lexresult = (svalue, LexBasics.pos) token
fun eof _ = Tokens.EOF(LexBasics.DUMMY, LexBasics.DUMMY)
val lParen = "(" and rParen = ")"
fun pad str = if size str mod 18 <> 0 then pad(str ^ " ") else str
fun shifting x = () (*BasicIO.print(pad("S." ^ x ^ " "))*)
(* Something which returns a (pos * pos) for a token. This is what ML-Yacc
works with, and we use it in the productions below. *)
fun ofLength(arg, yypos, yytext) =
let
val yypos = yypos - 2
(* If somebody can tell be why the yypos seems to be permanently
two characters ahead of where it should be, I'd be interested... *)
val LexBasics.SOURCE_READER{positionFn, ...} =
LexUtils.sourceReaderOf arg
val lPos = positionFn yypos
val rPos = positionFn(yypos + size yytext)
in
(lPos, rPos)
end
fun token0(tokFn, arg, yypos, yytext) =
tokFn(ofLength(arg, yypos, yytext))
fun token1(tokFn, value, arg, yypos, yytext) =
let
val (l, r) = ofLength(arg, yypos, yytext)
in
tokFn(value, l, r)
end
fun token_id (yytext, arg, yypos) =
token1(LexUtils.identifier, yytext,
arg, yypos, yytext)
fun token_qualid (yytext,arg,yypos) =
token1(if LexUtils.isQualStar yytext
then (shifting "QUAL_STAR";
QUAL_STAR
)
else (shifting "QUAL_ID";
QUAL_ID
),
LexUtils.asQualId yytext,
arg, yypos, yytext
)
fun positionOfStream(arg, yypos) =
let
val LexBasics.SOURCE_READER{positionFn, ...} =
LexUtils.sourceReaderOf arg
in
positionFn yypos
end
fun error(arg, yypos, msg) =
raise LexBasics.LEXICAL_ERROR(positionOfStream(arg, yypos), msg)
(* addAsciiChar can fail, so we need to generate position info for it. *)
fun addAsciiChar(arg, yypos, yytext) =
LexUtils.addAsciiChar (positionOfStream(arg, yypos), yytext) arg
(*addUnicodeChar can fail, so we need to generate position info for it.*)
fun addUnicodeChar (arg, yypos, yytext) =
LexUtils.addUnicodeChar (positionOfStream (arg, yypos), yytext) arg
fun has_quote s =
let fun loop i = ((String.sub(s,i) = #"`") orelse loop (i+1))
handle _ => false
in loop 0
end
fun incr r = r := !r + 1
fun decr r = r := !r - 1
val quotation = Flags.is_on0 "quotation"
%%
%header (functor TopdecLex(structure Tokens: Topdec_TOKENS
structure LexUtils: LEX_UTILS
where type pos = LexBasics.pos
where type SourceReader = LexBasics.SourceReader
sharing type LexUtils.svalue = Tokens.svalue
sharing type LexUtils.token = Tokens.token
)
);
%arg (arg: UserDeclarations.arg);
WhiteSpace = [\ \t]+;
VWhiteSpace = [\ \t\n\r\012]+;
UC = [A-Z];
LC = [a-z];
Letter = {UC} | {LC};
Digit = [0-9];
DecPosInteger = {Digit}+;
DecNegInteger = \126 {DecPosInteger};
HexDigit = [0-9a-fA-F];
HexInteger = (\126)? "0x" {HexDigit}+;
Word = "0w" ("x" {HexDigit}+ | {Digit}+);
DecInteger = {DecPosInteger} | {DecNegInteger};
Exp = [eE]{DecInteger};
Real = ({DecInteger} "." {DecPosInteger} {Exp}?)
| ({DecInteger} {Exp});
NormalId = {Letter} ({Letter} | {Digit} | [_'])*;
NormalIdOrOther = "_IntInf" | "_export" | {NormalId};
TyVar = "'" ({Letter} | {Digit} | [_'])*;
Symbol = [-!%&$#+<=>?@\\~`^|*:/];
SymbolicId = {Symbol}+;
AnyId = {NormalId} | {SymbolicId};
QualifiedId = ({AnyId} ".")+ {AnyId};
SymbolNoQuote = [-!%&$#+<=>?@\\~^|*:/];
SymbolicIdNoQuote = {SymbolNoQuote}+;
AnyIdNoQuote = {NormalId} | {SymbolicIdNoQuote};
QualifiedIdNoQuote = ({AnyIdNoQuote} ".")+ {AnyIdNoQuote};
%reject
%s S C Q AQ;
%%
<INITIAL>{VWhiteSpace} => (continue());
<INITIAL>{NormalIdOrOther} => (token_id(yytext,arg,yypos));
<INITIAL>"..." => (token0(DOTDOTDOT, arg, yypos, yytext));
<INITIAL>"(" => ((if LexUtils.parStackIsEmpty arg then ()
else incr (LexUtils.parStackTop arg));
token0(LPAREN, arg, yypos, yytext)
);
<INITIAL>")" => ((if LexUtils.parStackIsEmpty arg then ()
else let val top = LexUtils.parStackTop arg
in if !top = 1 then (LexUtils.parStackPop arg;
LexUtils.clearString arg;
YYBEGIN Q)
else decr top
end);
token0(RPAREN, arg, yypos, yytext)
);
<INITIAL>"[" => (token0(LBRACKET, arg, yypos, yytext));
<INITIAL>"]" => (token0(RBRACKET, arg, yypos, yytext));
<INITIAL>"{" => (token0(LBRACE, arg, yypos, yytext));
<INITIAL>"}" => (token0(RBRACE, arg, yypos, yytext));
<INITIAL>"," => (token0(COMMA, arg, yypos, yytext));
<INITIAL>";" => (token0(SEMICOLON, arg, yypos, yytext));
<INITIAL>"_" => (token0(UNDERBAR, arg, yypos, yytext));
<INITIAL>{Real} => (shifting "REAL(...)";
token1(REAL, LexUtils.asReal yytext,
arg, yypos, yytext));
<INITIAL>{Digit} => (shifting "DIGIT(...)";
token1(DIGIT, LexUtils.asDigit yytext,
arg, yypos, yytext));
<INITIAL>{DecPosInteger}=> (shifting "DECPOSINTEGER(...)";
token1(DECPOSINTEGER, LexUtils.asInteger yytext,
arg, yypos, yytext));
<INITIAL>{DecNegInteger}=> (shifting "DECNEGINTEGER(...)";
token1(DECNEGINTEGER, LexUtils.asInteger yytext,
arg, yypos, yytext));
<INITIAL>{HexInteger} => (shifting "HEXINTEGER(...)";
token1(HEXINTEGER, LexUtils.asInteger yytext,
arg, yypos, yytext));
<INITIAL>{Word} => (shifting "WORD(...)";
token1(WORD, LexUtils.asWord yytext,
arg, yypos, yytext));
<INITIAL>{TyVar} => (shifting "TYVAR(...)";
token1(TYVAR, yytext, arg, yypos, yytext));
<INITIAL>"\"" => (YYBEGIN S; LexUtils.clearString arg; continue());
<INITIAL>"(*" => (YYBEGIN C; LexUtils.newComment arg; continue());
<INITIAL>{SymbolicId} => (if quotation() andalso has_quote yytext then REJECT()
else token_id(yytext,arg,yypos));
<INITIAL>{QualifiedId} => (if quotation() andalso has_quote yytext then REJECT()
else token_qualid(yytext,arg,yypos));
<INITIAL>{SymbolicIdNoQuote} => (token_id(yytext,arg,yypos));
<INITIAL>{QualifiedIdNoQuote} => (token_qualid(yytext,arg,yypos));
<INITIAL>"`" => (if quotation() then
(YYBEGIN Q; (* a starting quote *)
LexUtils.clearString arg;
token0 (BEGINQ,arg,yypos,yytext))
else (token0(BACKQUOTE, arg, yypos, yytext)));
<Q>"^`" => (LexUtils.addChars "`" arg; continue());
<Q>"^^" => (LexUtils.addChars "^" arg; continue());
<Q>"^" => (YYBEGIN AQ;
token1(OBJL, LexUtils.asString arg,
arg, yypos, yytext)
);
<Q>"`" => ((* a closing quote *)
YYBEGIN INITIAL;
token1(ENDQ, LexUtils.asString arg,
arg, yypos, yytext)
);
<Q>. => (LexUtils.addChars yytext arg; continue());
<Q>\n => (LexUtils.addChars yytext arg; continue());
<AQ>{VWhiteSpace} => (continue());
<AQ>{NormalId} => (YYBEGIN Q; LexUtils.clearString arg;
token1(AQID, yytext, arg, yypos, yytext));
<AQ>"(" => (YYBEGIN INITIAL;
LexUtils.parStackPush (ref 1) arg;
token0(LPAREN, arg, yypos, yytext)
);
<AQ>. => (error(arg, yypos, "bad character after antiquote");
continue());
<S>[^"\\\n]* => (LexUtils.addChars yytext arg; continue());
<S>"\"" => (YYBEGIN INITIAL;
shifting "STRING(...)";
token1(STRING, LexUtils.asString arg,
arg, yypos, yytext)
);
<S>\n => (error(arg, yypos, "unclosed string");
YYBEGIN INITIAL;
shifting "STRING(bad)";
token1(STRING, "", arg, yypos, yytext)
);
<S>\\{VWhiteSpace}\\ => (continue());
<S>\\a => (LexUtils.addChars (str(chr 7)) arg; continue());
<S>\\b => (LexUtils.addChars (str(chr 8)) arg; continue());
<S>\\t => (LexUtils.addChars "\t" arg; continue());
<S>\\n => (LexUtils.addChars "\n" arg; continue());
<S>\\v => (LexUtils.addChars (str(chr 11)) arg; continue());
<S>\\f => (LexUtils.addChars (str(chr 12)) arg; continue());
<S>\\r => (LexUtils.addChars (str(chr 13)) arg; continue());
<S>\\\^[@-_] => (LexUtils.addControlChar yytext arg; continue());
<S>\\[0-9]{3} => (addAsciiChar (arg, yypos, yytext); continue());
<S>\\u{HexDigit}{4} => (addUnicodeChar (arg, yypos, yytext); continue());
<S>\\\" => (LexUtils.addChars "\"" arg; continue());
<S>\\\\ => (LexUtils.addChars "\\" arg; continue());
<S>\\ => (error(arg, yypos, "illegal string escape");
continue()
);
<C>"(*" => (LexUtils.incComment arg; continue());
<C>"*)" => (case LexUtils.decComment arg
of 0 => (YYBEGIN INITIAL; continue())
| _ => continue()
);
<C>. => (continue());
<C>\n => (continue());
. => (error(arg, yypos, "cannot lex \"" ^ yytext ^ "\"");
continue()
);
| Lex | 5 | athas/mlk | src/Parsing/Topdec.lex | [
"MIT"
] |
use @pony_exitcode[None](code: I32)
class C
new create() =>
// This should't be executed
@pony_exitcode(1)
fun @foo() =>
None
actor Main
new create(env: Env) =>
C.foo()
| Pony | 3 | rtpax/ponyc | test/libponyc-run/bare-function-typeref-call-no-constructor-call/main.pony | [
"BSD-2-Clause"
] |
rm -rf y
rm -f src x *.dyn *~ .*~
| Stata | 0 | BlameJohnny/redo | t/105-sympath/clean.do | [
"Apache-2.0"
] |
Rebol [
Title: "AS Function"
Date: 14-Aug-2013
Author: "Christopher Ross-Gill"
File: %as.r3
Version: 0.5.4
Purpose: "Coerce arbitrary data into Rebol values."
Type: module
Name: rgchris.as
Exports: [
amend as
]
]
wrap: func [body [block!]] [
use collect [
parse body [
any [body: set-word! (keep to word! body/1) | skip]
]
] head body
]
amend: wrap [
ascii: charset ["^/^-" #"^(20)" - #"^(7E)"]
digit: charset [#"0" - #"9"]
upper: charset [#"A" - #"Z"]
lower: charset [#"a" - #"z"]
alpha: union upper lower
alphanum: union alpha digit
hex: union digit charset [#"A" - #"F" #"a" - #"f"]
symbol: file*: union alphanum charset "_-"
url-: union alphanum charset "!'*,-._~" ; "!*-._"
url*: union url- charset ":+%&=?"
space: charset " ^-"
ws: charset " ^-^/"
word1: union alpha charset "!&*+-.?_|"
word*: union word1 digit
html*: exclude ascii charset {&<>"}
para*: path*: union alphanum charset "!%'+-._"
extended: charset [#"^(80)" - #"^(FF)"]
chars: complement nochar: charset " ^-^/^@^M"
ascii+: charset [#"^(20)" - #"^(7E)"]
wiki*: complement charset [#"^(00)" - #"^(1F)" {:*.<>} #"{" #"}"]
name: union union lower digit charset "*!',()_-"
wordify-punct: charset "-_()!"
ucs: charset ""
utf-8: use [utf-2 utf-3 utf-4 utf-5 utf-b] [
utf-2: #[bitset! 64#{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////wAAAAA=}]
utf-3: #[bitset! 64#{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//AAA=}]
utf-4: #[bitset! 64#{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/wA=}]
utf-5: #[bitset! 64#{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8=}]
utf-b: #[bitset! 64#{AAAAAAAAAAAAAAAAAAAAAP//////////AAAAAAAAAAA=}]
[utf-2 1 utf-b | utf-3 2 utf-b | utf-4 3 utf-b | utf-5 4 utf-b]
]
get-ucs-code: decode-utf: use [utf-os utf-fc int] [
utf-os: [0 192 224 240 248 252]
utf-fc: [1 64 4096 262144 16777216]
func [char] [
int: 0
char: change char char/1 xor pick utf-os length? char
forskip char 1 [change char char/1 xor 128]
char: head reverse head char
forskip char 1 [int: (to integer! char/1) * (pick utf-fc index? char) + int]
all [int > 127 int <= 65535 int]
]
]
inline: [ascii+ | utf-8]
text-row: [chars any [chars | space]]
text: [ascii | utf-8]
ident: [alpha 0 14 file*]
wordify: [alphanum 0 99 [wordify-punct | alphanum]]
word: [word1 0 25 word*]
number: [some digit]
integer: [opt #"-" number]
wiki: [some [wiki* | utf-8]]
ws*: white-space: [some ws]
amend: func [rule [block!]] [
bind rule 'amend
]
]
as: wrap [
masks: reduce amend [
issue! [some url*]
logic! ["true" | "on" | "yes" | "1"]
word! [word]
url! [ident #":" some [url* | #":" | #"/"]]
email! [some url* #"@" some url*]
path! [word 1 5 [#"/" [word | integer]]]
integer! [integer]
string! [some [some ascii | utf-8]]
'positive [number]
'id [ident]
'key [word 0 6 [#"." word]]
]
load-date: func [date [string!]] [
all [
date: attempt [load date]
date? date
date
]
]
load-rfc3339: func [date [string!]] [
if parse/all date amend [
copy date [
3 5 digit "-" 1 2 digit "-" 1 2 digit
opt [
["T" | " "] 1 2 digit ":" 1 2 digit
opt [":" 1 2 digit opt ["." 1 6 digit]]
opt ["Z" | ["+" | "-"] 1 2 digit ":" 1 2 digit]
]
]
][
replace date "T" "/"
replace date " " "/"
replace date "Z" "+0:00"
load-date date
]
]
load-rfc822: use [day month] [
; http://www.w3.org/Protocols/rfc822/#z28
day: ["Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" | "Sun"]
month: [
"Jan" | "Feb" | "Mar" | "Apr" | "May" | "Jun"
| "Jul" | "Aug" | "Sep" | "Oct" | "Nov" | "Dec"
]
; "Tue, 08 Jan 2013 15:19:11 UTC"
func [date [string!] /local part checked] [
date: collect [
checked: parse/all date amend [
any space
day ", "
copy part 1 2 digit (keep part) ; permissive--spec says 2 digit
" " (keep "-")
copy part month (keep part)
" " (keep "-")
copy part 4 digit (keep part)
" " (keep "/")
copy part [
1 2 digit ":" 1 2 digit opt [":" 2 digit]
] (keep part)
" "
[
"UTC" | "UT" | "GMT" | "Z"
| "EDT" (keep "-4:00")
| ["EST" | "CDT"] (keep "-5:00")
| ["CST" | "MDT"] (keep "-6:00")
| ["MST" | "PDT"] (keep "-7:00")
| "PST" (keep "-8:00")
| part: upper ( ; though not using PARSE/CASE
part: to integer! uppercase first part
case [
part < 74 [keep reduce ["+" part - 64 ":00"]]
part = 74 [keep now/zone] ; J is local time
part < 78 [keep reduce ["+" part - 65 ":00"]]
part > 77 [keep reduce ["-" part - 77 ":00"]]
]
)
| copy part [["+" | "-"] 2 digit ":" 2 digit] (keep part)
| copy part [["+" | "-"] 4 digit] (
insert at part 4 ":"
keep part
)
]
any space
end ; expects date to be the only content in the string
]
]
if checked [load-date rejoin date]
]
]
as: func [
[catch] type [datatype!] value [any-type!]
/where format [none! block! any-word!]
][
case/all [
none? value [return none]
all [string? value any [type <> string! any-word? format]] [value: trim value]
type = logic! [if find ["false" "off" "no" "0" 0 false off no #[false]] value [return false]]
all [string? value type = date!] [
value: any [
load-date value
load-rfc3339 value
load-rfc822 value
]
]
block? format [format: amend bind format 'value]
none? format [format: select masks type]
none? format [if type = type? value [return value]]
any-word? format [format: select masks to word! format]
block? format [
unless parse/all value: form value format [return none]
]
type = path! [return load value]
]
attempt [make type value]
]
]
| Rebol | 5 | rgchris/Scripts | r3-alpha/as.r3 | [
"Apache-2.0"
] |
https://sccode.org/1-4TT
/*
By Schemawound - http://www.schemawound.com/
All code by Jonathan Siemasko
Created for The Haiku Project by Subterranean Tide - http://www.subterraneantide.com/hk07-schemawound.html
Description: Each artist has contributed a three track release in increments of five minutes, seven minutes, and five minutes accompanied by a Haiku poem. Each song represents the line of the poem including title and reflection.
Source Haiku:
Autumn moonlight—
a worm digs silently
into the chestnut.
- Basho Matsuo
*/
s.options.memSize = 8192 * 32;
s.reboot;
//Autumn moonlight-
(
{
var time = 60 * 5;
var line = Line.ar(0, 1, time);
var oscEnv = EnvGen.ar(Env.linen(sustainTime: time - 3, releaseTime: 2));
var sin = SinOsc.ar(LFTri.kr(0.1).range(5000, 6000));
var pulse = Pulse.ar(LFTri.kr([0.9, 0.92], 0, 100, 40), LFTri.kr(1, 0, 0.5, 0.5));
var osc = pulse * sin * oscEnv;
var compressLFO = SinOsc.kr(0.1).abs * SinOsc.kr(0.4).range(2, 20);
var compress = Compander.ar(osc, osc, 0.7, compressLFO);
var delay1 = compress + CombC.ar(compress, 10, LFTri.kr(0.3).range(2, 4), 10) * 0.2;
var osc2 = delay1 * SinOsc.ar(LFTri.kr(0.5).range(300, 500));
var delay2 = osc2 + CombC.ar(osc2, 10, LFTri.kr(0.2).range(2, 4), 10) * 0.2;
var lpf = delay2 + (RLPF.ar(DelayC.ar(delay2, 20, 5, 0.5), 400, 0.5) * SinOsc.ar(LFTri.ar(0.0123).range(200, 300)));
var verb1 = lpf + (GVerb.ar(lpf, LFTri.ar(0.01).range(1, 10)) * LFTri.ar(0.003));
var verb2 = verb1 + (GVerb.ar(verb1) * 0.3);
var compress2 = Compander.ar(verb2, verb2, 0.5, 1, 1/30);
var hpf = HPF.ar(compress2, 30) * 0.1 * EnvGen.ar(Env.linen(0.01, time - 10, 3));
var comb = (hpf * (1 - line)) + CombC.ar(hpf, 10, Line.ar(1, 0.1, time), 10, line);
comb * 3;
}.play;
)
//A worm digs silently
(
{
var time = 60*7;
var hex = {|f| 1 - LFTri.ar(f)};
var line = {|s,e| Line.kr(s,e,time,1,0)};
var hexes = hex.(line.(17,1647)) * hex.(line.(217,17)) * hex.(67) * hex.([55,55.1]) * 0.05;
var verb1 = hexes * SinOsc.ar(300) * SinOsc.ar(0.01);
var verb2 = hexes * SinOsc.ar(SinOsc.ar(0.0334).range(100, 157.7)) * SinOsc.ar(0.008);
var verb3 = hexes * SinOsc.ar(SinOsc.ar(0.0234).range(200, 257.7)) * SinOsc.ar(0.0043);
var verb4 = (hexes * 20 * SinOsc.ar(3257.7)).clip(-1,1) * SinOsc.ar(1257.7) * SinOsc.ar(0.023) / 30;
var combine = verb1 + verb2 + verb3 + CombC.ar(verb4 * SinOsc.ar(Line.ar(300, 10000, 60*7)), 10, 1, 10, 1, verb4);
combine = combine * EnvGen.ar(Env.linen(0.01, time - 15, 13));
combine = combine + DelayC.ar(GVerb.ar(combine, [1.7, 1.8], 10, drylevel: 0), 10, Line.kr(0.01, 1, time), 0.5) * 0.1;
combine = combine + LPF.ar(CombC.ar(combine, 20, Line.kr(1, 0.01, time), 20), LFTri.ar([0.0312, 0.0222]).range(50, 10000)) * 0.1;
combine = Compander.ar(combine, combine, 0.5, 1, 1/20) * 8;
combine = Compander.ar(combine, combine, 0.5, 1, 1/20) / 2.5;
HPF.ar(combine, 55);
}.play
)
//Into the chestnut.
(
{
x = RLPF.ar(SinOsc.ar(SinOsc.ar([0.020, 0.019]).range(3, 10)) * SyncSaw.ar(SinOsc.ar(0.01).range(1, 100), SinOsc.ar(0.017).range(300, 1000)), Line.ar(60, 10000, 60*5));
x = GVerb.ar(x + CombL.ar(x, 10, 0.2, 10));
EnvGen.ar(Env.linen(0.01, 60*5, 20), doneAction:2) * x * 0.03!2
}.play
) | SuperCollider | 4 | drichardson/examples | SuperCollider/Weird.scd | [
"Unlicense"
] |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
module.exports = function stripUnusedImports(pureExternalModules) {
return {
name: 'scripts/rollup/plugins/strip-unused-imports',
renderChunk(code) {
pureExternalModules.forEach(module => {
// Ideally this would use a negative lookbehind: (?<!= *)
// But this isn't supported by the Node <= 8.9.
// So instead we try to handle the most common cases:
// 1. foo,bar=require("bar"),baz
// 2. foo;bar = require('bar');baz
// 3. require('bar');
const regExp = new RegExp(
`([,;]| {2})require\\(["']${module}["']\\)[,;]`,
'g'
);
code = code.replace(regExp, '$1');
});
return {code};
},
};
};
| JavaScript | 4 | vegYY/react | scripts/rollup/plugins/strip-unused-imports.js | [
"MIT"
] |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is a "No Compile Test" suite.
// http://dev.chromium.org/developers/testing/no-compile-tests
#include "base/containers/buffer_iterator.h"
#include <stdint.h>
#include <string>
namespace base {
class Complex {
public:
Complex() : string_("Moo") {}
private:
std::string string_;
};
#if defined(NCTEST_BUFFER_ITERATOR_CREATE_TYPE_UINT16) // [r"fatal error: static_assert failed due to requirement 'std::is_same<unsigned short, char>::value || std::is_same<unsigned short, unsigned char>::value' \"Underlying buffer type must be char-type.\""]
void WontCompile() {
constexpr size_t size = 64;
uint16_t data[size];
BufferIterator<uint16_t> iterator(data, size);
}
#elif defined(NCTEST_BUFFER_ITERATOR_COMPLEX_MUTABLE_OBJECT) // [r"no matching member function for call to 'MutableObject'"]
void WontCompile() {
constexpr size_t size = 64;
uint8_t data[size];
BufferIterator<uint8_t> iterator(data, size);
Complex* c = iterator.MutableObject<Complex>();
}
#elif defined(NCTEST_BUFFER_ITERATOR_COMPLEX_OBJECT) // [r"no matching member function for call to 'Object'"]
void WontCompile() {
constexpr size_t size = 64;
uint8_t data[size];
BufferIterator<uint8_t> iterator(data, size);
const Complex* c = iterator.Object<Complex>();
}
#elif defined(NCTEST_BUFFER_ITERATOR_COMPLEX_MUTABLE_SPAN) // [r"no matching member function for call to 'MutableSpan'"]
void WontCompile() {
constexpr size_t size = 64;
uint8_t data[size];
BufferIterator<uint8_t> iterator(data, size);
base::span<Complex> s = iterator.MutableSpan<Complex>(3);
}
#elif defined(NCTEST_BUFFER_ITERATOR_COMPLEX_SPAN) // [r"no matching member function for call to 'Span'"]
void WontCompile() {
constexpr size_t size = 64;
uint8_t data[size];
BufferIterator<uint8_t> iterator(data, size);
base::span<const Complex> s = iterator.Span<Complex>();
}
#endif
} // namespace base
| nesC | 4 | thorium-cfx/fivem | vendor/chromium/base/containers/buffer_iterator_unittest.nc | [
"MIT"
] |
$! Copyright 2015 Artur Shepilko.
$!
$! Distributed under the Boost Software License, Version 1.0.
$! (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
$!
$ THIS_FACILITY = "BOOSTBUILD"
$
$ verify = f$trnlnm("VERIFY_''THIS_FACILITY'")
$ save_verify = f$verify(verify)
$ save_default = f$env("DEFAULT")
$
$ SAY := WRITE SYS$OUTPUT
$
$ ON WARNING THEN CONTINUE
$ ON ERROR THEN GOTO ERROR
$
$ SAY "I|Bootstrapping the build engine..."
$
$ set def [.src.engine]
$ @build_vms /out=[--]bootstrap.log
$
$ set def 'save_default'
$
$ if f$search("[.src.engine.bin_vms]b2.exe") .eqs. "" then goto ERROR
$ copy [.src.engine.bin_vms]b2.exe []
$ copy [.src.engine.bin_vms]bjam.exe []
$
$ SAY "I|Bootstrapping is done, B2.EXE created."
$ type sys$input
$DECK
To build and install under ROOT: directory, run:
MC []B2 --prefix="/root" install
Set B2 command:
B2 :== $ROOT:[BIN]B2.EXE
$EOD
$ sts = 1
$
$EXIT:
$ set def 'save_default'
$ exit 'sts' + (0 * f$verify(save_verify))
$ERROR:
$ SAY "E|Failed to bootstrap build engine, see BOOTSTRAP.LOG for details."
$ sts = 4
$ goto EXIT
| DIGITAL Command Language | 3 | MaxSac/build | bootstrap_vms.com | [
"BSL-1.0"
] |
fragment Visit on HighlightedVisit
@argumentDefinitions(
count: {type: "Int", defaultValue: 20}
) {
name
}
| GraphQL | 3 | fuelingtheweb/prettier | tests/graphql_bracket_spacing/bracket_spacing.graphql | [
"MIT"
] |
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -17.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -62.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -73.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -19.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -55.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -17.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -53.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -92.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -7.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -18.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 -88.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 -46.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 111.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 101.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 126.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 80.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 131.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 163.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 157.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 154.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 123.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 118.00
| Matlab | 1 | yinrun/LOPDC-Benchmarks | strippacking/matlab/sp-12-47-sqrt.matlab | [
"MIT"
] |
#!/bin/bash
# Disable automatic line ending conversion, which is enabled by default on
# Azure's Windows image. Having the conversion enabled caused regressions both
# in our test suite (it broke miri tests) and in the ecosystem, since we
# started shipping install scripts with CRLF endings instead of the old LF.
#
# Note that we do this a couple times during the build as the PATH and current
# user/directory change, e.g. when mingw is enabled.
set -euo pipefail
IFS=$'\n\t'
git config --replace-all --global core.autocrlf false
| Shell | 4 | Eric-Arellano/rust | src/ci/scripts/disable-git-crlf-conversion.sh | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
local helpers = require("test.unit.helpers")(after_each)
local itp = helpers.gen_itp(it)
local eq = helpers.eq
local ffi = helpers.ffi
local cstr = helpers.cstr
local to_cstr = helpers.to_cstr
local child_call_once = helpers.child_call_once
local rbuffer = helpers.cimport("./test/unit/fixtures/rbuffer.h")
describe('rbuffer functions', function()
local capacity = 16
local rbuf
local function inspect()
return ffi.string(rbuf.start_ptr, capacity)
end
local function write(str)
local buf = to_cstr(str)
return rbuffer.rbuffer_write(rbuf, buf, #str)
end
local function read(len)
local buf = cstr(len)
len = rbuffer.rbuffer_read(rbuf, buf, len)
return ffi.string(buf, len)
end
local function get(idx)
return ffi.string(rbuffer.rbuffer_get(rbuf, idx), 1)
end
before_each(function()
child_call_once(function()
rbuf = ffi.gc(rbuffer.rbuffer_new(capacity), rbuffer.rbuffer_free)
-- fill the internal buffer with the character '0' to simplify inspecting
ffi.C.memset(rbuf.start_ptr, string.byte('0'), capacity)
end)
end)
describe('RBUFFER_UNTIL_FULL', function()
local chunks
local function collect_write_chunks()
rbuffer.ut_rbuffer_each_write_chunk(rbuf, function(wptr, wcnt)
table.insert(chunks, ffi.string(wptr, wcnt))
end)
end
before_each(function()
chunks = {}
end)
describe('with empty buffer in one contiguous chunk', function()
itp('is called once with the empty chunk', function()
collect_write_chunks()
eq({'0000000000000000'}, chunks)
end)
end)
describe('with partially empty buffer in one contiguous chunk', function()
itp('is called once with the empty chunk', function()
write('string')
collect_write_chunks()
eq({'0000000000'}, chunks)
end)
end)
describe('with filled buffer in one contiguous chunk', function()
itp('is not called', function()
write('abcdefghijklmnopq')
collect_write_chunks()
eq({}, chunks)
end)
end)
describe('with buffer partially empty in two contiguous chunks', function()
itp('is called twice with each filled chunk', function()
write('1234567890')
read(8)
collect_write_chunks()
eq({'000000', '12345678'}, chunks)
end)
end)
describe('with buffer empty in two contiguous chunks', function()
itp('is called twice with each filled chunk', function()
write('12345678')
read(8)
collect_write_chunks()
eq({'00000000', '12345678'}, chunks)
end)
end)
describe('with buffer filled in two contiguous chunks', function()
itp('is not called', function()
write('12345678')
read(8)
write('abcdefghijklmnopq')
collect_write_chunks()
eq({}, chunks)
end)
end)
end)
describe('RBUFFER_UNTIL_EMPTY', function()
local chunks
local function collect_read_chunks()
rbuffer.ut_rbuffer_each_read_chunk(rbuf, function(rptr, rcnt)
table.insert(chunks, ffi.string(rptr, rcnt))
end)
end
before_each(function()
chunks = {}
end)
describe('with empty buffer', function()
itp('is not called', function()
collect_read_chunks()
eq({}, chunks)
end)
end)
describe('with partially filled buffer in one contiguous chunk', function()
itp('is called once with the filled chunk', function()
write('string')
collect_read_chunks()
eq({'string'}, chunks)
end)
end)
describe('with filled buffer in one contiguous chunk', function()
itp('is called once with the filled chunk', function()
write('abcdefghijklmnopq')
collect_read_chunks()
eq({'abcdefghijklmnop'}, chunks)
end)
end)
describe('with buffer partially filled in two contiguous chunks', function()
itp('is called twice with each filled chunk', function()
write('1234567890')
read(10)
write('long string')
collect_read_chunks()
eq({'long s', 'tring'}, chunks)
end)
end)
describe('with buffer filled in two contiguous chunks', function()
itp('is called twice with each filled chunk', function()
write('12345678')
read(8)
write('abcdefghijklmnopq')
collect_read_chunks()
eq({'abcdefgh', 'ijklmnop'}, chunks)
end)
end)
end)
describe('RBUFFER_EACH', function()
local chars
local function collect_chars()
rbuffer.ut_rbuffer_each(rbuf, function(c, i)
table.insert(chars, {string.char(c), tonumber(i)})
end)
end
before_each(function()
chars = {}
end)
describe('with empty buffer', function()
itp('is not called', function()
collect_chars()
eq({}, chars)
end)
end)
describe('with buffer filled in two contiguous chunks', function()
itp('collects each character and index', function()
write('1234567890')
read(10)
write('long string')
collect_chars()
eq({{'l', 0}, {'o', 1}, {'n', 2}, {'g', 3}, {' ', 4}, {'s', 5},
{'t', 6}, {'r', 7}, {'i', 8}, {'n', 9}, {'g', 10}}, chars)
end)
end)
end)
describe('RBUFFER_EACH_REVERSE', function()
local chars
local function collect_chars()
rbuffer.ut_rbuffer_each_reverse(rbuf, function(c, i)
table.insert(chars, {string.char(c), tonumber(i)})
end)
end
before_each(function()
chars = {}
end)
describe('with empty buffer', function()
itp('is not called', function()
collect_chars()
eq({}, chars)
end)
end)
describe('with buffer filled in two contiguous chunks', function()
itp('collects each character and index', function()
write('1234567890')
read(10)
write('long string')
collect_chars()
eq({{'g', 10}, {'n', 9}, {'i', 8}, {'r', 7}, {'t', 6}, {'s', 5},
{' ', 4}, {'g', 3}, {'n', 2}, {'o', 1}, {'l', 0}}, chars)
end)
end)
end)
describe('rbuffer_cmp', function()
local function cmp(str)
local rv = rbuffer.rbuffer_cmp(rbuf, to_cstr(str), #str)
if rv == 0 then
return 0
else
return rv / math.abs(rv)
end
end
describe('with buffer filled in two contiguous chunks', function()
itp('compares the common longest sequence', function()
write('1234567890')
read(10)
write('long string')
eq(0, cmp('long string'))
eq(0, cmp('long strin'))
eq(-1, cmp('long striM'))
eq(1, cmp('long strio'))
eq(0, cmp('long'))
eq(-1, cmp('lonG'))
eq(1, cmp('lonh'))
end)
end)
describe('with empty buffer', function()
itp('returns 0 since no characters are compared', function()
eq(0, cmp(''))
end)
end)
end)
describe('rbuffer_write', function()
itp('fills the internal buffer and returns the write count', function()
eq(12, write('short string'))
eq('short string0000', inspect())
end)
itp('wont write beyond capacity', function()
eq(16, write('very very long string'))
eq('very very long s', inspect())
end)
end)
describe('rbuffer_read', function()
itp('reads what was previously written', function()
write('to read')
eq('to read', read(20))
end)
itp('reads nothing if the buffer is empty', function()
eq('', read(20))
write('empty')
eq('empty', read(20))
eq('', read(20))
end)
end)
describe('rbuffer_get', function()
itp('fetch the pointer at offset, wrapping if required', function()
write('1234567890')
read(10)
write('long string')
eq('l', get(0))
eq('o', get(1))
eq('n', get(2))
eq('g', get(3))
eq(' ', get(4))
eq('s', get(5))
eq('t', get(6))
eq('r', get(7))
eq('i', get(8))
eq('n', get(9))
eq('g', get(10))
end)
end)
describe('wrapping behavior', function()
itp('writing/reading wraps across the end of the internal buffer', function()
write('1234567890')
eq('1234', read(4))
eq('5678', read(4))
write('987654321')
eq('3214567890987654', inspect())
eq('90987654321', read(20))
eq('', read(4))
write('abcdefghijklmnopqrs')
eq('nopabcdefghijklm', inspect())
eq('abcdefghijklmnop', read(20))
end)
end)
end)
| Lua | 5 | uga-rosa/neovim | test/unit/rbuffer_spec.lua | [
"Vim"
] |
#tag Class
Protected Class SocketTimer
Inherits Timer
#tag Event
Sub Action()
If Me.Parent = Nil Then
Me.Enabled = False
ElseIf Me.Parent IsA BNETSocket Then
Dim Sock As BNETSocket = BNETSocket(Me.Parent)
Sock.TimerAction(Me)
End If
End Sub
#tag EndEvent
#tag Method, Flags = &h0
Sub Constructor(Parent As TCPSocket, Period As Integer, Mode As Integer, Enabled As Boolean)
Me.Parent = Parent
Me.Period = Period
Me.Mode = Mode
Me.Enabled = Enabled
End Sub
#tag EndMethod
#tag Property, Flags = &h0
Parent As TCPSocket
#tag EndProperty
#tag ViewBehavior
#tag ViewProperty
Name="Index"
Visible=true
Group="ID"
InheritedFrom="Timer"
#tag EndViewProperty
#tag ViewProperty
Name="Left"
Visible=true
Group="Position"
InheritedFrom="Timer"
#tag EndViewProperty
#tag ViewProperty
Name="Mode"
Visible=true
Group="Behavior"
InitialValue="2"
Type="Integer"
EditorType="Enum"
InheritedFrom="Timer"
#tag EnumValues
"0 - Off"
"1 - Single"
"2 - Multiple"
#tag EndEnumValues
#tag EndViewProperty
#tag ViewProperty
Name="Name"
Visible=true
Group="ID"
InheritedFrom="Timer"
#tag EndViewProperty
#tag ViewProperty
Name="Period"
Visible=true
Group="Behavior"
InitialValue="1000"
Type="Integer"
InheritedFrom="Timer"
#tag EndViewProperty
#tag ViewProperty
Name="Super"
Visible=true
Group="ID"
InheritedFrom="Timer"
#tag EndViewProperty
#tag ViewProperty
Name="Top"
Visible=true
Group="Position"
InheritedFrom="Timer"
#tag EndViewProperty
#tag EndViewBehavior
End Class
#tag EndClass
| REALbasic | 4 | carlbennett/BNRBot | src/Classes/SocketTimer.rbbas | [
"MIT"
] |
{
"@context": {
"ex": "http://example.org/vocab#",
"@language": "en",
"de": { "@id": "ex:german", "@language": "de" },
"nolang": { "@id": "ex:nolang", "@language": null }
},
"@id": "http://example.org/test",
"ex:test-default": [
"hello",
1,
true
],
"de": [
"hallo",
2,
true
],
"nolang": [
"no language",
3,
false
]
}
| JSONLD | 2 | fsteeg/json-ld-api | tests/toRdf/0058-in.jsonld | [
"W3C"
] |
Func(a[])
{
#pragma unwritten a
return a[0];
}
main() {
new a[2];
Func(a);
}
| PAWN | 1 | pawn-lang/pawn | source/compiler/tests/gh_373.pwn | [
"Zlib"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime");
var _default = (0, _createSvgIcon.default)([/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M7 20h10v1H7zM7 3h10v1H7z",
opacity: ".3"
}, "0"), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M17 18H7V6h10v1h2V3c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2v1zM7 3h10v1H7V3zm10 18H7v-1h10v1zm3.38-11.38L21 11l.62-1.38L23 9l-1.38-.62L21 7l-.62 1.38L19 9z"
}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m16 8-1.25 2.75L12 12l2.75 1.25L16 16l1.25-2.75L20 12l-2.75-1.25zm5 5-.62 1.38L19 15l1.38.62L21 17l.62-1.38L23 15l-1.38-.62z"
}, "2")], 'AppShortcutTwoTone');
exports.default = _default; | JavaScript | 3 | dany-freeman/material-ui | packages/mui-icons-material/lib/AppShortcutTwoTone.js | [
"MIT"
] |
untyped
global function IsCrawling
global function CodeCallback_RegisterClass_CAI_BaseNPC
global function SetSpawnOption_AISettings
global function SetSpawnOption_Alert
global function SetSpawnOption_NotAlert
global function SetSpawnOption_Ordnance
global function SetSpawnOption_OwnerPlayer
global function SetSpawnOption_Sidearm
global function SetSpawnOption_SquadName
global function SetSpawnOption_Special
global function SetSpawnOption_Melee
global function SetSpawnOption_CoreAbility
global function SetSpawnOption_Antirodeo
global function SetSpawnOption_Titanfall
global function SetSpawnOption_TitanSoulPassive1
global function SetSpawnOption_TitanSoulPassive2
global function SetSpawnOption_TitanSoulPassive3
global function SetSpawnOption_TitanSoulPassive4
global function SetSpawnOption_TitanSoulPassive5
global function SetSpawnOption_TitanSoulPassive6
global function SetSpawnOption_Warpfall
global function SetSpawnOption_Weapon
global function SetSpawnOption_NPCTitan
global function SetSpawnOption_TitanLoadout
function CodeCallback_RegisterClass_CAI_BaseNPC()
{
#document( "SetSpawnOption_AISettings", "Specify AI Setting" )
#document( "SetSpawnOption_Alert", "Enable spawn alerted" )
#document( "SetSpawnOption_NotAlert", "Enable spawn alerted" )
#document( "SetSpawnOption_Ordnance", "Specify spawn ordnance" )
#document( "SetSpawnOption_OwnerPlayer", "This titan will be the auto titan of this player" )
#document( "SetSpawnOption_SquadName", "Specify spawn squadname" )
#document( "SetSpawnOption_Special", "Specify spawn tactical ability" )
#document( "SetSpawnOption_Titanfall", "npc titan will spawn via titanfall" )
#document( "SetSpawnOption_TitanSoulPassive1", "Set this passive on the titan soul" )
#document( "SetSpawnOption_TitanSoulPassive2", "Set this passive on the titan soul" )
#document( "SetSpawnOption_TitanSoulPassive3", "Set this passive on the titan soul" )
#document( "SetSpawnOption_TitanSoulPassive4", "Set this passive on the titan soul" )
#document( "SetSpawnOption_TitanSoulPassive5", "Set this passive on the titan soul" )
#document( "SetSpawnOption_TitanSoulPassive6", "Set this passive on the titan soul" )
#document( "SetSpawnOption_Warpfall", "Titan or super spectre will spawn via warpsfall" )
#document( "SetSpawnOption_Weapon", "Specify spawn weapon and mods" )
#document( "SetSpawnOption_NPCTitan", "Spawn titan of type" )
//printl( "Class Script: CAI_BaseNPC" )
CAI_BaseNPC.ClassName <- "CAI_BaseNPC"
CAI_BaseNPC.supportsXRay <- null
CAI_BaseNPC.mySpawnOptions_aiSettings <- null
CAI_BaseNPC.mySpawnOptions_alert <- null
CAI_BaseNPC.mySpawnOptions_sidearm <- null
CAI_BaseNPC.mySpawnOptions_titanfallSpawn <- null
CAI_BaseNPC.mySpawnOptions_warpfallSpawn <- null
CAI_BaseNPC.mySpawnOptions_routeTD <- null
CAI_BaseNPC.mySpawnOptions_ownerPlayer <- null
CAI_BaseNPC.executedSpawnOptions <- null
function CAI_BaseNPC::HasXRaySupport()
{
return ( this.supportsXRay != null )
}
function CAI_BaseNPC::ForceCombat()
{
this.FireNow( "UpdateEnemyMemory", "!player" )
}
#document( CAI_BaseNPC, "ForceCombat", "Force into combat state by updating NPC's memory of the player." )
function CAI_BaseNPC::InCombat()
{
entity enemy = expect entity( this ).GetEnemy()
if ( !IsValid( enemy ) )
return false
return this.CanSee( enemy )
}
#document( CAI_BaseNPC, "InCombat", "Returns true if NPC is in combat" )
}
function SetSpawnOption_AISettings( entity npc, setting )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.mySpawnOptions_aiSettings = setting
}
function SetSpawnOption_Alert( entity npc )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.mySpawnOptions_alert = true
}
function SetSpawnOption_NotAlert( entity npc )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.mySpawnOptions_alert = false
}
void function SetSpawnOption_Weapon( entity npc, string weapon, array<string> mods = [] )
{
Assert( weapon != "", "Tried to assign no weapon as a spawn weapon" )
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
if ( npc.IsTitan() )
{
npc.ai.titanSpawnLoadout.primary = weapon
npc.ai.titanSpawnLoadout.primaryMods = mods
}
else
{
NPCDefaultWeapon spawnoptionsweapon
spawnoptionsweapon.wep = weapon
spawnoptionsweapon.mods = mods
npc.ai.mySpawnOptions_weapon = spawnoptionsweapon
}
}
void function SetSpawnOption_Sidearm( entity npc, string weapon, array<string> mods = [])
{
Assert( weapon != "", "Tried to assign no weapon as a spawn weapon" )
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
if ( !npc.IsTitan() )
npc.mySpawnOptions_sidearm = { wep = weapon, mods = mods }
}
void function SetSpawnOption_Ordnance( entity npc, string ordnance, array<string> mods = [] )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.ordnance = ordnance
npc.ai.titanSpawnLoadout.ordnanceMods = mods
}
void function SetSpawnOption_Special( entity npc, string special, array<string> mods = [] )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.special = special
npc.ai.titanSpawnLoadout.specialMods = mods
}
void function SetSpawnOption_Antirodeo( entity npc, string antirodeo, array<string> mods = [] )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.antirodeo = antirodeo
npc.ai.titanSpawnLoadout.antirodeoMods = mods
}
void function SetSpawnOption_Melee( entity npc, string melee )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.melee = melee
}
void function SetSpawnOption_CoreAbility( entity npc, string core )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.coreAbility = core
}
function SetSpawnOption_SquadName( entity npc, squadName )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.kv.squadname = squadName
}
function SetSpawnOption_Titanfall( entity npc )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
Assert( npc.IsTitan(), "npc is for titans only" )
npc.mySpawnOptions_titanfallSpawn = true
}
function SetSpawnOption_Warpfall( entity npc )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
Assert( npc.IsTitan() || npc.GetClassName() == "npc_super_spectre", "npc is for titans and superspectres only" )
npc.mySpawnOptions_warpfallSpawn = true
}
function SetSpawnOption_OwnerPlayer( entity npc, entity player )
{
Assert( IsValid( player ) )
Assert( player.IsPlayer() )
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.mySpawnOptions_ownerPlayer = player
}
function SetSpawnOption_TitanSoulPassive1( entity npc, string passive )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.passive1 = passive
}
function SetSpawnOption_TitanSoulPassive2( entity npc, string passive )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.passive2 = passive
}
function SetSpawnOption_TitanSoulPassive3( entity npc, string passive )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.passive3 = passive
}
function SetSpawnOption_TitanSoulPassive4( entity npc, string passive )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.passive4 = passive
}
function SetSpawnOption_TitanSoulPassive5( entity npc, string passive )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.passive5 = passive
}
function SetSpawnOption_TitanSoulPassive6( entity npc, string passive )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout.passive6 = passive
}
function SetSpawnOption_NPCTitan( entity npc, int type )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( npc.IsTitan(), npc + " is not a Titan!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.bossTitanType = type
}
function SetSpawnOption_TitanLoadout( entity npc, TitanLoadoutDef loadout )
{
Assert( IsValid( npc ) && npc.IsNPC(), npc + " is not an npc!" )
Assert( npc.IsTitan(), npc + " is not a Titan!" )
Assert( !npc.executedSpawnOptions, npc + " tried to set spawn options after npc was dispatchspawned." )
npc.ai.titanSpawnLoadout = loadout
}
bool function IsCrawling( entity npc )
{
return npc.ai.crawling
}
| Squirrel | 5 | GeckoEidechse/NorthstarMods | Northstar.CustomServers/mod/scripts/vscripts/class/cai_basenpc.nut | [
"MIT"
] |
#!/bin/sh
# Copyright Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This script generates all keys and certs in the 3level directory.
# There are 3 entities: root CA, intermeidate CA and intermediate CA2. The certificates of the 3 CAs form a certification chain.
# Root CA
#openssl genrsa -out root-key.pem 4096
openssl req -new -key root-key.pem -out root-cert.csr -sha256 <<EOF
US
California
Sunnyvale
Istio
Test
Root CA
test@istio.io
EOF
openssl x509 -req -days 3650 -in root-cert.csr -sha256 -signkey root-key.pem -out root-cert.pem
# Intermediate CA
#openssl genrsa -out int-key.pem 4096
openssl req -new -key int-key.pem -out int-cert.csr -config int-cert.cfg -batch -sha256
openssl x509 -req -days 3650 -in int-cert.csr -sha256 -CA root-cert.pem -CAkey root-key.pem -CAcreateserial -out int-cert.pem -extensions v3_req -extfile int-cert.cfg
# Intermediate CA2
#openssl genrsa -out int2-key.pem 4096
openssl req -new -key int2-key.pem -out int2-cert.csr -config int2-cert.cfg -batch -sha256
openssl x509 -req -days 3650 -in int2-cert.csr -sha256 -CA int-cert.pem -CAkey int-key.pem -CAcreateserial -out int2-cert.pem -extensions v3_req -extfile int2-cert.cfg
cat root-cert.pem > int-cert-chain.pem
cat int-cert.pem >> int-cert-chain.pem
cp int-cert-chain.pem int2-cert-chain.pem
cat int2-cert.pem >> int2-cert-chain.pem
rm ./*csr
rm ./*srl
| Shell | 3 | pbohman/istio | security/pkg/pki/testdata/multilevelpki/certs.sh | [
"Apache-2.0"
] |
# -*- perl -*-
use strict;
use warnings;
use tests::tests;
our ($test);
my (@output) = read_text_file ("$test.output");
common_checks ("run", @output);
@output = get_core_output ("run", @output);
fail "missing PASS in output"
unless grep ($_ eq '(mlfqs-load-1) PASS', @output);
pass;
| ChucK | 4 | nguyenvannam2698/os_pintos_20211 | src/tests/threads/mlfqs-load-1.ck | [
"MIT"
] |
package com.baeldung.rethrow;
import java.util.logging.Level;
import java.util.logging.Logger;
public class RethrowSameExceptionDemo {
private final static Logger LOGGER = Logger.getLogger(RethrowDifferentExceptionDemo.class.getName());
public static void main(String[] args) throws Exception {
String name = null;
try {
// Below line will throw NullPointerException
if (name.equals("Joe")) {
// Do blah blah..
}
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Exception occurred due to invalid name");
throw e;
}
}
}
| Java | 3 | DBatOWL/tutorials | core-java-modules/core-java-exceptions-2/src/main/java/com/baeldung/rethrow/RethrowSameExceptionDemo.java | [
"MIT"
] |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"./pkg1"
)
type message struct { // Presence of this creates a crash
data pkg1.Data
}
func main() {
pkg1.CrashCall()
}
| Go | 2 | Havoc-OS/androidprebuilts_go_linux-x86 | test/fixedbugs/issue5291.dir/prog.go | [
"BSD-3-Clause"
] |
#main
var test_items = [:]
test_items['get_key'] = filter_input(INPUT_GET, 'get_key')
test_items['post_key'] = filter_input(INPUT_POST, 'post_key')
test_items['cookie_key'] = INPUT_COOKIE::filter_input('cookie_key')
test_items['header_key'] = INPUT_SERVER::filter_input('HTTP_HOST')
var items = []
for k, v in test_items {
items[] = <li>${k}: #{v}</li>
}
echo <ul>
${items.join()}
</ul>
| Tea | 3 | lemonworks/tealang.github.io | tests/syntax/web.tea | [
"Apache-2.0"
] |
#%RAML 1.0 ResourceType
description: Entity representing <<resourcePathName|!singularize>>
get:
description: Returns a <<resourcePathName|!singularize>>.
responses:
200:
body:
application/json:
type: <<provider>>.inspect_<<resourcePathName|!singularize>>
404:
body:
application/json: |
{"message": "<<resourcePathName|!singularize>> not found" }
| RAML | 4 | sap-ariba/netplugin | contivmodel/spec/netmaster/schemas/ro-collection-item.raml | [
"Apache-2.0"
] |
// Eric Heep
// April 4th, 2017
// miap-test.ck
// unit tests to help smooth out some kinks
class MIAPTest {
int passedTests, totalTests;
string errorMessages[0];
fun void testHeron() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
// get sides of the triangle
(0.0 + 1.0 + 0.0)/3.0 => float posX;
(0.0 + 0.0 + 1.0)/3.0 => float posY;
m.position(posX, posY);
m.nodeValue(0) => float n1;
m.nodeValue(1) => float n2;
m.nodeValue(2) => float n3;
assertAlmostEqual(n1, n2, n3, "testHeron");
}
fun void testNumNodes() {
MIAP m;
m.addNode(0.0, 0.0);
assertEqual(m.numNodes(), 1, "testNumNodes");
m.addNode(1.0, 0.0);
assertEqual(m.numNodes(), 2, "testNumNodes");
}
fun void testUpdateNode() {
MIAP m;
m.addNode(0.0, 0.0);
m.updateNode(0, 0.0, 1.0);
assertEqual(m.numNodes(), 1, "testUpdateNodes");
assertEqual(m.nodeY(0), 1.0, "testUpdateNodes");
}
fun void testUseUpdateNode() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
m.position(0.25, 0.25);
m.nodeValue(0) => float val1;
m.updateNode(0, 0.1, 0.1);
m.nodeValue(0) => float val2;
assertNotEqual(val1, val2, "testUseUpdateNode");
}
fun void testNumTrisets() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(0, 1, 2);
m.addTriset(1, 2, 3);
assertEqual(m.numTrisets(), 2, "testNumTrisets");
}
fun void testGetActiveTriset() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(0, 1, 2);
m.addTriset(1, 2, 3);
m.position(0.50, 0.25);
assertEqual(m.activeTriset(), 0, "testActiveTriset");
m.position(0.55, 0.75);
assertEqual(m.activeTriset(), 1, "testActiveTriset");
}
fun void testGetActiveNodes() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(0, 1, 2);
m.addTriset(1, 2, 3);
m.position(0.50, 0.75);
assertEqual(m.activeNode(0), 1, "testGetActiveNode");
assertEqual(m.activeNode(1), 2, "testGetActiveNode");
assertEqual(m.activeNode(2), 3, "testGetActiveNode");
}
fun void testGridSize() {
MIAP m;
m.generateGrid(2, 2);
assertEqual(m.numNodes(), 4, "testGridSize");
assertEqual(m.numTrisets(), 2, "testGridSize");
}
fun void testGetNodeX() {
MIAP m;
m.addNode(0.25, 0.75);
assertEqual(m.nodeX(0), 0.25, "testGetNodeX");
}
fun void testGetNodeY() {
MIAP m;
m.addNode(0.25, 0.75);
assertEqual(m.nodeY(0), 0.75, "testGetNodeY");
}
fun void testLinkNodes() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
m.linkNodes(0, 1, 1.0);
m.position(0.0, 0.0);
assertEqual(m.nodeValue(0), m.nodeValue(1), "testLinkNodes");
}
fun void testLinkNodesPercentage() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
m.setLinear();
Math.random2f(0.2, 0.8) => float perc;
m.linkNodes(0, 1, perc);
m.position(0.0, 0.0);
assertAlmostEqual(m.nodeValue(0) * perc, m.nodeValue(1), "testLinkNodesPercentage");
}
fun void testLinkNodesUpdatePercentage() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
m.linkNodes(0, 1, 0.5);
m.setLinear();
Math.random2f(0.2, 0.8) => float perc;
m.linkNodes(0, 1, perc);
m.position(0.0, 0.0);
assertAlmostEqual(m.nodeValue(0) * perc, m.nodeValue(1), "testLinkNodesUpdatePercentage");
}
fun void testSquareRoot() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
m.setLinear();
m.position(0.25, 0.25);
m.nodeValue(0) => float linearValue;
m.setSquareRoot();
m.nodeValue(0) => float squareRootValue;
assertAlmostEqual(Math.sqrt(linearValue), squareRootValue, "testSquareRoot");
}
fun void testConstantPower() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addTriset(0, 1, 2);
m.setLinear();
m.position(0.25, 0.25);
m.nodeValue(0) => float linearValue;
m.setConstantPower();
m.nodeValue(0) => float constantPowerValue;
// cosine power transform
Math.cos((0.5 * linearValue * pi) + 1.5 * pi) => linearValue;
assertAlmostEqual(linearValue, constantPowerValue, "testConstantPower");
}
fun void testSquare() {
MIAP m;
m.addNode(0.0, 0.0); // 0
m.addNode(0.0, 1.0); // 1
m.addNode(1.0, 1.0); // 2
m.addNode(1.0, 0.0); // 3
m.addNode(0.5, 0.5); // 4
m.addTriset(0, 1, 4);
m.addTriset(1, 2, 4);
m.addTriset(2, 3, 4);
m.addTriset(3, 0, 4);
m.setLinear();
m.linkNodes(4, 0, 0.25);
m.linkNodes(4, 1, 0.25);
m.linkNodes(4, 2, 0.25);
m.linkNodes(4, 3, 0.25);
m.position(0.5, 0.5);
m.nodeValue(0) => float v1;
m.nodeValue(1) => float v2;
m.nodeValue(2) => float v3;
m.nodeValue(3) => float v4;
assertEqual(v1 + v2 + v3 + v4, 1.0, "testSquare");
}
fun void testClearNodes() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.clearAll();
assertEqual(m.numNodes(), 0, "testClearNodes");
}
fun void testAddNodeAfterClear() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.clearAll();
m.addNode(1.0, 0.0);
assertEqual(m.numNodes(), 1, "testAddNodeAfterClear");
}
fun void testClearTrisets() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(0, 1, 2);
m.addTriset(1, 2, 3);
m.clearTrisets();
assertEqual(m.numTrisets(), 0, "testClearTrisets");
}
fun void testAddTrisetAfterClear() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(0, 1, 2);
m.clearTrisets();
m.addTriset(1, 2, 3);
assertEqual(m.numTrisets(), 1, "testAddTrisetAfterClear");
}
fun void testUseTrisetAfterClear() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(3, 1, 2);
m.clearTrisets();
m.addTriset(0, 1, 2);
m.addTriset(1, 2, 3);
m.position(0.0, 0.0);
assertEqual(m.nodeValue(0), 1.0, "testUseTrisetAfterClear");
}
fun void testClearNodesAndTrisets() {
MIAP m;
m.addNode(0.0, 0.0);
m.addNode(1.0, 0.0);
m.addNode(0.0, 1.0);
m.addNode(1.0, 1.0);
m.addTriset(0, 1, 2);
m.addTriset(1, 2, 3);
m.clearAll();
assertEqual(m.numNodes(), 0, "testClearNodesAndTrisets");
assertEqual(m.numTrisets(), 0, "testClearNodesAndTrisets");
}
fun string results() {
chout <= IO.newline();
<<< passedTests + "/" + totalTests + " PASSED", "" >>>;
if (errorMessages.size() > 0) {
for (0 => int i; i < errorMessages.size(); i++) {
<<< errorMessages[i], "" >>>;
}
}
}
fun void update(int bool) {
totalTests++;
if (bool) {
passedTests++;
}
}
fun void logError(string error, string fnName) {
errorMessages << fnName + " | " + error;
}
fun void assertAlmostEqual(float a, float b, string fn) {
if (Math.fabs(a - b) <= 0.0001) {
chout <= ".";
update(true);
} else {
chout <= "E";
logError(a + " " + b + " not almost equal", fn);
update(false);
}
chout.flush();
}
fun void assertAlmostEqual(float a, float b, float c, string fn) {
if (Math.fabs(Math.fabs(a - b) - Math.fabs(a - c)) <= 0.0001) {
chout <= ".";
update(true);
} else {
chout <= "E";
logError(a + " " + b + " " + c + " not almost equal", fn);
update(false);
}
chout.flush();
}
fun void assertLess(float a, float b, string fn) {
if (a < b) {
chout <= ".";
update(true);
} else {
chout <= "E";
logError(a + " !< " + b, fn);
update(false);
}
chout.flush();
}
fun void assertEqual(float a, float b, string fn) {
if (a == b) {
chout <= ".";
update(true);
} else {
cherr <= "E";
logError(a + " does not equal " + b, fn);
update(false);
}
chout.flush();
}
fun void assertEqual(int a, int b, string fn) {
if (a == b) {
chout <= ".";
update(true);
} else {
cherr <= "E";
logError(a + " does not equal " + b, fn);
update(false);
}
chout.flush();
}
fun void assertNotEqual(float a, float b, string fn) {
if (a != b) {
chout <= ".";
update(true);
} else {
cherr <= "E";
logError(a + " should not equal " + b, fn);
update(false);
}
chout.flush();
}
fun void assert(int bool, string fn) {
if (bool) {
chout <= ".";
update(true);
} else {
cherr <= "E";
logError("Does not assert true.", fn);
update(false);
}
chout.flush();
}
}
MIAPTest m;
m.testHeron();
m.testNumNodes();
m.testUpdateNode();
m.testUseUpdateNode();
m.testNumTrisets();
m.testGridSize();
m.testGetActiveTriset();
m.testGetActiveNodes();
m.testGetNodeX();
m.testGetNodeY();
m.testLinkNodes();
m.testLinkNodesPercentage();
m.testLinkNodesUpdatePercentage();
m.testSquareRoot();
m.testConstantPower();
m.testSquare();
m.testClearNodes();
m.testAddNodeAfterClear();
m.testClearTrisets();
m.testAddTrisetAfterClear();
m.testUseTrisetAfterClear();
m.testClearNodesAndTrisets();
m.results();
| ChucK | 5 | mariobuoninfante/chugins | MIAP/miap-test.ck | [
"MIT"
] |
dbc_file: lincoln.dbc
protocol_conf: lincoln.yml
car_type: lincoln
sender_list: []
sender: MAB
black_list: []
output_dir: output/
| YAML | 2 | seeclong/apollo | modules/tools/gen_vehicle_protocol/lincoln_conf.yml | [
"Apache-2.0"
] |
"""The Vivotek camera component."""
| Python | 0 | domwillcode/home-assistant | homeassistant/components/vivotek/__init__.py | [
"Apache-2.0"
] |
.class Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityNodeInfoApi24Impl;
.super Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityNodeInfoApi23Impl;
.source "AccessibilityNodeInfoCompat.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "AccessibilityNodeInfoApi24Impl"
.end annotation
# direct methods
.method constructor <init>()V
.locals 0
.prologue
.line 2311
invoke-direct {p0}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityNodeInfoApi23Impl;-><init>()V
return-void
.end method
# virtual methods
.method public getActionSetProgress()Ljava/lang/Object;
.locals 1
.prologue
.line 2314
invoke-static {}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24;->getActionSetProgress()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public getDrawingOrder(Ljava/lang/Object;)I
.locals 1
.param p1, "info" # Ljava/lang/Object;
.prologue
.line 2319
invoke-static {p1}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24;->getDrawingOrder(Ljava/lang/Object;)I
move-result v0
return v0
.end method
.method public isImportantForAccessibility(Ljava/lang/Object;)Z
.locals 1
.param p1, "info" # Ljava/lang/Object;
.prologue
.line 2329
invoke-static {p1}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24;->isImportantForAccessibility(Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public setDrawingOrder(Ljava/lang/Object;I)V
.locals 0
.param p1, "info" # Ljava/lang/Object;
.param p2, "drawingOrderInParent" # I
.prologue
.line 2324
invoke-static {p1, p2}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24;->setDrawingOrder(Ljava/lang/Object;I)V
.line 2325
return-void
.end method
.method public setImportantForAccessibility(Ljava/lang/Object;Z)V
.locals 0
.param p1, "info" # Ljava/lang/Object;
.param p2, "importantForAccessibility" # Z
.prologue
.line 2334
invoke-static {p1, p2}, Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24;->setImportantForAccessibility(Ljava/lang/Object;Z)V
.line 2336
return-void
.end method
| Smali | 3 | jarekankowski/pegasus_spyware | sample3/decompiled_raw/smali/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityNodeInfoApi24Impl.smali | [
"MIT"
] |
<div class="card">
<div class="card-body text-end">
<div class="skeleton-heading"></div>
<div class="skeleton-line"></div>
<div class="skeleton-line"></div>
<div class="skeleton-line"></div>
<div class="skeleton-line"></div>
<div class="skeleton-line"></div>
</div>
</div> | HTML | 2 | muhginanjar/tabler | src/pages/_includes/cards/skeleton/card-5.html | [
"MIT"
] |
CREATE TABLE `tb_ijmcdmzknr` (
`col_pqnfhpfywv` datetime DEFAULT '2019-07-04 00:00:00',
`col_mlpkfxnbfa` blob,
UNIQUE `uk_ctetrugpen` (`col_mlpkfxnbfa`(8)),
UNIQUE KEY `col_mlpkfxnbfa` (`col_mlpkfxnbfa`(23))
) DEFAULT CHARSET=utf8;
RENAME TABLE `tb_ijmcdmzknr` TO `tb_mzqlybwqbo`;
RENAME TABLE `tb_mzqlybwqbo` TO `tb_gnbqbndsaw`;
ALTER TABLE `tb_gnbqbndsaw` ADD (`col_gpjsqkkxse` integer unsigned NULL DEFAULT '1', `col_gmjtupvuvl` text(644744023));
ALTER TABLE `tb_gnbqbndsaw` ADD UNIQUE INDEX `uk_cbwijpiehr` (`col_pqnfhpfywv`,`col_gpjsqkkxse`);
ALTER TABLE `tb_gnbqbndsaw` ADD UNIQUE (`col_mlpkfxnbfa`(18));
ALTER TABLE `tb_gnbqbndsaw` DROP `col_gpjsqkkxse`;
ALTER TABLE `tb_gnbqbndsaw` DROP COLUMN `col_mlpkfxnbfa`, DROP COLUMN `col_gmjtupvuvl`;
ALTER TABLE `tb_gnbqbndsaw` DROP KEY `uk_cbwijpiehr`;
| SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/test_66.sql | [
"Apache-2.0"
] |
module ciena-waveserver-module {
namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-module";
prefix mod;
import ciena-waveserver-typedefs {
prefix cienawstypes;
}
import ciena-waveserver-chassis {
prefix ciena-ws-chassis;
}
import ciena-waveserver-xcvr {
prefix xcvr;
}
organization
"Ciena Corporation";
contact
"Web URL: http://www.ciena.com/
Postal: 7035 Ridge Road
Hanover, Maryland 21076
U.S.A.
Phone: +1 800-921-1144
Fax: +1 410-694-5750";
description
"This module defines Module data for the Waveserver Platform.";
revision 2017-12-12 {
description
"Added 'cmd-4' module type support.
Renamed 'faulted' operational-state to 'fault' and add 'down' state.
Renamed 'motr-8x100' enum to 'motr-100-2'.";
reference "Waveserver Ai user's guide.";
}
revision 2017-09-05 {
description
"Waveserver Platform Data Model
Initial revision.";
reference "Waveserver Ai user's guide.";
}
typedef module-type {
type enumeration {
enum "unknown" {
description
"Unknown module type.";
}
enum "filler" {
description
"Filler card. Operational only, cannot be used for user create.";
}
enum "motr-100-2" {
description
"MOTR service module with 2 WaveLogic Ai line ports and 8 100G capable client ports.";
}
enum "cmd-4" {
description
"CMD-4 passive photonics module.";
}
}
description
"Module type.";
}
typedef module-operational-state {
type enumeration {
enum "unequipped" {
value 0;
description
"Module is not detected.";
}
enum "deprovisioned" {
value 1;
description
"Module is detected but uninitialized.";
}
enum "initializing" {
value 2;
description
"Module initialization started.";
}
enum "up" {
value 3;
description
"Module is up/operational.";
}
enum "fault" {
value 4;
description
"Module is faulted.";
}
enum "shutdown" {
value 5;
description
"Module is shutdown/powered off.";
}
enum "shutting-down" {
value 6;
description
"Module is shutting down.";
}
enum "unsupported" {
value 7;
description
"Module type is not supported.";
}
enum "mismatched" {
value 8;
description
"Detected module type does not match provisioned module type.";
}
enum "down" {
value 9;
description
"Module is down/disabled.";
}
}
description
"Module operational state.";
}
container waveserver-modules {
description
"Waveserver service module configuration data and operational data.";
list modules {
key "module-id";
description
"Module list.";
leaf module-id {
type cienawstypes:name-string;
mandatory true;
description
"Unique access identifier string of the Module, which may just be a slot number (e.g. '1'). Key value for the Module list. Read-only attribute.";
}
container id {
description
"ID information of this Module instance.";
leaf type {
type module-type;
mandatory true;
description
"The service module type. Must be specified on creation, and cannot be modified.";
}
leaf label {
type cienawstypes:description-string;
description
"The user-specified label string for this module.";
}
uses ciena-ws-chassis:device-id-group;
}
container state {
description
"State information of this Module instance.";
leaf admin-state {
type cienawstypes:enabled-disabled-enum;
description
"Whether Admin State is enabled or disabled for this Module.";
}
leaf operational-state {
type module-operational-state;
config false;
description
"Operational state of this Module.";
}
leaf last-restart {
type cienawstypes:string-maxl-32;
config false;
description
"The date and time of last restart in the format of a human readable string. e.g 'Wed Jun 30 21:49:08 2015', or 'N/A' if unavailable.";
}
leaf last-restart-reason {
type cienawstypes:restart-reason;
config false;
description
"Cause for the last restart.";
}
leaf uptime {
type cienawstypes:string-maxl-32;
config false;
description
"The time since last restart of the module, in the format of a human readable string. e.g '041d 11h 29m 53s', or 'N/A' if unavailable.";
}
}
container subcomponents {
config false;
description
"Module subcomponent (XCVR) references.";
leaf-list xcvrs {
type leafref {
path "/xcvr:waveserver-xcvrs/xcvr:xcvrs/xcvr:xcvr-id";
}
description
"Module subcomponent (XCVR) reference list.";
}
}
}
}
rpc waveserver-module-restart {
description
"Initiates a module warm restart.";
input {
leaf module-id {
type cienawstypes:name-string;
mandatory true;
description
"Unique Module ID string.";
}
}
}
rpc waveserver-module-restart-cold {
description
"Initiates a module cold restart.";
input {
leaf module-id {
type cienawstypes:name-string;
mandatory true;
description
"Unique Module ID string.";
}
}
}
}
| YANG | 5 | meodaiduoi/onos | models/ciena/waveserverai/src/main/yang/ciena-waveserver-module@2017-12-12.yang | [
"Apache-2.0"
] |
use Datascope;
use Getopt::Std;
#
# here comes the main program
#
if ( !getopts('tvhs:') || @ARGV != 2 ) {
die ("USAGE: $0 [-v] [-t] [-h] [-s subset_expression] database file \n");
}
$database = $ARGV[0];
$file = $ARGV[1];
($dir, $x, $y) = parsepath($file);
if (!-d $dir) {
$mkdir = "mkdir -p $dir" ;
&run ($mkdir) ;
}
elog_init ($0, @ARGV) ;
if (-e $file) {
elog_die("File already exists! Won't overwrite\n") ;
exit(1);
}
@db = dbopen ( $database, "r") ;
@deploy = dblookup(@db, "", "deployment" , "" , "");
elog_notify(0, "Opened database: $database \n") if ($opt_v) ;
if (! dbquery ( @deploy, "dbTABLE_PRESENT" )) {
elog_die("No deployment table for '$database' \n");
exit(1);
}
if ($opt_s) {
elog_notify("No. records before subset = ", dbquery(@deploy, "dbRECORD_COUNT") , "\n") if ($opt_v);
$sub = "$opt_s" ;
elog_notify("Subset is: $opt_s \n") if ($opt_v);
@deploy = dbsubset(@deploy,$sub);
}
$nrecs = dbquery(@deploy, "dbRECORD_COUNT") ;
if (!$nrecs) {
elog_die("No records after subset.\n");
}
#
# -t option writes out data in tab separated format
# default is comma separated, csv
#
if ($opt_t) {
elog_notify(0, "Writing out tab separted format to: $file.\n") if ($opt_t && $opt_v);
} else {
elog_notify(0, "Going to write out csv file: $file.\n") if ($opt_v) ;
}
open (FILE, "> $file") || die "Can't open $file for writing: $! \n";
for ($row = 0; $row < $nrecs; $row++ ) {
$deploy[3] = $row ;
($vnet, $snet, $sta, $start, $end, $equipin, $equipout, $cert, $decert, $pdcc, $sdcc) = dbgetv(@deploy, qw (vnet snet sta time endtime equip_install equip_remove cert_time decert_time pdcc sdcc) ) ;
# $start_date = epoch2str ($start, "%Y/%m/%d");
# $start_time = epoch2str ($start, "%T");
# $end_date = epoch2str ($end, "%Y/%m/%d");
# $end_time = epoch2str ($end, "%T");
if ($equipin == -9999999999.99900 ) {
$install_date = "";
} else {
$install_date = epoch2str ($equipin, "%Y/%m/%d");
}
if ($equipout== 9999999999.99900 ) {
$removal_date = "";
} else {
$removal_date = epoch2str ($equipout, "%Y/%m/%d");
}
if ($cert == -9999999999.99900 ) {
$cert_date = "";
} else {
$cert_date = epoch2str ($cert, "%Y/%m/%d");
}
if ($decert == 9999999999.99900 ) {
$decert_date = "";
} else {
$decert_date = epoch2str ($decert, "%Y/%m/%d");
}
if ($start == -9999999999.99900 ) {
$start_date = "";
$start_time = "";
} else {
$start_date = epoch2str ($start, "%Y/%m/%d");
$start_time = epoch2str ($start, "%T");
}
if ($end == 9999999999.99900 ) {
# set to DMC null
$end_date = "2599/12/31";
$end_time = "23:59:59.000";
} else {
$end_date = epoch2str ($end, "%Y/%m/%d");
$end_time = epoch2str ($end, "%T");
}
if ($pdcc =~/^-/) {
$pdcc = "";
}
if ($sdcc =~/^-/) {
$sdcc = "";
}
elog_notify(0, "$vnet\t$snet\t$sta\t$install_date\t$cert_date\t$start_date\t$start_time\t$end_date\t$end_time\t$pdcc\t$sdcc\n") if ($opt_t && $opt_v);
print FILE "$vnet\t$snet\t$sta\t$install_date\t$cert_date\t$start_date\t$start_time\t$end_date\t$end_time\t$pdcc\t$sdcc\n" if $opt_t;
print FILE "vnet\t snet\t sta\t install_date\t cert_date\t start_date\t start_time\t end_date\t end_time\t pdcc\t sdcc\n" if ($opt_h && ($row == 0 || $row == $nrecs-1) && $opt_t);
elog_notify(0, "$vnet,$snet,$sta,$install_date,$cert_date,$start_date,$start_time,$end_date,$end_time,$pdcc,$sdcc\n") if (!$opt_t && $opt_v);
print FILE "$vnet,$snet,$sta,$install_date,$cert_date,$start_date,$start_time,$end_date,$end_time,$pdcc,$sdcc\n" if !$opt_t;
print FILE "vnet,snet,sta,install_date,cert_date,start_date,start_time,end_date,end_time,pdcc,sdcc\n" if ($opt_h && ($row == 0 || $row == $nrecs-1) && !$opt_t );
}
close FILE;
dbclose (@db);
sub trim {
# from Perl Cookbook (O'Reilly) recipe 1.14, p.30
my @out = @_ ;
for (@out) {
s/^\s+//;
s/\s+$//;
}
return wantarray ? @out : $out[0];
}
sub run { # run system cmds safely
my ( $cmd ) = @_ ;
system ( $cmd ) ;
if ($?) {
elog_complain(0, "$cmd error $? \n") ;
exit(1);
}
}
| XProc | 5 | jreyes1108/antelope_contrib | bin/usarray/deployment2vnd/deployment2vnd.xpl | [
"BSD-2-Clause",
"MIT"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Deep Learning Models -- A collection of various deep learning architectures, models, and tips for TensorFlow and PyTorch in Jupyter Notebooks.\n",
"- Author: Sebastian Raschka\n",
"- GitHub Repository: https://github.com/rasbt/deeplearning-models"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Sebastian Raschka \n",
"\n",
"CPython 3.6.1\n",
"IPython 6.0.0\n",
"\n",
"tensorflow 1.2.0\n",
"numpy 1.13.0\n",
"h5py 2.7.0\n"
]
}
],
"source": [
"%load_ext watermark\n",
"%watermark -a 'Sebastian Raschka' -v -p tensorflow,numpy,h5py"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Storing an Image Dataset for Minibatch Training using HDF5"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook provides an example for how to save a large dataset of images as Hierarchical Data Format (HDF) for quick access during minibatch learning. This approach uses the common [HDF5](https://support.hdfgroup.org/HDF5/) format and should be accessible to any programming language or tool with an HDF5 API.\n",
"\n",
"While this approach performs reasonably well (sufficiently well for my applications), you may also be interested in TensorFlow's \"[Reading Data](https://www.tensorflow.org/programmers_guide/reading_data)\" guide to work with `TfRecords` and file queues."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 0. The Dataset"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's pretend we have a directory of images containing two subdirectories with images for training, validation, and testing. The following function will create such a dataset of images in JPEG format locally for demonstration purposes."
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Extracting ./train-images-idx3-ubyte.gz\n",
"Extracting ./train-labels-idx1-ubyte.gz\n",
"Extracting ./t10k-images-idx3-ubyte.gz\n",
"Extracting ./t10k-labels-idx1-ubyte.gz\n"
]
}
],
"source": [
"# Note that executing the following code \n",
"# cell will download the MNIST dataset\n",
"# and save all the 60,000 images as separate JPEG\n",
"# files. This might take a few minutes depending\n",
"# on your machine.\n",
"\n",
"import numpy as np\n",
"\n",
"# load utilities from ../helper.py\n",
"import sys\n",
"sys.path.insert(0, '..') \n",
"from helper import mnist_export_to_jpg\n",
"\n",
"np.random.seed(123)\n",
"mnist_export_to_jpg(path='./')"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"mnist_train subdirectories ['.DS_Store', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']\n",
"mnist_valid subdirectories ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']\n",
"mnist_test subdirectories ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']\n"
]
}
],
"source": [
"import os\n",
"\n",
"for i in ('train', 'valid', 'test'):\n",
" print('mnist_%s subdirectories' % i, os.listdir('mnist_%s' % i))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that the names of the subdirectories correspond directly to the class label of the images that are stored under it."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To make sure that the images look okay, the snippet below plots an example image from the subdirectory `mnist_train/9/`:"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(28, 28)\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAP8AAAD8CAYAAAC4nHJkAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEkpJREFUeJzt3W2MVGWWB/D/4cUGupGX7V5AB22MZlQwMkmFbMSY0XFG\nxkyCYxSHmJE1ZtoP7GQnmZhVNsbXGLPuQPywkjALGdjMOrMRVDS6K5AJZgKZ0BBWcFyVxcYBge4G\nku7mRWj67Ie+uK32PaetW3VvFef/SwjddepWPV1d/67qPvd5HlFVEFE8o4oeABEVg+EnCorhJwqK\n4ScKiuEnCorhJwqK4ScKiuEnCorhJwpqTJ531tzcrK2trXneJVFVeGfGikhOI/myjo4OdHd3j+jO\nM4VfRBYAeBHAaAD/qqrPW9dvbW1Fe3t7lrusS+fPnzfr3hNl1KjqvUEr8klc7fu2bj/rbff395v1\nMWNyfV39QqlUGvF1y35WichoAP8C4IcArgewWESuL/f2iChfWV5S5gHYp6r7VfUsgN8BWFiZYRFR\ntWUJ/+UA/jLk84PJZV8iIm0i0i4i7V1dXRnujogqqep/7VfVVapaUtVSS0tLte+OiEYoS/gPAZg5\n5PNvJZcRUR3IEv4dAK4RkVkicgmAnwDYWJlhEVG1ld2PUNV+Efk7AP+FwVbfGlV9v2Iju4iMHj06\n0/Feq3BgYCC1NnbsWPPYrC2vc+fOmXXr/k+ePGke642tsbGx7OO9x9RrrxbVyqukTF+Bqr4F4K0K\njYWIcsTTe4mCYviJgmL4iYJi+ImCYviJgmL4iYKq/2ZlHejr6zPrTU1NZt07T8Cqnzp1KtNtNzQ0\nmHXvPALrHATv686qt7c3teZ9XVnPzagHfOUnCorhJwqK4ScKiuEnCorhJwqK4ScKiq2+HGRtaWVZ\n5XbChAmZ7tvjTY21xt7T01P2sQAwZcoUsz5x4kSzbjlz5oxZ91qBXgu0FvCVnygohp8oKIafKCiG\nnygohp8oKIafKCiGnygo9vlz4PXCvR1fvZ5ylmWkT58+bda9Xrs3NdYa2+TJk81jPWfPnjXrVq/d\nWxZ83LhxZY2pnvCVnygohp8oKIafKCiGnygohp8oKIafKCiGnyioTH1+EekA0AvgPIB+VS1VYlAX\nm1peBtrr03tbVXusefHV7qVn2X7cO//BG3vWrc/zUImTfG5V1e4K3A4R5Yhv+4mCyhp+BbBZRHaK\nSFslBkRE+cj6tv9mVT0kIn8NYJOI/I+qvjv0CskPhTYAuOKKKzLeHRFVSqZXflU9lPzfCeBVAPOG\nuc4qVS2paqmlpSXL3RFRBZUdfhFpFJGJFz4G8AMAeys1MCKqrixv+6cBeDVpaYwB8O+q+p8VGRUR\nVV3Z4VfV/QBurOBYLlrnzp0z69Vc4/3AgQNmffPmzWZ99erVZn379u1m3Vo739pCeyQeeeQRs/7U\nU0+l1saPH28em2WvhHrBVh9RUAw/UVAMP1FQDD9RUAw/UVAMP1FQXLo7B1mW1gaA48ePm/WXXnop\ntbZ27Vrz2P3795t1rw3Z2Nho1q12nnfGZ1dXl1l/4YUXzLq1JPrjjz9uHutt/+0tx17L07gv4Cs/\nUVAMP1FQDD9RUAw/UVAMP1FQDD9RUAw/UVC59vlV1Zze6vWUrd6q11c9deqUWZ8wYYJZt2SdsvvZ\nZ5+Z9dtuu82sf/jhh2bd4m2Tfeutt5r1+fPnm/XZs2eXfaw33fjuu+826xs2bEitPfPMM+ax3nRj\na6pyveArP1FQDD9RUAw/UVAMP1FQDD9RUAw/UVAMP1FQufb5RcTseVvzrwF7XvzZs2fNY7NuB33y\n5MnUmjenfceOHWb9jjvuMOve12Z57LHHzPqyZcvMelNTk1n3xmbVvdv2eI+7de7HsWPHzGO9reWK\nXI69UvjKTxQUw08UFMNPFBTDTxQUw08UFMNPFBTDTxSU2+cXkTUAfgSgU1XnJJdNBfB7AK0AOgAs\nUtUTWQdz5swZs271hS+55JJM9+31q62e8u7du81jb7nlFrPures/apT9M3rTpk2ptdtvv908tru7\n26x7vXjvcc/yfdm6datZP336tFm/7rrrUmveuvyeeujje0byyv8bAAu+ctmjALao6jUAtiSfE1Ed\nccOvqu8C+OqWMQsBXNgKZi2Auyo8LiKqsnJ/55+mqoeTj48AmFah8RBRTjL/wU9VFYCm1UWkTUTa\nRaTd23uNiPJTbviPisgMAEj+70y7oqquUtWSqpa8jRmJKD/lhn8jgCXJx0sAvF6Z4RBRXtzwi8jL\nALYD+LaIHBSRhwA8D+D7IvIxgNuTz4mojrh9flVdnFL6XoXH4vazBwYGyj7Wm3/t9dqt459++mnz\nWG9PAe++vX73DTfcYNYtzc3NZr2np8esX3rppWXf97Zt28z6+vXrzbr1fACAGTNmpNa8dfe98z6y\nnldSC3iGH1FQDD9RUAw/UVAMP1FQDD9RUAw/UVC5Lt0NDG7TncZbXts6NiuvVfjaa6+l1t544w3z\nWG/654MPPmjWr732WrMuIqm1LMuhA/7W5d735MSJ9Jnezz77rHnswYMHzbo33dg6o9Qbt9fK6+vr\nM+tZlyXPA1/5iYJi+ImCYviJgmL4iYJi+ImCYviJgmL4iYLKvc9v8Xrtlt7eXrPuTeH0vPLKK6k1\nr1c+efJks758+fKyxjQSnZ2piywBAC677DKz7n1t3nkETzzxRGrt7bffNo9taGgw695U6fvuuy+1\n5k3Z9e7bq9cDvvITBcXwEwXF8BMFxfATBcXwEwXF8BMFxfATBVVT8/mteekebxnnrKZPn55aGz9+\nvHmsN3f8k08+MeuzZs0y6xavj+9ti+6tsfDAAw+YdW+tA4v3fPAe1xtvvLHs+/a2//a+5/WAr/xE\nQTH8REEx/ERBMfxEQTH8REEx/ERBMfxEQbl9fhFZA+BHADpVdU5y2ZMAfgagK7naMlV9y7stVc20\nzbY1B3vSpEne3Zu8ddjvvffe1NqKFSsy3XepVDLr8+fPN+v33HNPam327NnmsevWrTPrK1euNOve\n1udz5sxJrXlr2+/Zs8ese+skWGPz9lLw1gq4GIzklf83ABYMc/kKVZ2b/HODT0S1xQ2/qr4L4HgO\nYyGiHGX5nf/nIvKeiKwRkSkVGxER5aLc8K8EcBWAuQAOA/hV2hVFpE1E2kWkvbu7u8y7I6JKKyv8\nqnpUVc+r6gCAXwOYZ1x3laqWVLXU3Nxc7jiJqMLKCr+IzBjy6Y8B7K3McIgoLyNp9b0M4LsAmkXk\nIIAnAHxXROYCUAAdAB6u4hiJqArc8Kvq4mEuXl2FsbisPdO9frO3/rzXc7766qtTa9u3bzePXbp0\nqVnftWuXWffmxL/zzjupNW/Ou7d+vTdv/eGH7Z/7zz33XFk1ANi3b59Z99Y5yLI+hPVcA4Dz58+b\n9Xo4T4Bn+BEFxfATBcXwEwXF8BMFxfATBcXwEwVVU1t0V1OWtg8AtLS0pNYaGxvNY3fu3GnW33zz\nTbPe0dFh1q1W36effmoee//995t1ayozALS2tpr1EydOpNa2bdtmHuudDn7TTTeZda+9a/Fax96U\n4HrAV36ioBh+oqAYfqKgGH6ioBh+oqAYfqKgGH6ioHLt84tIpt6rxZtC2d/fb9azjGvChAllHwsA\nCxYMtzjy//PG1tbWllrzpvQ2NDSYdY93+/v370+teUtzexYtWlT2sd64vfrFgK/8REEx/ERBMfxE\nQTH8REEx/ERBMfxEQTH8REFdNPP5ve29vfn83hLW1vFZ53Z7y0B7Y/eWmc7iyJEjZn369Olm3Vp2\n/OTJk+ax1vbeADB37lyzbvXqvT6+95haW80D/vOxFtT+CImoKhh+oqAYfqKgGH6ioBh+oqAYfqKg\nGH6ioNw+v4jMBLAOwDQACmCVqr4oIlMB/B5AK4AOAItUNX2R9hHw+t1W79TrhWftlVdzfvepU6fM\n+pQpU8q+7WPHjpn1qVOnmnWvj+/16rdu3Zpa83rlV155pVn31miw1njwjvWeD/XQx/eM5CvoB/BL\nVb0ewN8AWCoi1wN4FMAWVb0GwJbkcyKqE274VfWwqu5KPu4F8AGAywEsBLA2udpaAHdVa5BEVHnf\n6L2LiLQC+A6APwGYpqqHk9IRDP5aQER1YsThF5EmAOsB/EJVe4bWdPAX4mF/KRaRNhFpF5H2rq6u\nTIMlosoZUfhFZCwGg/9bVd2QXHxURGYk9RkAOoc7VlVXqWpJVUvWZpdElC83/DL4Z/LVAD5Q1eVD\nShsBLEk+XgLg9coPj4iqZSRTeucD+CmAPSKyO7lsGYDnAfyHiDwE4ACA8tdRTnjtE6sV6B2btTWT\ndYtvS5ZWnmf8+PFmPevX5W1Pbn3Pxo0bZx7rtdtOnz5t1idOnJha87bgruY06Vrhhl9V/wgg7Rny\nvcoOh4jyUv9nKhBRWRh+oqAYfqKgGH6ioBh+oqAYfqKgamrpbq/nnGWKpjdd2Nvi2+JNTfXqXk/5\nzJkzZt0au7d9uNfv9qbsTpo0yaxbS6J73zNvGrV3DoPF+3573zNvbFmeT3nhKz9RUAw/UVAMP1FQ\nDD9RUAw/UVAMP1FQDD9RULn2+QcGBsw52FnmnmfdJjsLb60Aryf8+eefm3Vv3rvF23rce9wmT55s\n1g8cOGDWP/roo9Sad/6Cdx7AmDH209d63LM8poA/tnrAV36ioBh+oqAYfqKgGH6ioBh+oqAYfqKg\nGH6ioHLt848aNSrTHOx6lXV78Cz97qzrz/f19Zn1hoYGs27N9z9xwt7R3dsTwGM97lnPIfDq9YCv\n/ERBMfxEQTH8REEx/ERBMfxEQTH8REEx/ERBuc1KEZkJYB2AaQAUwCpVfVFEngTwMwBdyVWXqepb\n1RroxczbU8BbD8BaY95ba8DjnZfhrU9v9eqnT59uHjtz5kyznmUvhqx9em+dhKznV+RhJI9AP4Bf\nquouEZkIYKeIbEpqK1T1n6s3PCKqFjf8qnoYwOHk414R+QDA5dUeGBFV1zd6TygirQC+A+BPyUU/\nF5H3RGSNiExJOaZNRNpFpL2rq2u4qxBRAUYcfhFpArAewC9UtQfASgBXAZiLwXcGvxruOFVdpaol\nVS21tLRUYMhEVAkjCr+IjMVg8H+rqhsAQFWPqup5VR0A8GsA86o3TCKqNDf8Mjg1ajWAD1R1+ZDL\nZwy52o8B7K388IioWkby1/75AH4KYI+I7E4uWwZgsYjMxWD7rwPAw1UZYQBeOy7rdtFZeK08rxW4\nd2/6a0JPT495rLe8tjc2a0l0r9Xn3XbWFmotGMlf+/8IYLiJ0ezpE9Wx+v/xRURlYfiJgmL4iYJi\n+ImCYviJgmL4iYKq//WHLwJezzjLFuDeOQLesuJePYumpiaz7p2/4E3pterekuMeLt1NRHWL4ScK\niuEnCorhJwqK4ScKiuEnCorhJwpKqjkX/Gt3JtIF4MCQi5oBdOc2gG+mVsdWq+MCOLZyVXJsV6rq\niNbLyzX8X7tzkXZVLRU2AEOtjq1WxwVwbOUqamx8208UFMNPFFTR4V9V8P1banVstTougGMrVyFj\nK/R3fiIqTtGv/ERUkELCLyILRORDEdknIo8WMYY0ItIhIntEZLeItBc8ljUi0ikie4dcNlVENonI\nx8n/w26TVtDYnhSRQ8ljt1tE7ixobDNF5A8i8mcReV9E/j65vNDHzhhXIY9b7m/7RWQ0gI8AfB/A\nQQA7ACxW1T/nOpAUItIBoKSqhfeEReQWAH0A1qnqnOSyfwJwXFWfT35wTlHVf6iRsT0JoK/onZuT\nDWVmDN1ZGsBdAP4WBT52xrgWoYDHrYhX/nkA9qnqflU9C+B3ABYWMI6ap6rvAjj+lYsXAlibfLwW\ng0+e3KWMrSao6mFV3ZV83Avgws7ShT52xrgKUUT4LwfwlyGfH0RtbfmtADaLyE4RaSt6MMOYlmyb\nDgBHAEwrcjDDcHduztNXdpaumceunB2vK41/8Pu6m1V1LoAfAliavL2tSTr4O1sttWtGtHNzXobZ\nWfoLRT525e54XWlFhP8QgJlDPv9WcllNUNVDyf+dAF5F7e0+fPTCJqnJ/50Fj+cLtbRz83A7S6MG\nHrta2vG6iPDvAHCNiMwSkUsA/ATAxgLG8TUi0pj8IQYi0gjgB6i93Yc3AliSfLwEwOsFjuVLamXn\n5rSdpVHwY1dzO16rau7/ANyJwb/4/y+AfyxiDCnjugrAfyf/3i96bABexuDbwHMY/NvIQwD+CsAW\nAB8D2Axgag2N7d8A7AHwHgaDNqOgsd2Mwbf07wHYnfy7s+jHzhhXIY8bz/AjCop/8CMKiuEnCorh\nJwqK4ScKiuEnCorhJwqK4ScKiuEnCur/ABj13FTNxtqQAAAAAElFTkSuQmCC\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x11ed24550>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%matplotlib inline\n",
"import matplotlib.image as mpimg\n",
"import matplotlib.pyplot as plt\n",
"import os\n",
"\n",
"some_img = os.path.join('./mnist_train/9/', os.listdir('./mnist_train/9/')[0])\n",
"\n",
"img = mpimg.imread(some_img)\n",
"print(img.shape)\n",
"plt.imshow(img, cmap='binary');"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Note: The JPEG format introduces a few artifacts that we can see in the image above. In this case, we use JPEG instead of PNG. Here, JPEG is used for demonstration purposes since that's still format many image datasets are stored in."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 1. Saving images as HDF5"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The following wrapper function creates .h5 file containing training, testing, and validation datasets. It will group images together into larger integer arrays that are then saved as subgroups in the HDF5 file. For instance, the training images will be saved as `'train/images'` and the corresponding labels as `'train/labels'` subgroup."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np\n",
"import h5py\n",
"import glob\n",
"\n",
"\n",
"def images_to_h5(data_stempath='./mnist_',\n",
" width=28, height=28, channels=1,\n",
" shuffle=False, random_seed=None):\n",
" \n",
" with h5py.File('mnist_batches.h5', 'w') as h5f:\n",
" \n",
" for s in ['train', 'valid', 'test']:\n",
" img_paths = [p for p in glob.iglob('%s%s/**/*.jpg' % \n",
" (data_stempath, s), \n",
" recursive=True)]\n",
"\n",
" dset1 = h5f.create_dataset('%s/images' % s, \n",
" shape=[len(img_paths), \n",
" width, height, channels], \n",
" compression=None,\n",
" dtype='uint8')\n",
" dset2 = h5f.create_dataset('%s/labels' % s, \n",
" shape=[len(img_paths)], \n",
" compression=None,\n",
" dtype='uint8')\n",
" dset3 = h5f.create_dataset('%s/file_ids' % s, \n",
" shape=[len(img_paths)], \n",
" compression=None,\n",
" dtype='S5')\n",
" \n",
" rand_indices = np.arange(len(img_paths))\n",
" \n",
" if shuffle:\n",
" rng = np.random.RandomState(random_seed)\n",
" rng.shuffle(rand_indices)\n",
"\n",
" for idx, path in enumerate(img_paths):\n",
"\n",
" rand_idx = rand_indices[idx]\n",
" label = int(os.path.basename(os.path.dirname(path)))\n",
" image = mpimg.imread(path)\n",
" dset1[rand_idx] = image.reshape(width, height, channels)\n",
" dset2[rand_idx] = label\n",
" dset3[rand_idx] = np.array([os.path.basename(path)], dtype='S6')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that we didn't specify any compression format. The reason is that non-compressed HDF5 datasets are much faster to read, which is an important factor for training deep learning systems. In this case, the dataset is about ~47 Mb in size. However, we are working with larger datasets, compressing the HDF5 dataset might be one easy way to deal with hardware storage limitations."
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"images_to_h5(shuffle=True, random_seed=123)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To check that the archiving worked correctly, we will now load the training images and print the array shape. Note that we can now access each archive similar to a python dictionary. Here the `'data'` key contains the image data and the `'labels'` key stores an array containing the corresponding class labels:"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(45000, 28, 28, 1)\n",
"(45000,)\n",
"(45000,)\n"
]
}
],
"source": [
"with h5py.File('mnist_batches.h5', 'r') as h5f:\n",
" print(h5f['train/images'].shape)\n",
" print(h5f['train/labels'].shape)\n",
" print(h5f['train/file_ids'].shape)"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Class label: 8\n",
"File ID: b'20829'\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAP8AAAD8CAYAAAC4nHJkAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEb5JREFUeJzt3W2MVGWWB/D/oXlrGhSwezvo4ALRmKBmwVRwyZANOgvx\nhQTng2bQDBjJAMlIFgNk1U1cPxhD1oWRBDOGWXDQzMBsMiBoyG6ArDEQnNBIjy+jjmB6BAL9Iq10\nQ0O/nf3QF9Ng3/M0davq3urz/yWkq+vU7Xq66H9XdZ37PI+oKojIn2FpD4CI0sHwEznF8BM5xfAT\nOcXwEznF8BM5xfATOcXwEznF8BM5NbyUd1ZdXa1Tpkwp5V26kOQsTREp6n1b9WHD7Oeenp4es15R\nUWHWLb29vWY9NLasamhoQEtLy6D+UxOFX0QeALARQAWA/1LVddbtp0yZgrq6uiR3SQPo7OyMrYV+\niIcPT/b7v6ury6xbY6uqqjKPPX/+vFm/4YYbzLrl4sWLZn306NFmPau/HHK53KBvm/d3ICIVAF4D\n8CCA6QAWicj0fL8eEZVWkl9fswAcV9WvVLUTwA4ACwszLCIqtiThvwXAyX6fn4quu4qILBOROhGp\na25uTnB3RFRIRf/DRVU3q2pOVXM1NTXFvjsiGqQk4T8NYHK/z38UXUdEZSBJ+I8AuF1EporISAA/\nA7CnMMMiomLLu8+jqt0i8jSA/0Vfq2+rqn5asJENIaGecqhXHupnjxw5MrbW3d1tHhtqp40aNSpR\nfcSIEWY9CauNCNiPy5gxYwo9nLKTqMmrqnsB7C3QWIiohLJ5pgIRFR3DT+QUw0/kFMNP5BTDT+QU\nw0/kVEnn83sVmjMfqofOE7CEpuwmmRYLhMfW0dERWwtN6U06Nuv8idC4Q2sJFHuqdCnwmZ/IKYaf\nyCmGn8gphp/IKYafyCmGn8ip7PcjhoBQKy80pTe0Qm4xp80mHZvVzgu10y5dumTWQ+26cePGxdZC\n06RD9cuXL5t1tvqIKLMYfiKnGH4ipxh+IqcYfiKnGH4ipxh+Iqey34x0INQrD/WcremloT79d999\nZ9YrKyvNemjpbqsfHjo2xOrjh7S2tpp1a9lvIDwduRzwmZ/IKYafyCmGn8gphp/IKYafyCmGn8gp\nhp/IqUR9fhFpANAGoAdAt6rmCjGooSY09ztpv9vaqjo013/8+PGJ7ru9vd2sjx07NrYW6rW//fbb\nZv3IkSNm/fDhw7G1lpYW89h58+aZ9a1bt5r1clCIk3zuU1X7kSSizOHLfiKnkoZfAewXkaMisqwQ\nAyKi0kj6sn+Oqp4Wkb8DsE9EPlfV9/vfIPqlsAwAbr311oR3R0SFkuiZX1VPRx+bAOwCMGuA22xW\n1Zyq5mpqapLcHREVUN7hF5EqERl35TKA+QA+KdTAiKi4krzsrwWwK1qWejiA36vq/xRkVERUdHmH\nX1W/AvAPBRzLkBXazjkpa85+aM+A0Nr5hw4dMuvvvvuuWf/ggw9iaw0NDeaxJ0+eNOvFtHPnTrP+\n6quvmvWk24uXAlt9RE4x/EROMfxETjH8RE4x/EROMfxETnHp7hIITatta2sz66FlpK0pwd3d3eax\nW7ZsMeuvv/66Wa+vrzfrVpsz9Lg8+OCDZn3WrB+cUHqVc+fOxdbOnj1rHrt7926zPmbMGLNeDvjM\nT+QUw0/kFMNP5BTDT+QUw0/kFMNP5BTDT+QU+/wl0NHRYdaTbDUNACdOnIitrV271jx2165dZn3i\nxIlmffbs2Wb98ccfj60tXrzYPDY0LTa0dPeOHTtiay+//LJ57L333mvWhw8v/+jwmZ/IKYafyCmG\nn8gphp/IKYafyCmGn8gphp/IqfJvVpaByspKs97Y2GjWv/jiC7O+fPny2Nrnn39uHhs6D2Dp0qVm\n/Y477jDrSTQ1NZn10PLa27dvj62tX7/ePHb16tVmPbTkeUVFhVnPAj7zEznF8BM5xfATOcXwEznF\n8BM5xfATOcXwEzkV7POLyFYACwA0qepd0XUTAfwBwBQADQAeU9XW4g2zvLW0tJj12tpas75p0yaz\nfvr06djaK6+8Yh77xBNPmPVJkyaZ9VC/u729PbYWWrc/9H2vW7fOrE+dOjW2duHCBfNYay8EAOjt\n7TXrQ6XP/1sAD1xz3bMADqjq7QAORJ8TURkJhl9V3wdw7dYnCwFsiy5vA/BIgcdFREWW79/8tap6\nJrp8FoD9upWIMifxG36qqgA0ri4iy0SkTkTqmpubk94dERVIvuFvFJFJABB9jJ2BoaqbVTWnqrma\nmpo8746ICi3f8O8BsCS6vASAvaUpEWVOMPwish3AYQB3iMgpEVkKYB2AeSLyJYB/jj4nojIS7POr\n6qKY0k8KPJYhq7q62qxv2LDBrL/00ktmfd68ebG1NWvWmMcmdfHiRbO+b9++2Np7771nHvvaa6+Z\n9VAv/rnnnoutVVVVmcd2dXWZ9ZEjR5r1csAz/IicYviJnGL4iZxi+ImcYviJnGL4iZzi0t0lEGob\nhZbXHj9+fCGHc11C02q3bNli1uvr6ws5nKs8+eSTZv2pp57K+2uHpmGHpjqXAz7zEznF8BM5xfAT\nOcXwEznF8BM5xfATOcXwEznFPn8J9K10Fu/GG280699++61ZP3jwYGztrbfeMo89duyYWQ/18c+f\nP2/Wramz8+fPN49duXKlWb/vvvvMekdHR2wtNCU31Me/fPmyWQ9NN84CPvMTOcXwEznF8BM5xfAT\nOcXwEznF8BM5xfATOcU+fwmEesoPP/ywWd+/f79Zt+bML1682Dw2ZMKECWY91A/ftm1bbM1acnww\nzp27dv/Yq40ZMya2FtpCu7Oz06yXQx8/hM/8RE4x/EROMfxETjH8RE4x/EROMfxETjH8RE4F+/wi\nshXAAgBNqnpXdN2LAH4BoDm62fOqurdYgxzqZs+ebdZXrFhh1teuXRtba2try2tMV7S2tpr1jRs3\nmnWrl9/b22seO2yY/dw0ceJEs55EaGxDwWCe+X8L4IEBrv+Vqs6I/jH4RGUmGH5VfR+AfSoVEZWd\nJH/zrxSRj0Rkq4jY54ASUebkG/5fA5gGYAaAMwDWx91QRJaJSJ2I1DU3N8fdjIhKLK/wq2qjqvao\nai+A3wCYZdx2s6rmVDVXU1OT7ziJqMDyCr+I9J/K9VMAnxRmOERUKoNp9W0HMBdAtYicAvDvAOaK\nyAwACqABwPIijpGIiiAYflVdNMDV9mLudJXQuv3Dh9v/DcePHzfrVi8/9LW7u7vNesj69bFv9wAA\n5syZE1u75557zGN7enrMemhOfhKhNRhC/6ciUsjhFAXP8CNyiuEncorhJ3KK4SdyiuEncorhJ3KK\nS3eXQKjtE9pGe9OmTWb9zjvvjK2Ftrk+dOiQWX/nnXfM+tdff23Wn3766dja7t27zWMrKyvN+tix\nY826JdSqC00nHgqG/ndIRANi+ImcYviJnGL4iZxi+ImcYviJnGL4iZxin78EWlpazPrRo0fNem1t\nrVnfs2dPbG3atGnmscuX20sxhKbsrlmzxqwfPnw4tnbq1Cnz2Lvvvtush1i9/NDS3KFzM4bCeQDl\n/x0QUV4YfiKnGH4ipxh+IqcYfiKnGH4ipxh+IqfY5y+B6upqs753r73J8fTp0836zTfffN1juqKz\ns9OsP/PMM2Z91KhReR8fWktg5syZZj3EWpZ8xIgReR8LhJcVD339LOAzP5FTDD+RUww/kVMMP5FT\nDD+RUww/kVMMP5FTwT6/iEwG8CaAWgAKYLOqbhSRiQD+AGAKgAYAj6lqa/GGWr6++eYbsx6a1x7a\nynr06NGxta6uLvPY0FbUoX730qVLzbq1HsAbb7xhHrtixQqzHtp+3OrFh/rwofn65bAFd8hgnvm7\nAaxW1ekA/hHAL0VkOoBnARxQ1dsBHIg+J6IyEQy/qp5R1Q+jy20APgNwC4CFALZFN9sG4JFiDZKI\nCu+6/uYXkSkAZgL4E4BaVT0Tlc6i788CIioTgw6/iIwF8EcAq1T1fP+a9i2WNuCCaSKyTETqRKSu\nubk50WCJqHAGFX4RGYG+4P9OVXdGVzeKyKSoPglA00DHqupmVc2paq6mpqYQYyaiAgiGX/re1twC\n4DNV3dCvtAfAkujyEgD2lqtElCmDmdL7YwA/B/CxiNRH1z0PYB2A/xaRpQD+BuCx4gyx/N10001m\nPdSOe/TRR826NS031MoLtSHHjx9v1ltb7e7uhQsXYmuhNmJoee2QUCvQEmrlDYVWX/DRUdWDAOK+\n058UdjhEVCo8w4/IKYafyCmGn8gphp/IKYafyCmGn8gpLt2dAdZW0gBw7Ngxs37//ffH1k6cOGEe\nu2/fPrPe2Nho1q0+PgBcunQptrZq1Srz2NA5CiFWnz90DsFQ2II7ZOh/h0Q0IIafyCmGn8gphp/I\nKYafyCmGn8gphp/IKQn1mAspl8tpXV1dye4vKzo6Osx6VVVVonp7e3tsLbR6UmhptdC89dDPj7Ue\nQOi+KyoqzHpoe3Fr+3Dr/APAXg4dyO55ArlcDnV1dYNabIDP/EROMfxETjH8RE4x/EROMfxETjH8\nRE4x/EROcT5/CYTmpb/wwgtmfePGjXnfd1tbm1m/7bbbzLq1VgAALFiwwKzPnTs3thbq04e20bb6\n+CGhPn7IUFi3n8/8RE4x/EROMfxETjH8RE4x/EROMfxETjH8RE4F5/OLyGQAbwKoBaAANqvqRhF5\nEcAvAFyZlP28qu61vpbX+fxJhdYDsOaOJ9mjHgjPqQ+xevmhOe+h+06z1z4U5vMP5iejG8BqVf1Q\nRMYBOCoiV3Z6+JWq/me+AyWi9ATDr6pnAJyJLreJyGcAbin2wIiouK7rtYmITAEwE8CfoqtWishH\nIrJVRCbEHLNMROpEpC60bBMRlc6gwy8iYwH8EcAqVT0P4NcApgGYgb5XBusHOk5VN6tqTlVzofXk\niKh0BhV+ERmBvuD/TlV3AoCqNqpqj6r2AvgNgFnFGyYRFVow/NL3luoWAJ+p6oZ+10/qd7OfAvik\n8MMjomIZzLv9PwbwcwAfi0h9dN3zABaJyAz0tf8aACwvygiHgNbWVrM+YcKAb5d8r7KyMu/77unp\nMetJW3mhr590m+2sGgpTegfzbv9BAAN9p2ZPn4iyjWf4ETnF8BM5xfATOcXwEznF8BM5xfATOcWl\nu0sg1McPTatO0qsP9fG7u7vNeqifnfQ8gXI1FPr8fOYncorhJ3KK4SdyiuEncorhJ3KK4SdyiuEn\nciq4dHdB70ykGcDf+l1VDaClZAO4PlkdW1bHBXBs+Srk2P5eVQe1Xl5Jw/+DOxepU9VcagMwZHVs\nWR0XwLHlK62x8WU/kVMMP5FTaYd/c8r3b8nq2LI6LoBjy1cqY0v1b34iSk/az/xElJJUwi8iD4jI\nFyJyXESeTWMMcUSkQUQ+FpF6EUl1S+FoG7QmEfmk33UTRWSfiHwZfbTnC5d2bC+KyOnosasXkYdS\nGttkEfk/EfmLiHwqIv8SXZ/qY2eMK5XHreQv+0WkAsBfAcwDcArAEQCLVPUvJR1IDBFpAJBT1dR7\nwiLyTwDaAbypqndF1/0HgHOqui76xTlBVf81I2N7EUB72js3RxvKTOq/szSARwA8iRQfO2NcjyGF\nxy2NZ/5ZAI6r6leq2glgB4CFKYwj81T1fQDnrrl6IYBt0eVt6PvhKbmYsWWCqp5R1Q+jy20Aruws\nnepjZ4wrFWmE/xYAJ/t9fgrZ2vJbAewXkaMisiztwQygNto2HQDOAqhNczADCO7cXErX7Cydmccu\nnx2vC41v+P3QHFWdAeBBAL+MXt5mkvb9zZalds2gdm4ulQF2lv5emo9dvjteF1oa4T8NYHK/z38U\nXZcJqno6+tgEYBeyt/tw45VNUqOPTSmP53tZ2rl5oJ2lkYHHLks7XqcR/iMAbheRqSIyEsDPAOxJ\nYRw/ICJV0RsxEJEqAPORvd2H9wBYEl1eAmB3imO5SlZ2bo7bWRopP3aZ2/FaVUv+D8BD6HvH/wSA\nf0tjDDHjmgbgz9G/T9MeG4Dt6HsZ2IW+90aWArgJwAEAXwLYD2Bihsb2FoCPAXyEvqBNSmlsc9D3\nkv4jAPXRv4fSfuyMcaXyuPEMPyKn+IYfkVMMP5FTDD+RUww/kVMMP5FTDD+RUww/kVMMP5FT/w9n\nq6jefCrr/gAAAABJRU5ErkJggg==\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x11f6c4c88>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"with h5py.File('mnist_batches.h5', 'r') as h5f:\n",
"\n",
" plt.imshow(h5f['train/images'][0][:, :, -1], cmap='binary');\n",
" print('Class label:', h5f['train/labels'][0])\n",
" print('File ID:', h5f['train/file_ids'][0])"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 2. Loading Minibatches"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The following cell implements a class for iterating over the MNIST images, based on the .h5 file, conveniently. \n",
"Via the `normalize` parameter we additionally scale the image pixels to [0, 1] range, which typically helps with gradient-based optimization in practice.\n",
"\n",
"The key functions (here: generators) are\n",
"\n",
"- load_train_epoch\n",
"- load_valid_epoch\n",
"- load_test_epoch\n",
"\n",
"These let us iterate over small chunks (determined via `minibatch_size`) and yield minibatches via memory-efficient Python generators. Via the two shuffle parameters, we can further control if the images within each batch to be shuffled. By setting `onehot=True`, the labels are converted into a onehot representation for convenience."
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"class BatchLoader():\n",
" def __init__(self, minibatches_path, \n",
" normalize=True):\n",
" \n",
" self.minibatches_path = minibatches_path\n",
" self.normalize = normalize\n",
" self.num_train = 45000\n",
" self.num_valid = 5000\n",
" self.num_test = 10000\n",
" self.n_classes = 10\n",
"\n",
"\n",
" def load_train_epoch(self, batch_size=50, onehot=False,\n",
" shuffle_batch=False, prefetch_batches=1, seed=None):\n",
" for batch_x, batch_y in self._load_epoch(which='train',\n",
" batch_size=batch_size,\n",
" onehot=onehot,\n",
" shuffle_batch=shuffle_batch,\n",
" prefetch_batches=prefetch_batches, \n",
" seed=seed):\n",
" yield batch_x, batch_y\n",
"\n",
" def load_test_epoch(self, batch_size=50, onehot=False,\n",
" shuffle_batch=False, prefetch_batches=1, seed=None):\n",
" for batch_x, batch_y in self._load_epoch(which='test',\n",
" batch_size=batch_size,\n",
" onehot=onehot,\n",
" shuffle_batch=shuffle_batch,\n",
" prefetch_batches=prefetch_batches,\n",
" seed=seed):\n",
" yield batch_x, batch_y\n",
" \n",
" def load_validation_epoch(self, batch_size=50, onehot=False,\n",
" shuffle_batch=False, prefetch_batches=1, seed=None):\n",
" for batch_x, batch_y in self._load_epoch(which='valid',\n",
" batch_size=batch_size,\n",
" onehot=onehot,\n",
" shuffle_batch=shuffle_batch,\n",
" prefetch_batches=prefetch_batches, \n",
" seed=seed):\n",
" yield batch_x, batch_y\n",
"\n",
" def _load_epoch(self, which='train', batch_size=50, onehot=False,\n",
" shuffle_batch=False, prefetch_batches=1, seed=None):\n",
" \n",
" prefetch_size = prefetch_batches * batch_size\n",
" \n",
" if shuffle_batch:\n",
" rgen = np.random.RandomState(seed)\n",
"\n",
" with h5py.File(self.minibatches_path, 'r') as h5f:\n",
" indices = np.arange(h5f['%s/images' % which].shape[0])\n",
" \n",
" for start_idx in range(0, indices.shape[0] - prefetch_size + 1,\n",
" prefetch_size): \n",
" \n",
"\n",
" x_batch = h5f['%s/images' % which][start_idx:start_idx + prefetch_size]\n",
" x_batch = x_batch.astype(np.float32)\n",
" y_batch = h5f['%s/labels' % which][start_idx:start_idx + prefetch_size]\n",
"\n",
" if onehot:\n",
" y_batch = (np.arange(self.n_classes) == \n",
" y_batch[:, None]).astype(np.uint8)\n",
"\n",
" if self.normalize:\n",
" # normalize to [0, 1] range\n",
" x_batch = x_batch.astype(np.float32) / 255.\n",
"\n",
" if shuffle_batch:\n",
" rand_indices = np.arange(prefetch_size)\n",
" rgen.shuffle(rand_indices)\n",
" x_batch = x_batch[rand_indices]\n",
" y_batch = y_batch[rand_indices]\n",
"\n",
" for batch_idx in range(0, x_batch.shape[0] - batch_size + 1,\n",
" batch_size):\n",
" \n",
" yield (x_batch[batch_idx:batch_idx + batch_size], \n",
" y_batch[batch_idx:batch_idx + batch_size])"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The following for loop will iterate over the 45,000 training examples in our MNIST training set, yielding 50 images and labels at a time (note that we previously set aside 5000 training example as our validation datast)."
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(50, 28, 28, 1)\n",
"(50, 10)\n"
]
}
],
"source": [
"batch_loader = BatchLoader(minibatches_path='./mnist_batches.h5', \n",
" normalize=True)\n",
"\n",
"for batch_x, batch_y in batch_loader.load_train_epoch(batch_size=50, onehot=True):\n",
" print(batch_x.shape)\n",
" print(batch_y.shape)\n",
" break"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"One training epoch contains 45000 images\n"
]
}
],
"source": [
"cnt = 0\n",
"for batch_x, batch_y in batch_loader.load_train_epoch(\n",
" batch_size=100, onehot=True):\n",
" cnt += batch_x.shape[0]\n",
" \n",
"print('One training epoch contains %d images' % cnt)"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"323 ms ± 9.98 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
]
}
],
"source": [
"def one_epoch():\n",
" for batch_x, batch_y in batch_loader.load_train_epoch(\n",
" batch_size=100, onehot=True):\n",
" pass\n",
" \n",
"% timeit one_epoch()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"As we can see from the benchmark above, an iteration over one training epoch (45k images) is relatively fast."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Similarly, we could iterate over validation and test data via \n",
"\n",
"- batch_loader.load_validation_epoch\n",
"- batch_loader.load_test_epoch\n",
"\n",
"Note that increasing the `batch_size` can substantially improve the computationally efficiency loading an epoch, since it would lower the number of iterations. Further, we used two nested for loops in `_load_epoch`, where the inner one yields the actual batches. The purpose of the outer loop in this function is to prefetch multiple batches for shuffling -- otherwise, the shuffling won't have any effect on the gradients."
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"172 ms ± 11.8 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
]
}
],
"source": [
"def one_epoch():\n",
" for batch_x, batch_y in batch_loader.load_train_epoch(\n",
" batch_size=100, shuffle_batch=True, prefetch_batches=4, \n",
" seed=123, onehot=True):\n",
" pass\n",
" \n",
"% timeit one_epoch()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Also, as we can see from the benchmark, prefetching multiple batches from the HDF5 database can speed up the loading of an epoch. Note that this could not always practicable (for example, when we are working with high-resolution images) due to memory constraints."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 3. Training a Model using TensorFlow's `feed_dict`"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The following code demonstrate how we can feed our minibatches into a TensorFlow graph using a TensorFlow session's `feed_dict`."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Multilayer Perceptron Graph"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import tensorflow as tf\n",
"\n",
"##########################\n",
"### SETTINGS\n",
"##########################\n",
"\n",
"# Hyperparameters\n",
"learning_rate = 0.1\n",
"training_epochs = 15\n",
"batch_size = 100\n",
"\n",
"# Architecture\n",
"n_hidden_1 = 128\n",
"n_hidden_2 = 256\n",
"height, width = 28, 28\n",
"n_classes = 10\n",
"\n",
"\n",
"##########################\n",
"### GRAPH DEFINITION\n",
"##########################\n",
"\n",
"g = tf.Graph()\n",
"with g.as_default():\n",
" \n",
" tf.set_random_seed(123)\n",
"\n",
" # Input data\n",
" tf_x = tf.placeholder(tf.float32, [None, height, width, 1], name='features')\n",
" tf_x_flat = tf.reshape(tf_x, shape=[-1, height*width])\n",
" tf_y = tf.placeholder(tf.int32, [None, n_classes], name='targets')\n",
"\n",
" # Model parameters\n",
" weights = {\n",
" 'h1': tf.Variable(tf.truncated_normal([width*height, n_hidden_1], stddev=0.1)),\n",
" 'h2': tf.Variable(tf.truncated_normal([n_hidden_1, n_hidden_2], stddev=0.1)),\n",
" 'out': tf.Variable(tf.truncated_normal([n_hidden_2, n_classes], stddev=0.1))\n",
" }\n",
" biases = {\n",
" 'b1': tf.Variable(tf.zeros([n_hidden_1])),\n",
" 'b2': tf.Variable(tf.zeros([n_hidden_2])),\n",
" 'out': tf.Variable(tf.zeros([n_classes]))\n",
" }\n",
"\n",
" # Multilayer perceptron\n",
" layer_1 = tf.add(tf.matmul(tf_x_flat, weights['h1']), biases['b1'])\n",
" layer_1 = tf.nn.relu(layer_1)\n",
" layer_2 = tf.add(tf.matmul(layer_1, weights['h2']), biases['b2'])\n",
" layer_2 = tf.nn.relu(layer_2)\n",
" out_layer = tf.matmul(layer_2, weights['out']) + biases['out']\n",
"\n",
" # Loss and optimizer\n",
" loss = tf.nn.softmax_cross_entropy_with_logits(logits=out_layer, labels=tf_y)\n",
" cost = tf.reduce_mean(loss, name='cost')\n",
" optimizer = tf.train.GradientDescentOptimizer(learning_rate=learning_rate)\n",
" train = optimizer.minimize(cost, name='train')\n",
"\n",
" # Prediction\n",
" correct_prediction = tf.equal(tf.argmax(tf_y, 1), tf.argmax(out_layer, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32), name='accuracy')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Training the Neural Network with Minibatches"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Epoch: 001 | AvgCost: 0.462 | MbTrain/Valid ACC: 0.950/0.901\n",
"Epoch: 002 | AvgCost: 0.218 | MbTrain/Valid ACC: 0.980/0.935\n",
"Epoch: 003 | AvgCost: 0.164 | MbTrain/Valid ACC: 0.980/0.950\n",
"Epoch: 004 | AvgCost: 0.132 | MbTrain/Valid ACC: 1.000/0.958\n",
"Epoch: 005 | AvgCost: 0.111 | MbTrain/Valid ACC: 1.000/0.958\n",
"Epoch: 006 | AvgCost: 0.096 | MbTrain/Valid ACC: 0.980/0.964\n",
"Epoch: 007 | AvgCost: 0.083 | MbTrain/Valid ACC: 0.990/0.965\n",
"Epoch: 008 | AvgCost: 0.073 | MbTrain/Valid ACC: 0.990/0.966\n",
"Epoch: 009 | AvgCost: 0.064 | MbTrain/Valid ACC: 1.000/0.966\n",
"Epoch: 010 | AvgCost: 0.057 | MbTrain/Valid ACC: 0.980/0.967\n",
"Epoch: 011 | AvgCost: 0.050 | MbTrain/Valid ACC: 1.000/0.969\n",
"Epoch: 012 | AvgCost: 0.045 | MbTrain/Valid ACC: 1.000/0.969\n",
"Epoch: 013 | AvgCost: 0.040 | MbTrain/Valid ACC: 0.990/0.971\n",
"Epoch: 014 | AvgCost: 0.036 | MbTrain/Valid ACC: 1.000/0.969\n",
"Epoch: 015 | AvgCost: 0.032 | MbTrain/Valid ACC: 1.000/0.970\n",
"Test ACC: 0.974\n"
]
}
],
"source": [
"##########################\n",
"### TRAINING & EVALUATION\n",
"##########################\n",
"\n",
"batch_loader = BatchLoader(minibatches_path='./mnist_batches.h5', \n",
" normalize=True)\n",
"\n",
"# preload small validation set\n",
"# by unpacking the generator\n",
"[valid_data] = batch_loader.load_validation_epoch(batch_size=5000, \n",
" onehot=True)\n",
"valid_x, valid_y = valid_data[0], valid_data[1]\n",
"del valid_data\n",
"\n",
"with tf.Session(graph=g) as sess:\n",
" sess.run(tf.global_variables_initializer())\n",
"\n",
" for epoch in range(training_epochs):\n",
" avg_cost = 0.\n",
"\n",
" n_batches = 0\n",
" for batch_x, batch_y in batch_loader.load_train_epoch(batch_size=batch_size, \n",
" onehot=True,\n",
" shuffle_batch=True,\n",
" prefetch_batches=10,\n",
" seed=epoch):\n",
" n_batches += 1\n",
" _, c = sess.run(['train', 'cost:0'], feed_dict={'features:0': batch_x,\n",
" 'targets:0': batch_y.astype(np.int)})\n",
" avg_cost += c\n",
" \n",
" train_acc = sess.run('accuracy:0', feed_dict={'features:0': batch_x,\n",
" 'targets:0': batch_y})\n",
" \n",
" valid_acc = sess.run('accuracy:0', feed_dict={'features:0': valid_x,\n",
" 'targets:0': valid_y}) \n",
" \n",
" print(\"Epoch: %03d | AvgCost: %.3f\" % (epoch + 1, avg_cost / n_batches), end=\"\")\n",
" print(\" | MbTrain/Valid ACC: %.3f/%.3f\" % (train_acc, valid_acc))\n",
" \n",
" \n",
" # imagine test set is too large to fit into memory:\n",
" test_acc, cnt = 0., 0\n",
" for test_x, test_y in batch_loader.load_test_epoch(batch_size=100, \n",
" onehot=True): \n",
" cnt += 1\n",
" acc = sess.run(accuracy, feed_dict={'features:0': test_x,\n",
" 'targets:0': test_y})\n",
" test_acc += acc\n",
" print('Test ACC: %.3f' % (test_acc / cnt))"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
| Jupyter Notebook | 5 | sunspai1/Deep-Leaanirng-Models | tensorflow1_ipynb/mechanics/image-data-chunking-hdf5.ipynb | [
"MIT"
] |
package com.baeldung.exception.indexoutofbounds;
import java.util.Collections;
import java.util.List;
public class CopyListUsingCollectionsCopyMethodDemo {
static void copyList(List<Integer> source, List<Integer> destination) {
Collections.copy(destination, source);
}
}
| Java | 3 | DBatOWL/tutorials | core-java-modules/core-java-exceptions-3/src/main/java/com/baeldung/exception/indexoutofbounds/CopyListUsingCollectionsCopyMethodDemo.java | [
"MIT"
] |
/**
* @typedef {Object} TraversalCallbacks
*
* @property {function(node: BinaryTreeNode, child: BinaryTreeNode): boolean} allowTraversal
* - Determines whether DFS should traverse from the node to its child.
*
* @property {function(node: BinaryTreeNode)} enterNode - Called when DFS enters the node.
*
* @property {function(node: BinaryTreeNode)} leaveNode - Called when DFS leaves the node.
*/
/**
* Extend missing traversal callbacks with default callbacks.
*
* @param {TraversalCallbacks} [callbacks] - The object that contains traversal callbacks.
* @returns {TraversalCallbacks} - Traversal callbacks extended with defaults callbacks.
*/
function initCallbacks(callbacks = {}) {
// Init empty callbacks object.
const initiatedCallbacks = {};
// Empty callback that we will use in case if user didn't provide real callback function.
const stubCallback = () => {};
// By default we will allow traversal of every node
// in case if user didn't provide a callback for that.
const defaultAllowTraversalCallback = () => true;
// Copy original callbacks to our initiatedCallbacks object or use default callbacks instead.
initiatedCallbacks.allowTraversal = callbacks.allowTraversal || defaultAllowTraversalCallback;
initiatedCallbacks.enterNode = callbacks.enterNode || stubCallback;
initiatedCallbacks.leaveNode = callbacks.leaveNode || stubCallback;
// Returned processed list of callbacks.
return initiatedCallbacks;
}
/**
* Recursive depth-first-search traversal for binary.
*
* @param {BinaryTreeNode} node - binary tree node that we will start traversal from.
* @param {TraversalCallbacks} callbacks - the object that contains traversal callbacks.
*/
export function depthFirstSearchRecursive(node, callbacks) {
// Call the "enterNode" callback to notify that the node is going to be entered.
callbacks.enterNode(node);
// Traverse left branch only if case if traversal of the left node is allowed.
if (node.left && callbacks.allowTraversal(node, node.left)) {
depthFirstSearchRecursive(node.left, callbacks);
}
// Traverse right branch only if case if traversal of the right node is allowed.
if (node.right && callbacks.allowTraversal(node, node.right)) {
depthFirstSearchRecursive(node.right, callbacks);
}
// Call the "leaveNode" callback to notify that traversal
// of the current node and its children is finished.
callbacks.leaveNode(node);
}
/**
* Perform depth-first-search traversal of the rootNode.
* For every traversal step call "allowTraversal", "enterNode" and "leaveNode" callbacks.
* See TraversalCallbacks type definition for more details about the shape of callbacks object.
*
* @param {BinaryTreeNode} rootNode - The node from which we start traversing.
* @param {TraversalCallbacks} [callbacks] - Traversal callbacks.
*/
export default function depthFirstSearch(rootNode, callbacks) {
// In case if user didn't provide some callback we need to replace them with default ones.
const processedCallbacks = initCallbacks(callbacks);
// Now, when we have all necessary callbacks we may proceed to recursive traversal.
depthFirstSearchRecursive(rootNode, processedCallbacks);
}
| JavaScript | 5 | buledong/javascript-algorithms | src/algorithms/tree/depth-first-search/depthFirstSearch.js | [
"MIT"
] |
#NoTrayIcon
#Region AutoIt3Wrapper directives section
#AutoIt3Wrapper_Icon=IDM.ico
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseUpx=Y
#EndRegion AutoIt3Wrapper directives section
#Region Includes
#include <core.au3>
#include <GUIConstantsEx.au3>
#include <Misc.au3>
#EndRegion Includes
_Singleton(@ScriptName)
#Region Options
Opt('MustDeclareVars', 1)
Opt('GUICloseOnESC', 0)
Opt('TrayMenuMode', 1)
#EndRegion Options
; Script Start - Add your code below here
If $CmdLine[0] = 0 Then
GUI()
Else
Switch $CmdLine[1]
Case '/trial'
TrialSilent()
clearTemp()
Case Else
GUI()
EndSwitch
EndIf
Func GUI()
#Region ### START Koda GUI section ###
Local $GUI = GUICreate('IDM trial reset', 325, 112)
Local $tabMain = GUICtrlCreateTab(1, 0, 325, 112)
Local $tabTrialReset = GUICtrlCreateTabItem('Trial reset')
Local $btReset = GUICtrlCreateButton('Reset the IDM trial now', 78, 40, 180, 35)
GUICtrlSetCursor(-1, 0)
Local $cbAutorun = GUICtrlCreateCheckbox('Automatically', 128, 80, 80, 20)
Local $tabRegister = GUICtrlCreateTabItem('Register')
Local $btReg = GUICtrlCreateButton('Register IDM now', 78, 40, 180, 35)
GUICtrlSetCursor(-1, 0)
Local $lbReg = GUICtrlCreateLabel('If IDM will be blocked then Register again or use Trial reset', 27, 80, 282, 17)
Local $tabHelp = GUICtrlCreateTabItem('Help')
GUICtrlSetState(-1, $GUI_SHOW)
Local $lbHelp = GUICtrlCreateLabel('', 15, 35, 308, 50)
GUICtrlSetData(-1, StringFormat('Trial reset ---> Reset the IDM trial, fix blocked, fake serial...\r\nRegister -----> Register IDM'))
Local $btForum = GUICtrlCreateButton('Chat about this tool', 45, 73, 115, 25)
GUICtrlSetCursor(-1, 0)
Local $btUpdate = GUICtrlCreateButton('Check for update', 166, 73, 105, 25)
GUICtrlSetCursor(-1, 0)
GUICtrlCreateTabItem('')
GUICtrlSetState($cbAutorun, $isAuto ? 1 : 4)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
Local $nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
clearTemp()
GUIDelete($GUI)
Exit
Case $btReset
GUICtrlSetData($btReset, 'Please wait...')
Trial()
GUICtrlSetData($btReset, 'Reset the IDM trial now')
MsgBox(262144, 'Reset IDM trial', 'You have 30 day trial now!')
Case $cbAutorun
If GUICtrlRead($cbAutorun) = 1 Then
GUICtrlSetData($btReset, 'Please wait...')
Trial()
autorun('trial')
GUICtrlSetData($btReset, 'Reset the IDM trial now')
MsgBox(262144, 'Auto reset', 'The IDM trial will be reset automatically.')
Else
autorun('off')
MsgBox(262144, 'Auto reset', 'The IDM trial will NOT be reset automatically.')
EndIf
Case $btReg
Local $Name = InputBox('Register IDM', 'Type your name here: ', 'IDM trial reset', '', '', '130')
If @error <> 1 Then
If StringLen($Name) = 0 Then $Name = 'IDM trial reset'
GUICtrlSetData($btReg, 'Please wait...')
Register($Name)
GUICtrlSetState($cbAutorun, 4)
GUICtrlSetData($btReg, 'Register IDM now')
MsgBox(262144, 'Register IDM', 'IDM is registered now!')
EndIf
Case $btForum
ShellExecute($urlForum)
Case $btUpdate
GUICtrlSetData($btUpdate, 'Please wait...')
If GotUpdate() Then
Local $Download = (MsgBox(1, 'IDM trial reset', 'Update me now?') == 1)
If $Download Then ShellExecute($urlDownload)
Else
MsgBox(262144, 'IDM trial reset', 'No update was found!')
EndIf
GUICtrlSetData($btUpdate, 'Check for update')
EndSwitch
WEnd
EndFunc ;==>GUI
| AutoIt | 3 | lehieuit/idm-trial-reset | src/IDM Trial Reset.au3 | [
"MIT"
] |
import base64
import json
import unittest
from localstack.utils.aws.aws_stack import render_velocity_template
from localstack.utils.common import to_str
# template used to transform incoming requests at the API Gateway (forward to Kinesis)
APIGATEWAY_TRANSFORMATION_TEMPLATE = """{
"StreamName": "stream-1",
"Records": [
#set( $numRecords = $input.path('$.records').size() )
#if($numRecords > 0)
#set( $maxIndex = $numRecords - 1 )
#foreach( $idx in [0..$maxIndex] )
#set( $elem = $input.path("$.records[${idx}]") )
#set( $elemJsonB64 = $util.base64Encode($input.json("$.records[${idx}].data")) )
{
"Data": "$elemJsonB64",
"PartitionKey": #if( $elem.partitionKey != '')"$elem.partitionKey"
#else"$elemJsonB64.length()"#end
}#if($foreach.hasNext),#end
#end
#end
]
}"""
class TestMessageTransformation(unittest.TestCase):
def test_array_size(self):
template = "#set($list = $input.path('$.records')) $list.size()"
context = {"records": [{"data": {"foo": "bar1"}}, {"data": {"foo": "bar2"}}]}
result = render_velocity_template(template, context)
self.assertEqual(" 2", result)
result = render_velocity_template(template, json.dumps(context))
self.assertEqual(" 2", result)
def test_message_transformation(self):
template = APIGATEWAY_TRANSFORMATION_TEMPLATE
records = [
{"data": {"foo": "foo1", "bar": "bar2"}},
{"data": {"foo": "foo1", "bar": "bar2"}, "partitionKey": "key123"},
]
context = {"records": records}
def do_test(context):
result = render_velocity_template(template, context, as_json=True)
result_decoded = json.loads(to_str(base64.b64decode(result["Records"][0]["Data"])))
self.assertEqual(records[0]["data"], result_decoded)
self.assertGreater(len(result["Records"][0]["PartitionKey"]), 0)
self.assertEqual("key123", result["Records"][1]["PartitionKey"])
# try rendering the template
do_test(context)
# try again with context as string
do_test(json.dumps(context))
# test with empty array
records = []
context = {"records": records}
# try rendering the template
result = render_velocity_template(template, context, as_json=True)
self.assertEqual([], result["Records"])
def test_array_in_set_expr(self):
template = "#set ($bar = $input.path('$.foo')[1]) \n $bar"
context = {"foo": ["e1", "e2", "e3", "e4"]}
result = render_velocity_template(template, context).strip()
self.assertEqual("e2", result)
template = "#set ($bar = $input.path('$.foo')[1][1][1]) $bar"
context = {"foo": [["e1"], ["e2", ["e3", "e4"]]]}
result = render_velocity_template(template, context).strip()
self.assertEqual("e4", result)
def test_string_methods(self):
context = {"foo": {"bar": "BAZ baz"}}
template1 = "${foo.bar.strip().lower().replace(' ','-')}"
template2 = "${foo.bar.trim().toLowerCase().replace(' ','-')}"
for template in [template1, template2]:
result = render_velocity_template(template, {}, variables=context)
self.assertEqual("baz-baz", result)
def test_render_urlencoded_string_data(self):
template = "MessageBody=$util.base64Encode($input.json('$'))"
result = render_velocity_template(template, b'{"spam": "eggs"}')
self.assertEqual("MessageBody=eyJzcGFtIjogImVnZ3MifQ==", result)
| Python | 5 | jorges119/localstack | tests/unit/test_templating.py | [
"Apache-2.0"
] |
--TEST--
Bug #67325 (imagetruecolortopalette: white is duplicated in palette)
--EXTENSIONS--
gd
--SKIPIF--
<?php
if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.3', '<=')) {
die("skip test requires newer than GD 2.2.3");
}
if (!(imagetypes() & IMG_JPG)) die('skip JPEG support not available');
?>
--FILE--
<?php
$filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug67325.jpg';
$im = imagecreatefromjpeg($filename);
imagetruecolortopalette($im, 0, 256);
$white = 0;
for ($i = 0; $i < 256; $i++) {
$components = imagecolorsforindex($im, $i);
if ($components['red'] === 255 && $components['green'] === 255 && $components['blue'] === 255) {
$white++;
}
}
var_dump($white);
imagedestroy($im);
?>
--EXPECT--
int(0)
| PHP | 3 | NathanFreeman/php-src | ext/gd/tests/bug67325.phpt | [
"PHP-3.01"
] |
USING: io.pathnames llvm.reader llvm.wrappers tools.test ;
{ t } [
"resource:extra/llvm/wrappers/add.bc" absolute-path load-module
module?
] unit-test
| Factor | 2 | alex-ilin/factor | extra/llvm/reader/reader-tests.factor | [
"BSD-2-Clause"
] |
# Copyright Project Harbor Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License
*** Settings ***
Documentation This resource provides any keywords related to the Harbor private registry appliance
Resource Util.robot
*** Variables ***
${SSH_USER} root
*** Keywords ***
Prepare Test Tools
Wait Unitl Command Success tar zxvf /usr/local/bin/tools.tar.gz -C /usr/local/bin/
Get And Setup Harbor CA
[Arguments] ${ip} ${HARBOR_PASSWORD} ${ca_setup_keyword} ${ip1}==${EMPTY}
Run Keyword If '${ip1}' != '${EMPTY}' Run Keywords
... Get Harbor CA ${ip1} /drone/harbor_ca1.crt
... AND Run Keyword ${ca_setup_keyword} ${ip1} ${HARBOR_PASSWORD} /drone/harbor_ca1.crt
Get Harbor CA ${ip} /drone/harbor_ca.crt
Log To Console ${ca_setup_keyword} ...
Run Keyword ${ca_setup_keyword} ${ip} ${HARBOR_PASSWORD} /drone/harbor_ca.crt
Nightly Test Setup In Photon
[Arguments] ${ip} ${HARBOR_PASSWORD} ${ip1}==${EMPTY}
Get And Setup Harbor CA ${ip} ${HARBOR_PASSWORD} CA Setup In Photon ip1=${ip1}
Prepare Test Tools
Log To Console Start Docker Daemon Locally ...
Start Docker Daemon Locally
Log To Console Start Containerd Daemon Locally ...
Start Containerd Daemon Locally
Log To Console wget mariadb ...
Run wget ${prometheus_chart_file_url}
Prepare Helm Plugin
#Prepare docker image for push special image keyword in replication test
Run Keyword If '${DOCKER_USER}' != '${EMPTY}' Docker Login "" ${DOCKER_USER} ${DOCKER_PWD}
Nightly Test Setup In Ubuntu
[Arguments] ${ip} ${HARBOR_PASSWORD} ${ip1}==${EMPTY}
Get And Setup Harbor CA ${ip} ${HARBOR_PASSWORD} CA Setup In ubuntu ip1=${ip1}
Prepare Test Tools
Log To Console Start Docker Daemon Locally ...
Run Keyword Start Docker Daemon Locally
Prepare Helm Plugin
#Docker login
Run Keyword If '${DOCKER_USER}' != '${EMPTY}' Docker Login "" ${DOCKER_USER} ${DOCKER_PWD}
Nightly Test Setup In Ubuntu For Upgrade
[Arguments] ${ip} ${HARBOR_PASSWORD} ${ip1}==${EMPTY}
Get And Setup Harbor CA ${ip} ${HARBOR_PASSWORD} CA Setup In ubuntu ip1=${ip1}
Prepare Test Tools
Log To Console Start Docker Daemon Locally ...
Run Keyword Start Docker Daemon Locally
Prepare Helm Plugin
#For upgrade pipeline: get notary targets key from last execution.
${rc} ${output}= Run And Return Rc And Output [ -f "/key_store/private_keys_backup.tar.gz" ] && tar -zxvf /key_store/private_keys_backup.tar.gz -C /
#Docker login
Run Keyword If '${DOCKER_USER}' != '${EMPTY}' Docker Login "" ${DOCKER_USER} ${DOCKER_PWD}
CA Setup In ubuntu
[Arguments] ${ip} ${HARBOR_PASSWORD} ${cert}
Prepare Docker Cert In Ubuntu ${ip} ${cert}
#Generate Certificate Authority For Chrome ${HARBOR_PASSWORD}
CA Setup In Photon
[Arguments] ${ip} ${HARBOR_PASSWORD} ${cert}
Prepare Docker Cert In Photon ${ip} ${cert}
Collect Nightly Logs
[Arguments] ${ip} ${SSH_PWD} ${ip1}==${EMPTY}
Run Keyword Collect Logs ${ip} ${SSH_PWD}
Run Keyword If '${ip1}' != '${EMPTY}' Collect Logs ${ip1} ${SSH_PWD}
Collect Logs
[Arguments] ${ip} ${SSH_PWD}
Open Connection ${ip}
Login ${SSH_USER} ${SSH_PWD}
SSHLibrary.Get File /var/log/harbor/ui.log
SSHLibrary.Get File /var/log/harbor/registry.log
SSHLibrary.Get File /var/log/harbor/proxy.log
SSHLibrary.Get File /var/log/harbor/adminserver.log
SSHLibrary.Get File /var/log/harbor/jobservice.log
SSHLibrary.Get File /var/log/harbor/postgresql.log
SSHLibrary.Get File /var/log/harbor/notary-server.log
SSHLibrary.Get File /var/log/harbor/notary-signer.log
SSHLibrary.Get File /var/log/harbor/chartmuseum.log
SSHLibrary.Get File /var/log/harbor/registryctl.log
Run rename 's/^/${ip}/' *.log
Close All Connections
| RobotFramework | 3 | yxxhero/harbor | tests/resources/Nightly-Util.robot | [
"Apache-2.0"
] |
.q-knob
font-size: 48px
&--editable
cursor: pointer
outline: 0
&:before
content: ''
position: absolute
top: 0
right: 0
bottom: 0
left: 0
border-radius: 50%
box-shadow: none
transition: box-shadow .24s ease-in-out
&:focus:before
box-shadow: $shadow-4
| Sass | 4 | ygyg70/quasar | ui/src/components/knob/QKnob.sass | [
"MIT"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 colorGreen;
half4 colorRed;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
half2 tricky_h2hhh2h(half x, half y, thread half2& color, half z);
half2 _skOutParamHelper0_tricky_h2hhh2h(half _var0, half _var1, thread half4& color, half _var3) {
half2 _var2 = color.xz;
half2 _skResult = tricky_h2hhh2h(_var0, _var1, _var2, _var3);
color.xz = _var2;
return _skResult;
}
void func_vh4(thread half4& color);
void _skOutParamHelper1_func_vh4(thread half4& result) {
half4 _var0 = result;
func_vh4(_var0);
result = _var0;
}
half2 tricky_h2hhh2h(half x, half y, thread half2& color, half z) {
color = color.yx;
return half2(x + y, z);
}
void func_vh4(thread half4& color) {
half2 t = _skOutParamHelper0_tricky_h2hhh2h(1.0h, 2.0h, color, 5.0h);
color.yw = t;
}
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
Outputs _out;
(void)_out;
half4 result = half4(0.0h, 1.0h, 2.0h, 3.0h);
_skOutParamHelper1_func_vh4(result);
_out.sk_FragColor = all(result == half4(2.0h, 3.0h, 0.0h, 5.0h)) ? _uniforms.colorGreen : _uniforms.colorRed;
return _out;
}
| Metal | 4 | fourgrad/skia | tests/sksl/shared/OutParamsTricky.metal | [
"BSD-3-Clause"
] |
sleep 2
t app appmode photo_burst
sleep 1
t app burst_settings 3-1
sleep 1
t app button shutter PR
sleep 9
poweroff yes
reboot yes | AGS Script | 1 | waltersgrey/autoexechack | BurstHacks/BurstAndTurnOff/3:1/Hero3PlusBlack/autoexec.ash | [
"MIT"
] |
--TEST--
Bug #37212 (Access to protected property of common base class)
--FILE--
<?php
class A
{
protected $value;
public function __construct($val)
{
$this->value = $val;
}
protected function getValue()
{
return $this->value;
}
}
class B extends A
{
public function copyValue($obj)
{
$this->value = $obj->getValue();
$this->value = $obj->value; // value defined in common base class
}
}
class C extends A {}
$B = new B("B");
var_dump($B);
$C = new C("C");
var_dump($C);
$B->copyValue($C);
var_dump($B);
?>
--EXPECTF--
object(B)#%d (1) {
["value":protected]=>
string(1) "B"
}
object(C)#%d (1) {
["value":protected]=>
string(1) "C"
}
object(B)#%d (1) {
["value":protected]=>
string(1) "C"
}
| PHP | 3 | thiagooak/php-src | Zend/tests/bug37212.phpt | [
"PHP-3.01"
] |
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
cd $(dirname $0)/..
BASEDIR=`pwd`
cd -
rm -rf $BASEDIR/gen-java
mkdir -p $BASEDIR/gen-java
for input in `ls $BASEDIR/avro/*.avdl`; do
filename=$(basename "$input")
filename="${filename%.*}"
avro-tools idl $input> $BASEDIR/avro/${filename}.avpr
avro-tools compile -string protocol $BASEDIR/avro/${filename}.avpr $BASEDIR/gen-java
done
| Shell | 2 | OlegPt/spark | sql/core/src/test/scripts/gen-avro.sh | [
"Apache-2.0"
] |
KIDS Distribution saved on Sep 29, 2017@09:21:03
SAMI v18.0T02 from Andronicus to Avicenna 2017-09-29
**KIDS**:SAMI 18.0T02^
**INSTALL NAME**
SAMI 18.0T02
"BLD",10219,0)
SAMI 18.0T02^SAMI^0^3170929^n
"BLD",10219,4,0)
^9.64PA^311.107^17
"BLD",10219,4,311,0)
311
"BLD",10219,4,311,222)
y^y^f^^^^n
"BLD",10219,4,311.1,0)
311.1
"BLD",10219,4,311.1,222)
y^y^f^^^^n
"BLD",10219,4,311.101,0)
311.101
"BLD",10219,4,311.101,222)
y^y^f^^^^n
"BLD",10219,4,311.10112,0)
311.10112
"BLD",10219,4,311.10112,222)
y^y^f^^^^n
"BLD",10219,4,311.102,0)
311.102
"BLD",10219,4,311.102,222)
y^y^f^^^^n
"BLD",10219,4,311.103,0)
311.103
"BLD",10219,4,311.103,222)
y^y^f^^^^n
"BLD",10219,4,311.10313,0)
311.10313
"BLD",10219,4,311.10313,222)
y^y^f^^^^n
"BLD",10219,4,311.10316,0)
311.10316
"BLD",10219,4,311.10316,222)
y^y^f^^^^n
"BLD",10219,4,311.10317,0)
311.10317
"BLD",10219,4,311.10317,222)
y^y^f^^^^n
"BLD",10219,4,311.10321,0)
311.10321
"BLD",10219,4,311.10321,222)
y^y^f^^^^n
"BLD",10219,4,311.10322,0)
311.10322
"BLD",10219,4,311.10322,222)
y^y^f^^^^n
"BLD",10219,4,311.104,0)
311.104
"BLD",10219,4,311.104,222)
y^y^f^^^^n
"BLD",10219,4,311.105,0)
311.105
"BLD",10219,4,311.105,222)
y^y^f^^^^n
"BLD",10219,4,311.10511,0)
311.10511
"BLD",10219,4,311.10511,222)
y^y^f^^^^n
"BLD",10219,4,311.106,0)
311.106
"BLD",10219,4,311.106,222)
y^y^f^^^^n
"BLD",10219,4,311.10612,0)
311.10612
"BLD",10219,4,311.10612,222)
y^y^f^^^^n
"BLD",10219,4,311.107,0)
311.107
"BLD",10219,4,311.107,222)
y^y^f^^^^n
"BLD",10219,4,"B",311,311)
"BLD",10219,4,"B",311.1,311.1)
"BLD",10219,4,"B",311.101,311.101)
"BLD",10219,4,"B",311.10112,311.10112)
"BLD",10219,4,"B",311.102,311.102)
"BLD",10219,4,"B",311.103,311.103)
"BLD",10219,4,"B",311.10313,311.10313)
"BLD",10219,4,"B",311.10316,311.10316)
"BLD",10219,4,"B",311.10317,311.10317)
"BLD",10219,4,"B",311.10321,311.10321)
"BLD",10219,4,"B",311.10322,311.10322)
"BLD",10219,4,"B",311.104,311.104)
"BLD",10219,4,"B",311.105,311.105)
"BLD",10219,4,"B",311.10511,311.10511)
"BLD",10219,4,"B",311.106,311.106)
"BLD",10219,4,"B",311.10612,311.10612)
"BLD",10219,4,"B",311.107,311.107)
"BLD",10219,6.3)
2
"BLD",10219,"KRN",0)
^9.67PA^779.2^20
"BLD",10219,"KRN",.4,0)
.4
"BLD",10219,"KRN",.401,0)
.401
"BLD",10219,"KRN",.402,0)
.402
"BLD",10219,"KRN",.403,0)
.403
"BLD",10219,"KRN",.5,0)
.5
"BLD",10219,"KRN",.84,0)
.84
"BLD",10219,"KRN",3.6,0)
3.6
"BLD",10219,"KRN",3.8,0)
3.8
"BLD",10219,"KRN",9.2,0)
9.2
"BLD",10219,"KRN",9.8,0)
9.8
"BLD",10219,"KRN",19,0)
19
"BLD",10219,"KRN",19.1,0)
19.1
"BLD",10219,"KRN",101,0)
101
"BLD",10219,"KRN",409.61,0)
409.61
"BLD",10219,"KRN",771,0)
771
"BLD",10219,"KRN",779.2,0)
779.2
"BLD",10219,"KRN",870,0)
870
"BLD",10219,"KRN",8989.51,0)
8989.51
"BLD",10219,"KRN",8989.52,0)
8989.52
"BLD",10219,"KRN",8994,0)
8994
"BLD",10219,"KRN","B",.4,.4)
"BLD",10219,"KRN","B",.401,.401)
"BLD",10219,"KRN","B",.402,.402)
"BLD",10219,"KRN","B",.403,.403)
"BLD",10219,"KRN","B",.5,.5)
"BLD",10219,"KRN","B",.84,.84)
"BLD",10219,"KRN","B",3.6,3.6)
"BLD",10219,"KRN","B",3.8,3.8)
"BLD",10219,"KRN","B",9.2,9.2)
"BLD",10219,"KRN","B",9.8,9.8)
"BLD",10219,"KRN","B",19,19)
"BLD",10219,"KRN","B",19.1,19.1)
"BLD",10219,"KRN","B",101,101)
"BLD",10219,"KRN","B",409.61,409.61)
"BLD",10219,"KRN","B",771,771)
"BLD",10219,"KRN","B",779.2,779.2)
"BLD",10219,"KRN","B",870,870)
"BLD",10219,"KRN","B",8989.51,8989.51)
"BLD",10219,"KRN","B",8989.52,8989.52)
"BLD",10219,"KRN","B",8994,8994)
"BLD",10219,"QDEF")
^^^^NO^^^^NO^^NO
"BLD",10219,"QUES",0)
^9.62^^
"FIA",311)
SAMI CASE REVIEW
"FIA",311,0)
^SAMI(311,
"FIA",311,0,0)
311
"FIA",311,0,1)
y^y^f^^^^n
"FIA",311,0,10)
"FIA",311,0,11)
"FIA",311,0,"RLRO")
"FIA",311,0,"VR")
18.0T02^SAMI
"FIA",311,311)
0
"FIA",311.1)
SAMI FORM
"FIA",311.1,0)
^SAMI(311.1,
"FIA",311.1,0,0)
311.1
"FIA",311.1,0,1)
y^y^f^^^^n
"FIA",311.1,0,10)
"FIA",311.1,0,11)
"FIA",311.1,0,"RLRO")
"FIA",311.1,0,"VR")
18.0T02^SAMI
"FIA",311.1,311.1)
0
"FIA",311.1,311.11)
0
"FIA",311.101)
SAMI INTAKE
"FIA",311.101,0)
^SAMI(311.101,
"FIA",311.101,0,0)
311.101
"FIA",311.101,0,1)
y^y^f^^^^n
"FIA",311.101,0,10)
"FIA",311.101,0,11)
"FIA",311.101,0,"RLRO")
"FIA",311.101,0,"VR")
18.0T02^SAMI
"FIA",311.101,311.101)
0
"FIA",311.101,311.10111)
0
"FIA",311.10112)
SAMI PATIENT STATUS
"FIA",311.10112,0)
^SAMI(311.10112,
"FIA",311.10112,0,0)
311.10112
"FIA",311.10112,0,1)
y^y^f^^^^n
"FIA",311.10112,0,10)
"FIA",311.10112,0,11)
"FIA",311.10112,0,"RLRO")
"FIA",311.10112,0,"VR")
18.0T02^SAMI
"FIA",311.10112,311.10112)
0
"FIA",311.102)
SAMI BACKGROUND
"FIA",311.102,0)
^SAMI(311.102,
"FIA",311.102,0,0)
311.102
"FIA",311.102,0,1)
y^y^f^^^^n
"FIA",311.102,0,10)
"FIA",311.102,0,11)
"FIA",311.102,0,"RLRO")
"FIA",311.102,0,"VR")
18.0T02^SAMI
"FIA",311.102,311.102)
0
"FIA",311.102,311.10211)
0
"FIA",311.102,311.10212)
0
"FIA",311.102,311.10213)
0
"FIA",311.102,311.10214)
0
"FIA",311.102,311.10215)
0
"FIA",311.103)
SAMI CT EVAL
"FIA",311.103,0)
^SAMI(311.103,
"FIA",311.103,0,0)
311.103
"FIA",311.103,0,1)
y^y^f^^^^n
"FIA",311.103,0,10)
"FIA",311.103,0,11)
"FIA",311.103,0,"RLRO")
"FIA",311.103,0,"VR")
18.0T02^SAMI
"FIA",311.103,311.103)
0
"FIA",311.103,311.10311)
0
"FIA",311.103,311.10312)
0
"FIA",311.103,311.10314)
0
"FIA",311.103,311.10315)
0
"FIA",311.103,311.10318)
0
"FIA",311.103,311.10319)
0
"FIA",311.103,311.113)
0
"FIA",311.103,311.123)
0
"FIA",311.103,311.133)
0
"FIA",311.103,311.143)
0
"FIA",311.103,311.153)
0
"FIA",311.103,311.163)
0
"FIA",311.103,311.173)
0
"FIA",311.10313)
SAMI CT NODULE NEW
"FIA",311.10313,0)
^SAMI(311.10313,
"FIA",311.10313,0,0)
311.10313
"FIA",311.10313,0,1)
y^y^f^^^^n
"FIA",311.10313,0,10)
"FIA",311.10313,0,11)
"FIA",311.10313,0,"RLRO")
"FIA",311.10313,0,"VR")
18.0T02^SAMI
"FIA",311.10313,311.10313)
0
"FIA",311.10316)
SAMI NODULE STATUS
"FIA",311.10316,0)
^SAMI(311.10316,
"FIA",311.10316,0,0)
311.10316
"FIA",311.10316,0,1)
y^y^f^^^^n
"FIA",311.10316,0,10)
"FIA",311.10316,0,11)
"FIA",311.10316,0,"RLRO")
"FIA",311.10316,0,"VR")
18.0T02^SAMI
"FIA",311.10316,311.10316)
0
"FIA",311.10317)
SAMI PATH DIAGNOSIS
"FIA",311.10317,0)
^SAMI(311.10317,
"FIA",311.10317,0,0)
311.10317
"FIA",311.10317,0,1)
y^y^f^^^^n
"FIA",311.10317,0,10)
"FIA",311.10317,0,11)
"FIA",311.10317,0,"RLRO")
"FIA",311.10317,0,"VR")
18.0T02^SAMI
"FIA",311.10317,311.10317)
0
"FIA",311.10321)
SAMI LYMPH NODES
"FIA",311.10321,0)
^SAMI(311.10321,
"FIA",311.10321,0,0)
311.10321
"FIA",311.10321,0,1)
y^y^f^^^^n
"FIA",311.10321,0,10)
"FIA",311.10321,0,11)
"FIA",311.10321,0,"RLRO")
"FIA",311.10321,0,"VR")
18.0T02^SAMI
"FIA",311.10321,311.10321)
0
"FIA",311.10322)
SAMI FOLLOWUP TYPE
"FIA",311.10322,0)
^SAMI(311.10322,
"FIA",311.10322,0,0)
311.10322
"FIA",311.10322,0,1)
y^y^f^^^^n
"FIA",311.10322,0,10)
"FIA",311.10322,0,11)
"FIA",311.10322,0,"RLRO")
"FIA",311.10322,0,"VR")
18.0T02^SAMI
"FIA",311.10322,311.10322)
0
"FIA",311.104)
SAMI FOLLOWUP
"FIA",311.104,0)
^SAMI(311.104,
"FIA",311.104,0,0)
311.104
"FIA",311.104,0,1)
y^y^f^^^^n
"FIA",311.104,0,10)
"FIA",311.104,0,11)
"FIA",311.104,0,"RLRO")
"FIA",311.104,0,"VR")
18.0T02^SAMI
"FIA",311.104,311.104)
0
"FIA",311.104,311.114)
0
"FIA",311.104,311.124)
0
"FIA",311.104,311.134)
0
"FIA",311.104,311.144)
0
"FIA",311.105)
SAMI BIOPSY
"FIA",311.105,0)
^SAMI(311.105,
"FIA",311.105,0,0)
311.105P
"FIA",311.105,0,1)
y^y^f^^^^n
"FIA",311.105,0,10)
"FIA",311.105,0,11)
"FIA",311.105,0,"RLRO")
"FIA",311.105,0,"VR")
18.0T02^SAMI
"FIA",311.105,311.105)
0
"FIA",311.105,311.10512)
0
"FIA",311.10511)
SAMI LESION SITE
"FIA",311.10511,0)
^SAMI(311.10511,
"FIA",311.10511,0,0)
311.10511
"FIA",311.10511,0,1)
y^y^f^^^^n
"FIA",311.10511,0,10)
"FIA",311.10511,0,11)
"FIA",311.10511,0,"RLRO")
"FIA",311.10511,0,"VR")
18.0T02^SAMI
"FIA",311.10511,311.10511)
0
"FIA",311.106)
SAMI PET EVALUATION
"FIA",311.106,0)
^SAMI(311.106,
"FIA",311.106,0,0)
311.106P
"FIA",311.106,0,1)
y^y^f^^^^n
"FIA",311.106,0,10)
"FIA",311.106,0,11)
"FIA",311.106,0,"RLRO")
"FIA",311.106,0,"VR")
18.0T02^SAMI
"FIA",311.106,311.106)
0
"FIA",311.106,311.10611)
0
"FIA",311.106,311.10613)
0
"FIA",311.106,311.10614)
0
"FIA",311.106,311.10615)
0
"FIA",311.106,311.10616)
0
"FIA",311.106,311.10617)
0
"FIA",311.106,311.10618)
0
"FIA",311.10612)
SAMI NODULE NEW
"FIA",311.10612,0)
^SAMI(311.10612,
"FIA",311.10612,0,0)
311.10612
"FIA",311.10612,0,1)
y^y^f^^^^n
"FIA",311.10612,0,10)
"FIA",311.10612,0,11)
"FIA",311.10612,0,"RLRO")
"FIA",311.10612,0,"VR")
18.0T02^SAMI
"FIA",311.10612,311.10612)
0
"FIA",311.107)
SAMI INTERVENTION
"FIA",311.107,0)
^SAMI(311.107,
"FIA",311.107,0,0)
311.107P
"FIA",311.107,0,1)
y^y^f^^^^n
"FIA",311.107,0,10)
"FIA",311.107,0,11)
"FIA",311.107,0,"RLRO")
"FIA",311.107,0,"VR")
18.0T02^SAMI
"FIA",311.107,311.107)
0
"IX",311.101,311.101,"ASIVSIDP",0)
311.101^ASIVSIDP^Identify Largest Permanent ID So Far^R^^F^IR^I^311.101^^^^^S
"IX",311.101,311.101,"ASIVSIDP",1)
S ^SAMI(311.101,"ASIVSIDP",X,DA)=""
"IX",311.101,311.101,"ASIVSIDP",2)
K ^SAMI(311.101,"ASIVSIDP",X,DA)
"IX",311.101,311.101,"ASIVSIDP",2.5)
K ^SAMI(311.101,"ASIVSIDP")
"IX",311.101,311.101,"ASIVSIDP",11.1,0)
^.114IA^1^1
"IX",311.101,311.101,"ASIVSIDP",11.1,1,0)
1^F^311.101^.03^^1^F
"IX",311.101,311.101,"ASIVSIDP",11.1,1,3)
"IX",311.101,311.101,"B",0)
311.101^B^Select Intake Forms by Study ID^R^^F^IR^I^311.101^^^^^LS
"IX",311.101,311.101,"B",.1,0)
^^3^3^3170816^
"IX",311.101,311.101,"B",.1,1,0)
Cross-reference B creates index B, which is file SAMI Intake's uniqueness
"IX",311.101,311.101,"B",.1,2,0)
index for its primary key, A. It lets SAMI Intake Form records be
"IX",311.101,311.101,"B",.1,3,0)
selected by field Study ID (.01).
"IX",311.101,311.101,"B",1)
S ^SAMI(311.101,"B",X,DA)=""
"IX",311.101,311.101,"B",2)
K ^SAMI(311.101,"B",X,DA)
"IX",311.101,311.101,"B",2.5)
K ^SAMI(311.101,"B")
"IX",311.101,311.101,"B",11.1,0)
^.114IA^1^1
"IX",311.101,311.101,"B",11.1,1,0)
1^F^311.101^.01^^1^F
"IX",311.101,311.101,"B",11.1,1,3)
"KEY",311.101,311.101,"A",0)
311.101^A^P^434
"KEY",311.101,311.101,"A",2,0)
^.312IA^1^1
"KEY",311.101,311.101,"A",2,1,0)
.01^311.101^1
"KEYPTR",311.101,311.101,"A")
311.101^B
"MBREQ")
0
"PKG",230,-1)
1^1
"PKG",230,0)
SAMI^SAMI^SCREENING APPLICATIONS MANAGEMENT - IELCAP
"PKG",230,5)
VEN
"PKG",230,22,0)
^9.49I^1^1
"PKG",230,22,1,0)
18.0T02^3170929
"PKG",230,"VERSION")
18.0T02
"QUES","XPF1",0)
Y
"QUES","XPF1","??")
^D REP^XPDH
"QUES","XPF1","A")
Shall I write over your |FLAG| File
"QUES","XPF1","B")
YES
"QUES","XPF1","M")
D XPF1^XPDIQ
"QUES","XPF2",0)
Y
"QUES","XPF2","??")
^D DTA^XPDH
"QUES","XPF2","A")
Want my data |FLAG| yours
"QUES","XPF2","B")
YES
"QUES","XPF2","M")
D XPF2^XPDIQ
"QUES","XPI1",0)
YO
"QUES","XPI1","??")
^D INHIBIT^XPDH
"QUES","XPI1","A")
Want KIDS to INHIBIT LOGONs during the install
"QUES","XPI1","B")
NO
"QUES","XPI1","M")
D XPI1^XPDIQ
"QUES","XPM1",0)
PO^VA(200,:EM
"QUES","XPM1","??")
^D MG^XPDH
"QUES","XPM1","A")
Enter the Coordinator for Mail Group '|FLAG|'
"QUES","XPM1","B")
"QUES","XPM1","M")
D XPM1^XPDIQ
"QUES","XPO1",0)
Y
"QUES","XPO1","??")
^D MENU^XPDH
"QUES","XPO1","A")
Want KIDS to Rebuild Menu Trees Upon Completion of Install
"QUES","XPO1","B")
NO
"QUES","XPO1","M")
D XPO1^XPDIQ
"QUES","XPZ1",0)
Y
"QUES","XPZ1","??")
^D OPT^XPDH
"QUES","XPZ1","A")
Want to DISABLE Scheduled Options, Menu Options, and Protocols
"QUES","XPZ1","B")
NO
"QUES","XPZ1","M")
D XPZ1^XPDIQ
"QUES","XPZ2",0)
Y
"QUES","XPZ2","??")
^D RTN^XPDH
"QUES","XPZ2","A")
Want to MOVE routines to other CPUs
"QUES","XPZ2","B")
NO
"QUES","XPZ2","M")
D XPZ2^XPDIQ
"SEC","^DIC",311,311,0,"AUDIT")
@
"SEC","^DIC",311,311,0,"DD")
@
"SEC","^DIC",311,311,0,"DEL")
@
"SEC","^DIC",311,311,0,"LAYGO")
@
"SEC","^DIC",311,311,0,"RD")
@
"SEC","^DIC",311,311,0,"WR")
@
"SEC","^DIC",311.1,311.1,0,"AUDIT")
@
"SEC","^DIC",311.1,311.1,0,"DD")
@
"SEC","^DIC",311.1,311.1,0,"DEL")
@
"SEC","^DIC",311.1,311.1,0,"LAYGO")
@
"SEC","^DIC",311.1,311.1,0,"RD")
@
"SEC","^DIC",311.1,311.1,0,"WR")
@
"SEC","^DIC",311.101,311.101,0,"AUDIT")
@
"SEC","^DIC",311.101,311.101,0,"DD")
@
"SEC","^DIC",311.101,311.101,0,"DEL")
@
"SEC","^DIC",311.101,311.101,0,"LAYGO")
@
"SEC","^DIC",311.101,311.101,0,"RD")
@
"SEC","^DIC",311.101,311.101,0,"WR")
@
"SEC","^DIC",311.10112,311.10112,0,"AUDIT")
@
"SEC","^DIC",311.10112,311.10112,0,"DD")
@
"SEC","^DIC",311.10112,311.10112,0,"DEL")
@
"SEC","^DIC",311.10112,311.10112,0,"LAYGO")
@
"SEC","^DIC",311.10112,311.10112,0,"RD")
@
"SEC","^DIC",311.10112,311.10112,0,"WR")
@
"SEC","^DIC",311.102,311.102,0,"AUDIT")
@
"SEC","^DIC",311.102,311.102,0,"DD")
@
"SEC","^DIC",311.102,311.102,0,"DEL")
@
"SEC","^DIC",311.102,311.102,0,"LAYGO")
@
"SEC","^DIC",311.102,311.102,0,"RD")
@
"SEC","^DIC",311.102,311.102,0,"WR")
@
"SEC","^DIC",311.103,311.103,0,"AUDIT")
@
"SEC","^DIC",311.103,311.103,0,"DD")
@
"SEC","^DIC",311.103,311.103,0,"DEL")
@
"SEC","^DIC",311.103,311.103,0,"LAYGO")
@
"SEC","^DIC",311.103,311.103,0,"RD")
@
"SEC","^DIC",311.103,311.103,0,"WR")
@
"SEC","^DIC",311.10313,311.10313,0,"AUDIT")
@
"SEC","^DIC",311.10313,311.10313,0,"DD")
@
"SEC","^DIC",311.10313,311.10313,0,"DEL")
@
"SEC","^DIC",311.10313,311.10313,0,"LAYGO")
@
"SEC","^DIC",311.10313,311.10313,0,"RD")
@
"SEC","^DIC",311.10313,311.10313,0,"WR")
@
"SEC","^DIC",311.10316,311.10316,0,"AUDIT")
@
"SEC","^DIC",311.10316,311.10316,0,"DD")
@
"SEC","^DIC",311.10316,311.10316,0,"DEL")
@
"SEC","^DIC",311.10316,311.10316,0,"LAYGO")
@
"SEC","^DIC",311.10316,311.10316,0,"RD")
@
"SEC","^DIC",311.10316,311.10316,0,"WR")
@
"SEC","^DIC",311.10317,311.10317,0,"AUDIT")
@
"SEC","^DIC",311.10317,311.10317,0,"DD")
@
"SEC","^DIC",311.10317,311.10317,0,"DEL")
@
"SEC","^DIC",311.10317,311.10317,0,"LAYGO")
@
"SEC","^DIC",311.10317,311.10317,0,"RD")
@
"SEC","^DIC",311.10317,311.10317,0,"WR")
@
"SEC","^DIC",311.10321,311.10321,0,"AUDIT")
@
"SEC","^DIC",311.10321,311.10321,0,"DD")
@
"SEC","^DIC",311.10321,311.10321,0,"DEL")
@
"SEC","^DIC",311.10321,311.10321,0,"LAYGO")
@
"SEC","^DIC",311.10321,311.10321,0,"RD")
@
"SEC","^DIC",311.10321,311.10321,0,"WR")
@
"SEC","^DIC",311.10322,311.10322,0,"AUDIT")
@
"SEC","^DIC",311.10322,311.10322,0,"DD")
@
"SEC","^DIC",311.10322,311.10322,0,"DEL")
@
"SEC","^DIC",311.10322,311.10322,0,"LAYGO")
@
"SEC","^DIC",311.10322,311.10322,0,"RD")
@
"SEC","^DIC",311.10322,311.10322,0,"WR")
@
"SEC","^DIC",311.104,311.104,0,"AUDIT")
@
"SEC","^DIC",311.104,311.104,0,"DD")
@
"SEC","^DIC",311.104,311.104,0,"DEL")
@
"SEC","^DIC",311.104,311.104,0,"LAYGO")
@
"SEC","^DIC",311.104,311.104,0,"RD")
@
"SEC","^DIC",311.104,311.104,0,"WR")
@
"SEC","^DIC",311.105,311.105,0,"AUDIT")
@
"SEC","^DIC",311.105,311.105,0,"DD")
@
"SEC","^DIC",311.105,311.105,0,"DEL")
@
"SEC","^DIC",311.105,311.105,0,"LAYGO")
@
"SEC","^DIC",311.105,311.105,0,"RD")
@
"SEC","^DIC",311.105,311.105,0,"WR")
@
"SEC","^DIC",311.10511,311.10511,0,"AUDIT")
@
"SEC","^DIC",311.10511,311.10511,0,"DD")
@
"SEC","^DIC",311.10511,311.10511,0,"DEL")
@
"SEC","^DIC",311.10511,311.10511,0,"LAYGO")
@
"SEC","^DIC",311.10511,311.10511,0,"RD")
@
"SEC","^DIC",311.10511,311.10511,0,"WR")
@
"SEC","^DIC",311.106,311.106,0,"AUDIT")
@
"SEC","^DIC",311.106,311.106,0,"DD")
@
"SEC","^DIC",311.106,311.106,0,"DEL")
@
"SEC","^DIC",311.106,311.106,0,"LAYGO")
@
"SEC","^DIC",311.106,311.106,0,"RD")
@
"SEC","^DIC",311.106,311.106,0,"WR")
@
"SEC","^DIC",311.10612,311.10612,0,"AUDIT")
@
"SEC","^DIC",311.10612,311.10612,0,"DD")
@
"SEC","^DIC",311.10612,311.10612,0,"DEL")
@
"SEC","^DIC",311.10612,311.10612,0,"LAYGO")
@
"SEC","^DIC",311.10612,311.10612,0,"RD")
@
"SEC","^DIC",311.10612,311.10612,0,"WR")
@
"SEC","^DIC",311.107,311.107,0,"AUDIT")
@
"SEC","^DIC",311.107,311.107,0,"DD")
@
"SEC","^DIC",311.107,311.107,0,"DEL")
@
"SEC","^DIC",311.107,311.107,0,"LAYGO")
@
"SEC","^DIC",311.107,311.107,0,"RD")
@
"SEC","^DIC",311.107,311.107,0,"WR")
@
"VER")
8.0^22.2
"^DD",311,311,0)
FIELD^^2^5
"^DD",311,311,0,"DT")
3170912
"^DD",311,311,0,"IX","B",311,.01)
"^DD",311,311,0,"NM","SAMI CASE REVIEW")
"^DD",311,311,.01,0)
CASE ID^RFJ20^^0;1^K:$L(X)>20!($L(X)<3) X
"^DD",311,311,.01,.1)
Case ID
"^DD",311,311,.01,1,0)
^.1
"^DD",311,311,.01,1,1,0)
311^B
"^DD",311,311,.01,1,1,1)
S ^SAMI(311,"B",$E(X,1,30),DA)=""
"^DD",311,311,.01,1,1,2)
K ^SAMI(311,"B",$E(X,1,30),DA)
"^DD",311,311,.01,3)
Answer must be 3-20 characters in length.
"^DD",311,311,.01,"DT")
3170911
"^DD",311,311,.02,0)
LAST NAME^FJ20^^0;2^K:$L(X)>20!($L(X)<2) X
"^DD",311,311,.02,3)
Answer must be 2-20 characters in length.
"^DD",311,311,.02,"DT")
3170911
"^DD",311,311,.03,0)
FIRST NAME^FJ20^^0;3^K:$L(X)>20!($L(X)<2) X
"^DD",311,311,.03,.1)
First name
"^DD",311,311,.03,3)
Answer must be 2-20 characters in length.
"^DD",311,311,.03,"DT")
3170912
"^DD",311,311,1,0)
MRN^RFJ15^^0;4^K:$L(X)>15!($L(X)<5) X
"^DD",311,311,1,3)
Answer must be 5-15 characters in length.
"^DD",311,311,1,"DT")
3170911
"^DD",311,311,2,0)
FORM TYPE^P311.1'^SAMI(311.1,^0;5^Q
"^DD",311,311,2,"DT")
3170912
"^DD",311.1,311.1,0)
FIELD^^1^3
"^DD",311.1,311.1,0,"DT")
3170912
"^DD",311.1,311.1,0,"IX","B",311.1,.01)
"^DD",311.1,311.1,0,"NM","SAMI FORM")
"^DD",311.1,311.1,0,"PT",311,2)
"^DD",311.1,311.1,.01,0)
NAME OF FORM^RFJ40^^0;1^K:$L(X)>40!($L(X)<3) X
"^DD",311.1,311.1,.01,.1)
Name of form
"^DD",311.1,311.1,.01,1,0)
^.1
"^DD",311.1,311.1,.01,1,1,0)
311.1^B
"^DD",311.1,311.1,.01,1,1,1)
S ^SAMI(311.1,"B",$E(X,1,30),DA)=""
"^DD",311.1,311.1,.01,1,1,2)
K ^SAMI(311.1,"B",$E(X,1,30),DA)
"^DD",311.1,311.1,.01,3)
Answer must be 3-40 characters in length.
"^DD",311.1,311.1,.01,"DT")
3170912
"^DD",311.1,311.1,.02,0)
DD NUMBER^FJ15^^0;2^K:$L(X)>15!($L(X)<1) X
"^DD",311.1,311.1,.02,3)
Answer must be 1-15 characters in length.
"^DD",311.1,311.1,.02,"DT")
3170912
"^DD",311.1,311.1,1,0)
ACTION^311.11SA^^1;0
"^DD",311.1,311.11,0)
ACTION SUB-FIELD^^.01^1
"^DD",311.1,311.11,0,"DT")
3170912
"^DD",311.1,311.11,0,"IX","B",311.11,.01)
"^DD",311.1,311.11,0,"NM","ACTION")
"^DD",311.1,311.11,0,"UP")
311.1
"^DD",311.1,311.11,.01,0)
ACTION^MS^p:Preview;n:New Form;s:Schedule;r:Report;^0;1^Q
"^DD",311.1,311.11,.01,1,0)
^.1
"^DD",311.1,311.11,.01,1,1,0)
311.11^B
"^DD",311.1,311.11,.01,1,1,1)
S ^SAMI(311.1,DA(1),1,"B",$E(X,1,30),DA)=""
"^DD",311.1,311.11,.01,1,1,2)
K ^SAMI(311.1,DA(1),1,"B",$E(X,1,30),DA)
"^DD",311.1,311.11,.01,"DT")
3170912
"^DD",311.101,311.101,0)
FIELD^^6.08^81
"^DD",311.101,311.101,0,"DT")
3170928
"^DD",311.101,311.101,0,"NM","SAMI INTAKE")
"^DD",311.101,311.101,0,"PT",311.105,.01)
"^DD",311.101,311.101,0,"PT",311.106,.01)
"^DD",311.101,311.101,0,"PT",311.107,.01)
"^DD",311.101,311.101,.01,0)
Study ID^RFJ15a^^0;1^K:$L(X)>15!($L(X)<3)!'(X?2.6U1.9N) X
"^DD",311.101,311.101,.01,.1)
sisid
"^DD",311.101,311.101,.01,1,0)
^.1^^0
"^DD",311.101,311.101,.01,3)
Answer must be 3-15 characters in length, two to six letters followed by one to nine digits. Enter ?? for more help.
"^DD",311.101,311.101,.01,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.01,21,0)
^.001^9^9^3170921^^
"^DD",311.101,311.101,.01,21,1,0)
This is the primary key field for SAMI Intake records. Every I-ELCAP
"^DD",311.101,311.101,.01,21,2,0)
participant will have a record with this field filled in. It is assigned
"^DD",311.101,311.101,.01,21,3,0)
automatically by the SAMI application according to the I-ELCAP protocol.
"^DD",311.101,311.101,.01,21,4,0)
During the enrollment process, this field will equal field Temporary ID
"^DD",311.101,311.101,.01,21,5,0)
(.02), for example, TM1 or TM42 or TM4321. After the enrollment process -
"^DD",311.101,311.101,.01,21,6,0)
once the participant and the ELCAP Coordinator have filled out the
"^DD",311.101,311.101,.01,21,7,0)
participant's SAMI Background record and the participant has undergone
"^DD",311.101,311.101,.01,21,8,0)
their initial low-dose CT scan, this field will equal field Permanent ID
"^DD",311.101,311.101,.01,21,9,0)
(.03), for example, VA7 or VA64 or VA1234.
"^DD",311.101,311.101,.01,23,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.01,23,1,0)
No equivalent field in Vista.
"^DD",311.101,311.101,.01,"AUDIT")
y
"^DD",311.101,311.101,.01,"DT")
3170925
"^DD",311.101,311.101,.02,0)
Temporary ID^RFJ15a^^0;2^K:$L(X)>15!($L(X)<3)!'(X?2.6U1.9N) X
"^DD",311.101,311.101,.02,.1)
sivsidt
"^DD",311.101,311.101,.02,3)
Answer must be 3-15 characters in length, two to six letters followed by one to nine digits. Enter ?? for more help.
"^DD",311.101,311.101,.02,10)
"^DD",311.101,311.101,.02,21,0)
^.001^9^9^3170921^^^
"^DD",311.101,311.101,.02,21,1,0)
This is a hidden field that helps temporarily define the Study ID field
"^DD",311.101,311.101,.02,21,2,0)
(.01) and thus the primary key for SAMI Intake records. Every I-ELCAP
"^DD",311.101,311.101,.02,21,3,0)
participant's record will include this field value. It is assigned
"^DD",311.101,311.101,.02,21,4,0)
automatically by the SAMI application according to the I-ELCAP protocol,
"^DD",311.101,311.101,.02,21,5,0)
equal to the record number prepended by the letters TM, for example, TM1
"^DD",311.101,311.101,.02,21,6,0)
or TM42 or TM4321. During the enrollment process, field Study ID (.01)
"^DD",311.101,311.101,.02,21,7,0)
equals this field, so it is used as the record's primary key value. After
"^DD",311.101,311.101,.02,21,8,0)
the enrollment process, Study ID is reassigned to the value of field
"^DD",311.101,311.101,.02,21,9,0)
Primary ID (.03), so the Temporary ID value stops being the primary key.
"^DD",311.101,311.101,.02,23,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.02,23,1,0)
No equivalent field in Vista.
"^DD",311.101,311.101,.02,"AUDIT")
y
"^DD",311.101,311.101,.02,"DT")
3170816
"^DD",311.101,311.101,.03,0)
Permanent ID^FJ15a^^0;3^K:$L(X)>15!($L(X)<3)!'(X?2.6U1.9N) X
"^DD",311.101,311.101,.03,.1)
sivsidp
"^DD",311.101,311.101,.03,3)
Answer must be 3-15 characters in length, two to six letters followed by one to nine digits. Enter ?? for more help.
"^DD",311.101,311.101,.03,10)
"^DD",311.101,311.101,.03,21,0)
^^11^11^3170921^
"^DD",311.101,311.101,.03,21,1,0)
Patients who enroll are assigned a permanent Study ID. The study
"^DD",311.101,311.101,.03,21,2,0)
coordinator changes the temporary ID into a permanent ID once the patient
"^DD",311.101,311.101,.03,21,3,0)
has visited for their study appointment and completed the background
"^DD",311.101,311.101,.03,21,4,0)
questionnaire and CT scan. The coordinator must assign a unique Study
"^DD",311.101,311.101,.03,21,5,0)
identifier (Study ID) to the participant by clicking on the "Assign ID"
"^DD",311.101,311.101,.03,21,6,0)
button on the Intake System. The Intake System will automatically assign
"^DD",311.101,311.101,.03,21,7,0)
the next available Study ID. Each site is assigned a two-letter code for
"^DD",311.101,311.101,.03,21,8,0)
their site to be used for Study ID assignments. Each site assigns its
"^DD",311.101,311.101,.03,21,9,0)
permanent Study IDs using this special code, beginning with XX0001, then
"^DD",311.101,311.101,.03,21,10,0)
XX0002, and so on. IDs should be assigned in chronological order
"^DD",311.101,311.101,.03,21,11,0)
according to the date of the CT scan.
"^DD",311.101,311.101,.03,23,0)
^.001^1^1^3170921^^^
"^DD",311.101,311.101,.03,23,1,0)
No equivalent field in Vista.
"^DD",311.101,311.101,.03,"AUDIT")
y
"^DD",311.101,311.101,.03,"DT")
3170816
"^DD",311.101,311.101,.04,0)
Former Study ID^FJ15a^^0;4^K:$L(X)>15!($L(X)<3)!'(X?2.6U1.9N) X
"^DD",311.101,311.101,.04,.1)
sifsid
"^DD",311.101,311.101,.04,3)
Answer must be 3-11 characters in length, two to six letters followed by one to nine digits. Enter ?? for more help.
"^DD",311.101,311.101,.04,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.04,21,0)
^^2^2^3170921^
"^DD",311.101,311.101,.04,21,1,0)
If the participant has changed Study IDs, enter their former ID here. This
"^DD",311.101,311.101,.04,21,2,0)
can happen, for example, if a participant moves from one site to another.
"^DD",311.101,311.101,.04,23,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.04,23,1,0)
No equivalent field in Vista.
"^DD",311.101,311.101,.04,"AUDIT")
y
"^DD",311.101,311.101,.04,"DT")
3170816
"^DD",311.101,311.101,.05,0)
Patient Name^RFJ30a^^0;5^K:$L(X)>30!($L(X)<3) X
"^DD",311.101,311.101,.05,.1)
sivname
"^DD",311.101,311.101,.05,3)
Answer must be 3-30 characters in length.
"^DD",311.101,311.101,.05,10)
"^DD",311.101,311.101,.05,21,0)
^^1^1^3170921^
"^DD",311.101,311.101,.05,21,1,0)
The name of the patient: LASTNAME,FIRSTNAME MI.
"^DD",311.101,311.101,.05,23,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.05,23,1,0)
Equivalent field in Vista is field Name (.01) in file Patient (2) [node
"^DD",311.101,311.101,.05,23,2,0)
0; piece 1].
"^DD",311.101,311.101,.05,"AUDIT")
y
"^DD",311.101,311.101,.05,"DT")
3170816
"^DD",311.101,311.101,.06,0)
Patient Name (Last)^RFJ35aX^^0;6^K:$L(X)>35!($L(X)<1)!'(X?1U.UNP)!(X["`") X
"^DD",311.101,311.101,.06,.1)
sinamel
"^DD",311.101,311.101,.06,3)
Answer must be 1-35 characters in length. Answer ?? for more help.
"^DD",311.101,311.101,.06,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.06,21,0)
^.001^3^3^3170921^^
"^DD",311.101,311.101,.06,21,1,0)
Answer with the person's family (last) name. It must begin with an
"^DD",311.101,311.101,.06,21,2,0)
upper-case letter and can contain only upper-case letters, numbers, and
"^DD",311.101,311.101,.06,21,3,0)
punctuation, excluding circumflexes (^) and grave accents (`).
"^DD",311.101,311.101,.06,23,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.06,23,1,0)
Equivalent field in Vista is field Family (Last) Name (1) in file Name
"^DD",311.101,311.101,.06,23,2,0)
Components (20) [node 1; piece 1].
"^DD",311.101,311.101,.06,"AUDIT")
y
"^DD",311.101,311.101,.06,"DT")
3170816
"^DD",311.101,311.101,.07,0)
Patient Name (First)^RFJ25aX^^0;7^K:$L(X)>25!($L(X)<1)!'(X?1U.UNP)!(X["`") X
"^DD",311.101,311.101,.07,.1)
sinamef
"^DD",311.101,311.101,.07,3)
Answer must be 1-25 characters in length. Answer ?? for more help.
"^DD",311.101,311.101,.07,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.07,21,0)
^.001^3^3^3170921^^
"^DD",311.101,311.101,.07,21,1,0)
Answer with the person's given (first) name. It must begin with an
"^DD",311.101,311.101,.07,21,2,0)
upper-case letter and can contain only upper-case letters, numbers, and
"^DD",311.101,311.101,.07,21,3,0)
punctuation, excluding circumflexes (^) and grave accents (`).
"^DD",311.101,311.101,.07,23,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.07,23,1,0)
Equivalent field in Vista is field Given (First) Name (2) in file Name
"^DD",311.101,311.101,.07,23,2,0)
Components (20) [node 1; piece 2].
"^DD",311.101,311.101,.07,"AUDIT")
y
"^DD",311.101,311.101,.07,"DT")
3170816
"^DD",311.101,311.101,.08,0)
Date of Birth^Da^^0;8^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,.08,.1)
sidob
"^DD",311.101,311.101,.08,3)
Type a date after 1/1/1871. You may use any date format you choose.
"^DD",311.101,311.101,.08,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.08,21,0)
^.001^3^3^3170921^^
"^DD",311.101,311.101,.08,21,1,0)
Enter the patient's DATE OF BIRTH which must be later than 12/31/1870.
"^DD",311.101,311.101,.08,21,2,0)
DATE OF BIRTH cannot be a date after the beneficiary 'Ineligible Date' or
"^DD",311.101,311.101,.08,21,3,0)
a date after the 'Enrollment Application Date'.
"^DD",311.101,311.101,.08,23,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.08,23,1,0)
Equivalent field in Vista is field Date of Birth (.03) in file Patient
"^DD",311.101,311.101,.08,23,2,0)
(2) [node 0; piece 3].
"^DD",311.101,311.101,.08,"AUDIT")
y
"^DD",311.101,311.101,.08,"DT")
3170921
"^DD",311.101,311.101,.09,0)
Social Security Number^RFJ10a^^0;9^K:$L(X)>10!($L(X)<9) X
"^DD",311.101,311.101,.09,.1)
sissn
"^DD",311.101,311.101,.09,3)
Enter 9-digit SSN or 'P' for pseudo-SSN.
"^DD",311.101,311.101,.09,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.09,21,0)
^.001^14^14^3170921^^^
"^DD",311.101,311.101,.09,21,1,0)
Answer with the individual's social security number. Answer must be 9
"^DD",311.101,311.101,.09,21,2,0)
numbers in length. The SSN will be sent to the SSA for verification. This
"^DD",311.101,311.101,.09,21,3,0)
will be displayed next to the SSN. Once an SSN has received a status of
"^DD",311.101,311.101,.09,21,4,0)
Verified, it is locked from user updating and a "VERIFIED" will be
"^DD",311.101,311.101,.09,21,5,0)
displayed by the SSN field. Only the Identity Management Data QUality
"^DD",311.101,311.101,.09,21,6,0)
Team are able to change a beneficiary's (veteran/non veteran) SSN. If an
"^DD",311.101,311.101,.09,21,7,0)
Invalid per SSA status is received for the SSN, then an "INVALID" will
"^DD",311.101,311.101,.09,21,8,0)
appear next to the invalid SSN of the individual. Facilities should make
"^DD",311.101,311.101,.09,21,9,0)
every effort to obtain the accurate SSN from the individual for any
"^DD",311.101,311.101,.09,21,10,0)
invalid or pseudo SSN entry.
"^DD",311.101,311.101,.09,21,11,0)
"^DD",311.101,311.101,.09,21,12,0)
If a valid SSN is not known, then a "P" will be entered at the SSN prompt
"^DD",311.101,311.101,.09,21,13,0)
for the system to automatically assign a Pseudo-SSN. If a Pseudo SSN is
"^DD",311.101,311.101,.09,21,14,0)
entered, a Reason for entering it will be required.
"^DD",311.101,311.101,.09,"AUDIT")
y
"^DD",311.101,311.101,.09,"DT")
3170816
"^DD",311.101,311.101,.1,0)
Pseudo SSN Reason^Sa^R:REFUSED TO PROVIDE;S:SSN UNKNOWN/FOLLOW-UP REQUIRED;N:NO SSN ASSIGNED;T:TEST PATIENT;^0;10^Q
"^DD",311.101,311.101,.1,.1)
sivssnp
"^DD",311.101,311.101,.1,3)
Enter the code for the reason you needed a Pseudo SSN. Enter ?? for more information.
"^DD",311.101,311.101,.1,10)
"^DD",311.101,311.101,.1,21,0)
^.001^20^20^3170921^^^
"^DD",311.101,311.101,.1,21,1,0)
This field is used to document the reason the individual was assigned a
"^DD",311.101,311.101,.1,21,2,0)
pseudo SSN. Based on your selection, the Pseudo SSN Report (Patient)
"^DD",311.101,311.101,.1,21,3,0)
option located in the Registration Menu can provide you a current report
"^DD",311.101,311.101,.1,21,4,0)
of the reasons entered at this prompt. The following reasons are
"^DD",311.101,311.101,.1,21,5,0)
available for selection:
"^DD",311.101,311.101,.1,21,6,0)
"^DD",311.101,311.101,.1,21,7,0)
Refused to Provide - use this reason when the individual was asked for
"^DD",311.101,311.101,.1,21,8,0)
his/her SSN and refused to provide the number.
"^DD",311.101,311.101,.1,21,9,0)
"^DD",311.101,311.101,.1,21,10,0)
SSN Unknown/Follow-up required - use this reason when the individual is
"^DD",311.101,311.101,.1,21,11,0)
not available to ask/answer the request for SSN. The facility should
"^DD",311.101,311.101,.1,21,12,0)
initiate Follow-up activity to obtain the SSN.
"^DD",311.101,311.101,.1,21,13,0)
"^DD",311.101,311.101,.1,21,14,0)
No SSN Assigned - use this reason when the individual has not been
"^DD",311.101,311.101,.1,21,15,0)
assigned an SSN. This generally applies to spouse or dependents of
"^DD",311.101,311.101,.1,21,16,0)
veterans who are not US citizens and infrequently, non-citizen
"^DD",311.101,311.101,.1,21,17,0)
beneficiaries.
"^DD",311.101,311.101,.1,21,18,0)
"^DD",311.101,311.101,.1,21,19,0)
Test Patient - use this reason when the individual is not a real person,
"^DD",311.101,311.101,.1,21,20,0)
is only a patient record created to test system behavior.
"^DD",311.101,311.101,.1,"AUDIT")
y
"^DD",311.101,311.101,.1,"DT")
3170921
"^DD",311.101,311.101,.11,0)
Medical Record Number^FJ12a^^0;11^K:$L(X)>12!($L(X)<1) X
"^DD",311.101,311.101,.11,.1)
simrn
"^DD",311.101,311.101,.11,3)
Answer must be 1-12 characters in length.
"^DD",311.101,311.101,.11,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.11,21,0)
^^2^2^3170921^
"^DD",311.101,311.101,.11,21,1,0)
Enter the participant's medical record number, if available. You may
"^DD",311.101,311.101,.11,21,2,0)
leave this field blank.
"^DD",311.101,311.101,.11,"AUDIT")
y
"^DD",311.101,311.101,.11,"DT")
3170816
"^DD",311.101,311.101,.1101,0)
Patient Street Address^FJ35^^.11;1^K:$L(X)>35!($L(X)<5) X
"^DD",311.101,311.101,.1101,.1)
sipsa
"^DD",311.101,311.101,.1101,3)
Answer must be 5-35 characters in length.
"^DD",311.101,311.101,.1101,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1101,21,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.1101,21,1,0)
Enter the patient's street address (ex: 123 Main St.). Information on
"^DD",311.101,311.101,.1101,21,2,0)
city, state, and postal code can be entered in the next fields.
"^DD",311.101,311.101,.1101,"DT")
3170921
"^DD",311.101,311.101,.1102,0)
Patient Apartment Number^FJ6^^.11;2^K:$L(X)>6!($L(X)<1) X
"^DD",311.101,311.101,.1102,.1)
sipan
"^DD",311.101,311.101,.1102,3)
Answer must be 1-6 characters in length.
"^DD",311.101,311.101,.1102,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1102,21,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.1102,21,1,0)
If the patient lives in an apartment, enter the number here. You may
"^DD",311.101,311.101,.1102,21,2,0)
leave this field blank if the patient does not have an apartment number.
"^DD",311.101,311.101,.1102,"DT")
3170921
"^DD",311.101,311.101,.1103,0)
Patient City^FJ15^^.11;3^K:$L(X)>15!($L(X)<3) X
"^DD",311.101,311.101,.1103,.1)
sipc
"^DD",311.101,311.101,.1103,3)
Answer must be 3-15 characters in length.
"^DD",311.101,311.101,.1103,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1103,21,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.1103,21,1,0)
Enter the city or town where the patient lives.
"^DD",311.101,311.101,.1103,"DT")
3170921
"^DD",311.101,311.101,.1104,0)
Patient State^FJ3^^.11;4^K:$L(X)>3!($L(X)<1) X
"^DD",311.101,311.101,.1104,.1)
sips
"^DD",311.101,311.101,.1104,3)
Answer must be 1-3 characters in length.
"^DD",311.101,311.101,.1104,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1104,21,0)
^.001^3^3^3170921^^
"^DD",311.101,311.101,.1104,21,1,0)
Enter the postal abbreviation for the state or province where the patient
"^DD",311.101,311.101,.1104,21,2,0)
lives (ex: AZ for Arizona). If there is no state or province (for example,
"^DD",311.101,311.101,.1104,21,3,0)
for a non-US address), you may leave this field blank.
"^DD",311.101,311.101,.1104,"DT")
3170921
"^DD",311.101,311.101,.1105,0)
Patient Zip Code^FJ10^^.11;5^K:$L(X)>10!($L(X)<3) X
"^DD",311.101,311.101,.1105,.1)
sipz
"^DD",311.101,311.101,.1105,3)
Answer must be 3-10 characters in length.
"^DD",311.101,311.101,.1105,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1105,21,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.1105,21,1,0)
Enter the patient's zip code (or postal code).
"^DD",311.101,311.101,.1105,"DT")
3170921
"^DD",311.101,311.101,.1106,0)
Patient County^FJ30^^.11;6^K:$L(X)>30!($L(X)<5) X
"^DD",311.101,311.101,.1106,.1)
sipcn
"^DD",311.101,311.101,.1106,3)
Answer must be 5-30 characters in length.
"^DD",311.101,311.101,.1106,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1106,21,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.1106,21,1,0)
In what county does the patient live? You may leave this field blank.
"^DD",311.101,311.101,.1106,"DT")
3170921
"^DD",311.101,311.101,.1107,0)
Patient Country^FJ30^^.11;7^K:$L(X)>30!($L(X)<2) X
"^DD",311.101,311.101,.1107,.1)
sipcr
"^DD",311.101,311.101,.1107,3)
Answer must be 2-30 characters in length.
"^DD",311.101,311.101,.1107,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1107,21,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.1107,21,1,0)
In what country does the patient live? You may leave this field blank.
"^DD",311.101,311.101,.1107,"DT")
3170921
"^DD",311.101,311.101,.1108,0)
Patient Home Phone^FJ20^^.11;8^K:$L(X)>20!($L(X)<5) X
"^DD",311.101,311.101,.1108,.1)
siph
"^DD",311.101,311.101,.1108,3)
Answer must be 5-20 characters in length.
"^DD",311.101,311.101,.1108,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1108,21,0)
^.001^1^1^3170921^^
"^DD",311.101,311.101,.1108,21,1,0)
What is the patient's home telephone number?
"^DD",311.101,311.101,.1108,"DT")
3170921
"^DD",311.101,311.101,.1109,0)
Patient Work Phone^FJ20^^.11;9^K:$L(X)>20!($L(X)<5) X
"^DD",311.101,311.101,.1109,.1)
sipw
"^DD",311.101,311.101,.1109,3)
Answer must be 5-20 characters in length.
"^DD",311.101,311.101,.1109,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.1109,21,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.1109,21,1,0)
What is the patient's work telephone number? If not applicable, leave
"^DD",311.101,311.101,.1109,21,2,0)
this field blank.
"^DD",311.101,311.101,.1109,"DT")
3170921
"^DD",311.101,311.101,.111,0)
Patient Email Address^FJ50^^.11;10^K:$L(X)>50!($L(X)<4) X
"^DD",311.101,311.101,.111,.1)
sipem
"^DD",311.101,311.101,.111,3)
Answer must be 4-50 characters in length.
"^DD",311.101,311.101,.111,10)
SAMI Intake Form, I-ELCAP
"^DD",311.101,311.101,.111,21,0)
^.001^2^2^3170921^^
"^DD",311.101,311.101,.111,21,1,0)
Enter the patient's email address. If the patient does not have email,
"^DD",311.101,311.101,.111,21,2,0)
leave this field blank.
"^DD",311.101,311.101,.111,"DT")
3170921
"^DD",311.101,311.101,.12,0)
Primary Long ID^FJ15a^^0;12^K:$L(X)>15!($L(X)<1) X
"^DD",311.101,311.101,.12,.1)
sivpidl
"^DD",311.101,311.101,.12,3)
Answer must be 1-15 characters in length.
"^DD",311.101,311.101,.12,21,0)
^.001^6^6^3170921^^^
"^DD",311.101,311.101,.12,21,1,0)
This field contains the patient's long ID associated with the patient's
"^DD",311.101,311.101,.12,21,2,0)
PRIMARY ELIGIBILITY CODE. For most patients this is the Social Security
"^DD",311.101,311.101,.12,21,3,0)
Number.
"^DD",311.101,311.101,.12,21,4,0)
"^DD",311.101,311.101,.12,21,5,0)
No user input is needed for this field. It is automatically updated when
"^DD",311.101,311.101,.12,21,6,0)
the PRIMARY ELIGIBILITY CODE field is entered and edited.
"^DD",311.101,311.101,.12,"AUDIT")
y
"^DD",311.101,311.101,.12,"DT")
3170816
"^DD",311.101,311.101,.13,0)
Primary Short ID^FJ7a^^0;13^K:$L(X)>7!($L(X)<1) X
"^DD",311.101,311.101,.13,.1)
sivpids
"^DD",311.101,311.101,.13,3)
Answer must be 1-7 characters in length.
"^DD",311.101,311.101,.13,21,0)
^.001^6^6^3170921^^^
"^DD",311.101,311.101,.13,21,1,0)
This field contains the patient's short ID associated with the patient's
"^DD",311.101,311.101,.13,21,2,0)
PRIMARY ELIGIBILITY CODE. For most patients this is the last four digits
"^DD",311.101,311.101,.13,21,3,0)
of the Social Security Number.
"^DD",311.101,311.101,.13,21,4,0)
"^DD",311.101,311.101,.13,21,5,0)
No user input is needed for this field. It is automatically updated when
"^DD",311.101,311.101,.13,21,6,0)
the PRIMARY ELIGIBILITY CODE field is entered and edited.
"^DD",311.101,311.101,.13,"AUDIT")
y
"^DD",311.101,311.101,.13,"DT")
3170816
"^DD",311.101,311.101,.14,0)
Integration Control Number^NJ12,0^^0;14^K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."1N.N) X
"^DD",311.101,311.101,.14,.1)
sivicn
"^DD",311.101,311.101,.14,3)
Type a number between 0 and 999999999999, 0 decimal digits.
"^DD",311.101,311.101,.14,"DT")
3170921
"^DD",311.101,311.101,.2401,0)
FATHER'S FIRST NAME^FJ20^^.24;1^K:$L(X)>20!($L(X)<2) X
"^DD",311.101,311.101,.2401,3)
Answer must be 2-20 characters in length.
"^DD",311.101,311.101,.2401,"DT")
3170925
"^DD",311.101,311.101,.2402,0)
MOTHER'S FIRST NAME^FJ20^^.24;2^K:$L(X)>20!($L(X)<2) X
"^DD",311.101,311.101,.2402,3)
Answer must be 2-20 characters in length.
"^DD",311.101,311.101,.2402,"DT")
3170925
"^DD",311.101,311.101,.31201,0)
Medicare^S^n:No;y:Yes;^.312;1^Q
"^DD",311.101,311.101,.31201,.1)
siinm
"^DD",311.101,311.101,.31201,3)
Does this patient have Medicare?
"^DD",311.101,311.101,.31201,"DT")
3170925
"^DD",311.101,311.101,.31202,0)
Insurance 1 Name^FJ30^^.312;2^K:$L(X)>30!($L(X)<3) X
"^DD",311.101,311.101,.31202,.1)
siin1
"^DD",311.101,311.101,.31202,3)
Answer must be 3-30 characters in length.
"^DD",311.101,311.101,.31202,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.31202,21,1,0)
What is the name of the patient's primary insurance? (ex: Cigna)
"^DD",311.101,311.101,.31202,"DT")
3170925
"^DD",311.101,311.101,.31203,0)
Insurance 1 Member ID^FJ20^^.312;3^K:$L(X)>20!($L(X)<1) X
"^DD",311.101,311.101,.31203,.1)
siinmid1
"^DD",311.101,311.101,.31203,3)
Answer must be 1-20 characters in length.
"^DD",311.101,311.101,.31203,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.31203,21,1,0)
Enter the member ID for the patient's primary insurance.
"^DD",311.101,311.101,.31203,"DT")
3170925
"^DD",311.101,311.101,.31204,0)
Insurance 1 Group Num^FJ20^^.312;4^K:$L(X)>20!($L(X)<1) X
"^DD",311.101,311.101,.31204,.1)
siingn1
"^DD",311.101,311.101,.31204,3)
Answer must be 1-20 characters in length.
"^DD",311.101,311.101,.31204,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.31204,21,1,0)
Enter the Group Number of the patient's primary insurance.
"^DD",311.101,311.101,.31204,"DT")
3170925
"^DD",311.101,311.101,.31205,0)
Insurance 2 Name^FJ30^^.312;5^K:$L(X)>30!($L(X)<3) X
"^DD",311.101,311.101,.31205,.1)
siin2
"^DD",311.101,311.101,.31205,3)
Answer must be 3-30 characters in length.
"^DD",311.101,311.101,.31205,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.31205,21,1,0)
What is the name of the patient's secondary insurance? (ex: Cigna)
"^DD",311.101,311.101,.31205,"DT")
3170925
"^DD",311.101,311.101,.31206,0)
Insurance 2 Member ID^FJ20^^.312;6^K:$L(X)>20!($L(X)<1) X
"^DD",311.101,311.101,.31206,.1)
siinmid2
"^DD",311.101,311.101,.31206,3)
Answer must be 1-20 characters in length.
"^DD",311.101,311.101,.31206,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.31206,21,1,0)
Enter the Member ID for the patient's secondary insurance.
"^DD",311.101,311.101,.31206,"DT")
3170925
"^DD",311.101,311.101,.31207,0)
Insurance 2 Group Num^FJ20^^.312;7^K:$L(X)>20!($L(X)<1) X
"^DD",311.101,311.101,.31207,.1)
siingn2
"^DD",311.101,311.101,.31207,3)
Answer must be 1-20 characters in length.
"^DD",311.101,311.101,.31207,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.31207,21,1,0)
Enter the Group Number for the patient's secondary insurance.
"^DD",311.101,311.101,.31207,"DT")
3170925
"^DD",311.101,311.101,.31301,0)
Insurance Comments^FJ200^^.313;1^K:$L(X)>200!($L(X)<3) X
"^DD",311.101,311.101,.31301,.1)
siinc
"^DD",311.101,311.101,.31301,3)
Answer must be 3-200 characters in length.
"^DD",311.101,311.101,.31301,21,0)
^.001^2^2^3170925^^
"^DD",311.101,311.101,.31301,21,1,0)
Enter any comments about the patient's insurance. You may leave this
"^DD",311.101,311.101,.31301,21,2,0)
field blank.
"^DD",311.101,311.101,.31301,"DT")
3170925
"^DD",311.101,311.101,.3301,0)
Emergency Contact 1 Name^FJ30^^.33;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.101,311.101,.3301,.1)
sikn
"^DD",311.101,311.101,.3301,3)
Answer must be 5-30 characters in length.
"^DD",311.101,311.101,.3301,21,0)
^.001^3^3^3170925^^
"^DD",311.101,311.101,.3301,21,1,0)
The name of the patient's primary emergency contact. It is important to
"^DD",311.101,311.101,.3301,21,2,0)
identify two emergency contacts. At least one needs to be at another
"^DD",311.101,311.101,.3301,21,3,0)
address.
"^DD",311.101,311.101,.3301,"DT")
3170925
"^DD",311.101,311.101,.3302,0)
Emergency Contact 1 Relation^FJ20^^.33;2^K:$L(X)>20!($L(X)<2) X
"^DD",311.101,311.101,.3302,.1)
sikr
"^DD",311.101,311.101,.3302,3)
Answer must be 2-20 characters in length.
"^DD",311.101,311.101,.3302,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.3302,21,1,0)
What is the primary contact's relationship to the patient? (ex: Daughter)
"^DD",311.101,311.101,.3302,"DT")
3170925
"^DD",311.101,311.101,.3303,0)
Emergency Contact 1 Address^FJ70^^.33;3^K:$L(X)>70!($L(X)<3) X
"^DD",311.101,311.101,.3303,.1)
sika
"^DD",311.101,311.101,.3303,3)
Answer must be 3-70 characters in length.
"^DD",311.101,311.101,.3303,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.3303,21,1,0)
The complete address of the patient's primary emergency contact.
"^DD",311.101,311.101,.3303,"DT")
3170925
"^DD",311.101,311.101,.3304,0)
Emergency Contact 1 Phone^FJ20^^.33;4^K:$L(X)>20!($L(X)<5) X
"^DD",311.101,311.101,.3304,3)
Answer must be 5-20 characters in length.
"^DD",311.101,311.101,.3304,21,0)
^^1^1^3170925^
"^DD",311.101,311.101,.3304,21,1,0)
Enter the phone number for the patient's primary emergency contact.
"^DD",311.101,311.101,.3304,"DT")
3170925
"^DD",311.101,311.101,.33101,0)
Emergency Contact 2 Name^FJ30^^.331;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.101,311.101,.33101,.1)
siknb
"^DD",311.101,311.101,.33101,3)
Answer must be 3-30 characters in length.
"^DD",311.101,311.101,.33101,21,0)
^.001^2^2^3170925^^
"^DD",311.101,311.101,.33101,21,1,0)
The name of the patient's second emergency contact. It is important to
"^DD",311.101,311.101,.33101,21,2,0)
identify two contacts. At least one needs to be at another address.
"^DD",311.101,311.101,.33101,"DT")
3170925
"^DD",311.101,311.101,.33102,0)
Emergency Contact 2 Relation^FJ20^^.331;2^K:$L(X)>20!($L(X)<2) X
"^DD",311.101,311.101,.33102,.1)
sikrb
"^DD",311.101,311.101,.33102,3)
Answer must be 2-20 characters in length.
"^DD",311.101,311.101,.33102,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.33102,21,1,0)
What is this contact's relationship to the patient? (ex: Daughter)
"^DD",311.101,311.101,.33102,"DT")
3170925
"^DD",311.101,311.101,.33103,0)
Emergency Contact 2 Address^FJ70^^.331;3^K:$L(X)>70!($L(X)<5) X
"^DD",311.101,311.101,.33103,.1)
sikab
"^DD",311.101,311.101,.33103,3)
Answer must be 5-70 characters in length.
"^DD",311.101,311.101,.33103,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.33103,21,1,0)
Enter the complete address for the patient's second emergency contact.
"^DD",311.101,311.101,.33103,"DT")
3170925
"^DD",311.101,311.101,.33104,0)
Emergency Contact 2 Phone^FJ20^^.331;4^K:$L(X)>20!($L(X)<5) X
"^DD",311.101,311.101,.33104,.1)
sikpb
"^DD",311.101,311.101,.33104,3)
Answer must be 5-20 characters in length.
"^DD",311.101,311.101,.33104,21,0)
^.001^1^1^3170925^^
"^DD",311.101,311.101,.33104,21,1,0)
Enter the phone number for the patient's second emergency contact.
"^DD",311.101,311.101,.33104,"DT")
3170925
"^DD",311.101,311.101,1.01,0)
Date of First Contact^D^^1;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,1.01,.1)
sidfc
"^DD",311.101,311.101,1.01,3)
On what date was this patient first contacted?
"^DD",311.101,311.101,1.01,"DT")
3170925
"^DD",311.101,311.101,1.02,0)
Date of Baseline CT^D^^1;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,1.02,.1)
sidoe
"^DD",311.101,311.101,1.02,3)
Enter the date of the patient's baseline CT, in any format.
"^DD",311.101,311.101,1.02,"DT")
3170925
"^DD",311.101,311.101,1.03,0)
Research Protocol^S^n:No;y:Yes;^1;3^Q
"^DD",311.101,311.101,1.03,.1)
sirp
"^DD",311.101,311.101,1.03,3)
Enter y if the patient qualifies for the study, or n if they do not.
"^DD",311.101,311.101,1.03,21,0)
^.001^9^9^3170926^^^
"^DD",311.101,311.101,1.03,21,1,0)
An Intake form is generated for every call received for the ELCAP study,
"^DD",311.101,311.101,1.03,21,2,0)
even when the potential enrollee does not qualify.
"^DD",311.101,311.101,1.03,21,3,0)
"^DD",311.101,311.101,1.03,21,4,0)
If the potential enrollee does not qualify, answer n or No in this field.
"^DD",311.101,311.101,1.03,21,5,0)
The coordinator can then enter comments in the "Additional Information"
"^DD",311.101,311.101,1.03,21,6,0)
field as to why the caller did not qualify.
"^DD",311.101,311.101,1.03,21,7,0)
"^DD",311.101,311.101,1.03,21,8,0)
If the potential enrollee does meet the qualifications, enter y or Yes
"^DD",311.101,311.101,1.03,21,9,0)
in this field.
"^DD",311.101,311.101,1.03,"DT")
3170925
"^DD",311.101,311.101,1.04,0)
Cancellation^S^n:No;y:Yes;^1;4^Q
"^DD",311.101,311.101,1.04,.1)
sica
"^DD",311.101,311.101,1.04,3)
Enter y if there was a cancellation.
"^DD",311.101,311.101,1.04,"DT")
3170926
"^DD",311.101,311.101,1.05,0)
Special Attention^S^n:No;y:Yes;^1;5^Q
"^DD",311.101,311.101,1.05,.1)
sisa
"^DD",311.101,311.101,1.05,3)
Enter y if this patient requires special attention.
"^DD",311.101,311.101,1.05,"DT")
3170926
"^DD",311.101,311.101,1.06,0)
How Heard about Program^S^br:brochure;md:doctor referral;fp:friend in program;in:internet;ar:medical journal articles;np:newspaper;ra:radio;at:TV;wm:word of mouth;ot:other;^1;6^Q
"^DD",311.101,311.101,1.06,.1)
sihap
"^DD",311.101,311.101,1.06,3)
How did the patient hear about this program?
"^DD",311.101,311.101,1.06,21,0)
^.001^3^3^3170926^^
"^DD",311.101,311.101,1.06,21,1,0)
How did the patient hear about this program? If there is more than one
"^DD",311.101,311.101,1.06,21,2,0)
answer, choose the most important to the patient. If you choose "other"
"^DD",311.101,311.101,1.06,21,3,0)
use the next field to specify.
"^DD",311.101,311.101,1.06,"DT")
3170926
"^DD",311.101,311.101,1.07,0)
How Heard Other Specify^FJ70^^1;7^K:$L(X)>70!($L(X)<5) X
"^DD",311.101,311.101,1.07,.1)
sihapo
"^DD",311.101,311.101,1.07,3)
Answer must be 5-70 characters in length.
"^DD",311.101,311.101,1.07,21,0)
^.001^2^2^3170926^^
"^DD",311.101,311.101,1.07,21,1,0)
If you chose "other" for how the patient heard about this program, please
"^DD",311.101,311.101,1.07,21,2,0)
specify their answer here.
"^DD",311.101,311.101,1.07,"DT")
3170926
"^DD",311.101,311.101,2,0)
Patient Information^311.10111^^2;0
"^DD",311.101,311.101,3.01,0)
Physician Name^FJ30^^3;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.101,311.101,3.01,.1)
simdn
"^DD",311.101,311.101,3.01,3)
Answer must be 5-30 characters in length.
"^DD",311.101,311.101,3.01,21,0)
^.001^18^18^3170926^^
"^DD",311.101,311.101,3.01,21,1,0)
A Sponsoring Physician (usually the patient's primary care MD) must be
"^DD",311.101,311.101,3.01,21,2,0)
given for each patient. The physician's address, phone number and fax
"^DD",311.101,311.101,3.01,21,3,0)
number must all be entered in the intake data form for several reasons.
"^DD",311.101,311.101,3.01,21,4,0)
"^DD",311.101,311.101,3.01,21,5,0)
First, the reports must be sent to a doctor involved in the enrolee's care.
"^DD",311.101,311.101,3.01,21,6,0)
"^DD",311.101,311.101,3.01,21,7,0)
Second, the physician information can be helpful in tracking down where
"^DD",311.101,311.101,3.01,21,8,0)
a patient may have moved and/or patient health status (particularly if
"^DD",311.101,311.101,3.01,21,9,0)
the patient may have expired since their initial screening CT scan).
"^DD",311.101,311.101,3.01,21,10,0)
"^DD",311.101,311.101,3.01,21,11,0)
Third, if follow-up procedures are necessary, the study radiologists need
"^DD",311.101,311.101,3.01,21,12,0)
to collaborate with the enrollee's physician to ensure that they are still
"^DD",311.101,311.101,3.01,21,13,0)
having an active role in their patient's care.
"^DD",311.101,311.101,3.01,21,14,0)
"^DD",311.101,311.101,3.01,21,15,0)
Finally, it may be necessary to have their doctor order follow-up
"^DD",311.101,311.101,3.01,21,16,0)
diagnostic procedures (particularly when pre-certifications are needed by
"^DD",311.101,311.101,3.01,21,17,0)
certain insurance companies) and developing rapport with the patient's
"^DD",311.101,311.101,3.01,21,18,0)
physician office is important in this regard.
"^DD",311.101,311.101,3.01,"DT")
3170926
"^DD",311.101,311.101,3.02,0)
Physician Street Address^FJ35^^3;2^K:$L(X)>35!($L(X)<5) X
"^DD",311.101,311.101,3.02,.1)
simdsa
"^DD",311.101,311.101,3.02,3)
Answer must be 5-35 characters in length.
"^DD",311.101,311.101,3.02,21,0)
^.001^3^3^3170926^^
"^DD",311.101,311.101,3.02,21,1,0)
Enter the street address of the patient's Sponsoring Physician (usually
"^DD",311.101,311.101,3.02,21,2,0)
their primary care MD). Information on city, state, and zip code can
"^DD",311.101,311.101,3.02,21,3,0)
be entered in the next fields.
"^DD",311.101,311.101,3.02,"DT")
3170926
"^DD",311.101,311.101,3.03,0)
Physician City^FJ15^^3;3^K:$L(X)>15!($L(X)<2) X
"^DD",311.101,311.101,3.03,.1)
simdc
"^DD",311.101,311.101,3.03,3)
Answer must be 2-15 characters in length.
"^DD",311.101,311.101,3.03,21,0)
^.001^1^1^3170926^^
"^DD",311.101,311.101,3.03,21,1,0)
Enter the city or town of the Sponsoring Physician's address.
"^DD",311.101,311.101,3.03,"DT")
3170926
"^DD",311.101,311.101,3.04,0)
Physician State^FJ3^^3;4^K:$L(X)>3!($L(X)<1) X
"^DD",311.101,311.101,3.04,.1)
simds
"^DD",311.101,311.101,3.04,3)
Answer must be 1-3 characters in length.
"^DD",311.101,311.101,3.04,21,0)
^.001^2^2^3170926^^
"^DD",311.101,311.101,3.04,21,1,0)
Enter the postal abbreviation for the state in the Sponsoring
"^DD",311.101,311.101,3.04,21,2,0)
Physician's address.
"^DD",311.101,311.101,3.04,"DT")
3170926
"^DD",311.101,311.101,3.05,0)
Physician Zip Code^FJ10^^3;5^K:$L(X)>10!($L(X)<3) X
"^DD",311.101,311.101,3.05,.1)
simdz
"^DD",311.101,311.101,3.05,3)
Answer must be 3-10 characters in length.
"^DD",311.101,311.101,3.05,21,0)
^.001^3^3^3170926^^
"^DD",311.101,311.101,3.05,21,1,0)
Enter the zip code or postal code for the Sponsoring Physician's address.
"^DD",311.101,311.101,3.05,21,2,0)
A complete address is needed so that reports and other correspondence
"^DD",311.101,311.101,3.05,21,3,0)
can be sent.
"^DD",311.101,311.101,3.05,"DT")
3170926
"^DD",311.101,311.101,3.06,0)
Physician County^FJ30^^3;6^K:$L(X)>30!($L(X)<2) X
"^DD",311.101,311.101,3.06,.1)
simdcn
"^DD",311.101,311.101,3.06,3)
Answer must be 2-30 characters in length.
"^DD",311.101,311.101,3.06,21,0)
^.001^1^1^3170926^^
"^DD",311.101,311.101,3.06,21,1,0)
Enter the county for the patient's Sponsoring Physician.
"^DD",311.101,311.101,3.06,"DT")
3170926
"^DD",311.101,311.101,3.07,0)
Physician Country^FJ3^^3;7^K:$L(X)>3!($L(X)<2) X
"^DD",311.101,311.101,3.07,.1)
simdcr
"^DD",311.101,311.101,3.07,3)
Answer must be 2-3 characters in length.
"^DD",311.101,311.101,3.07,21,0)
^.001^2^2^3170926^^
"^DD",311.101,311.101,3.07,21,1,0)
Enter the abbreviation for the country of the patient's Sponsoring
"^DD",311.101,311.101,3.07,21,2,0)
Physician.
"^DD",311.101,311.101,3.07,"DT")
3170926
"^DD",311.101,311.101,3.08,0)
Physician Phone^FJ20^^3;8^K:$L(X)>20!($L(X)<5) X
"^DD",311.101,311.101,3.08,.1)
simdp
"^DD",311.101,311.101,3.08,3)
Answer must be 5-20 characters in length.
"^DD",311.101,311.101,3.08,21,0)
^.001^3^3^3170926^^
"^DD",311.101,311.101,3.08,21,1,0)
Enter the phone number for the patient's Sponsoring Physician. If there is
"^DD",311.101,311.101,3.08,21,2,0)
more than one phone number listed, enter the primary office phone
"^DD",311.101,311.101,3.08,21,3,0)
number.
"^DD",311.101,311.101,3.08,"DT")
3170926
"^DD",311.101,311.101,3.09,0)
Physician Fax^FJ20^^3;9^K:$L(X)>20!($L(X)<5) X
"^DD",311.101,311.101,3.09,.1)
simdf
"^DD",311.101,311.101,3.09,3)
Answer must be 5-20 characters in length.
"^DD",311.101,311.101,3.09,21,0)
^.001^1^1^3170926^^
"^DD",311.101,311.101,3.09,21,1,0)
Enter the fax number for the patient's Sponsoring Physician.
"^DD",311.101,311.101,3.09,"DT")
3170926
"^DD",311.101,311.101,4.01,0)
Number of Phone Calls^S^0:0;1:1;2:2;3:3;x:X;^4;1^Q
"^DD",311.101,311.101,4.01,.1)
sicnc
"^DD",311.101,311.101,4.01,3)
Each attempt to call the participant for follow up is recorded here.
"^DD",311.101,311.101,4.01,21,0)
^.001^3^3^3170926^^
"^DD",311.101,311.101,4.01,21,1,0)
Each attempt to call the participant for follow-up is recorded here. For
"^DD",311.101,311.101,4.01,21,2,0)
example, if an attemt has already been made, and you make a second
"^DD",311.101,311.101,4.01,21,3,0)
attempt, change this field from 1 to 2.
"^DD",311.101,311.101,4.01,"DT")
3170926
"^DD",311.101,311.101,4.02,0)
Number of Letters^S^0:0;1:1;2:2;3:3;x:X;^4;2^Q
"^DD",311.101,311.101,4.02,.1)
sicnl
"^DD",311.101,311.101,4.02,3)
Each attempt to contact the participant by mail is recorded here.
"^DD",311.101,311.101,4.02,21,0)
^.001^3^3^3170927^^
"^DD",311.101,311.101,4.02,21,1,0)
Each attempt to contact the participant by mail for follow up is
"^DD",311.101,311.101,4.02,21,2,0)
recorded here. For example, if a letter has already been sent, and you
"^DD",311.101,311.101,4.02,21,3,0)
are sending a second letter, change this field from 1 to 2.
"^DD",311.101,311.101,4.02,"DT")
3170927
"^DD",311.101,311.101,4.03,0)
Patient Status^P311.10112'^SAMI(311.10112,^4;3^Q
"^DD",311.101,311.101,4.03,.1)
sies
"^DD",311.101,311.101,4.03,3)
Select the appropriate status for this patient.
"^DD",311.101,311.101,4.03,21,0)
^.001^7^7^3170927^^
"^DD",311.101,311.101,4.03,21,1,0)
If the participant drops out of the study for any reason, or does not
"^DD",311.101,311.101,4.03,21,2,0)
respond to reminders to schedule, they are considered "inactive." When
"^DD",311.101,311.101,4.03,21,3,0)
this occurs, change the Status from Active to indicate their reason for
"^DD",311.101,311.101,4.03,21,4,0)
discontinuing, and enter the Date of Exit. Several statuses require
"^DD",311.101,311.101,4.03,21,5,0)
additional specification; use the next field to specify. If the
"^DD",311.101,311.101,4.03,21,6,0)
participant died, change the status to Expired, and fill in the Date of
"^DD",311.101,311.101,4.03,21,7,0)
Death (DOD) and Cause of Death (COD) fields.
"^DD",311.101,311.101,4.03,"DT")
3170927
"^DD",311.101,311.101,4.04,0)
Patient Status (Specify)^FJ70^^4;4^K:$L(X)>70!($L(X)<5) X
"^DD",311.101,311.101,4.04,.1)
sieso
"^DD",311.101,311.101,4.04,3)
Answer must be 5-70 characters in length.
"^DD",311.101,311.101,4.04,21,0)
^.001^2^2^3170927^^
"^DD",311.101,311.101,4.04,21,1,0)
If you selected a patient status that requires specification, use this
"^DD",311.101,311.101,4.04,21,2,0)
field to specify.
"^DD",311.101,311.101,4.04,"DT")
3170927
"^DD",311.101,311.101,4.05,0)
Date of Exit^D^^4;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,4.05,.1)
sixdate
"^DD",311.101,311.101,4.05,3)
Enter the date on which the participant left the study, in any format.
"^DD",311.101,311.101,4.05,21,0)
^.001^3^3^3170927^^
"^DD",311.101,311.101,4.05,21,1,0)
The Date of Exit should be recorded for all subjects who are no longer
"^DD",311.101,311.101,4.05,21,2,0)
active in the study. It signifies the date on which they change to a
"^DD",311.101,311.101,4.05,21,3,0)
non-active status.
"^DD",311.101,311.101,4.05,"DT")
3170927
"^DD",311.101,311.101,4.06,0)
Date of Death^D^^4;6^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,4.06,.1)
sidod
"^DD",311.101,311.101,4.06,3)
If the patient expired, enter their date of death, in any format.
"^DD",311.101,311.101,4.06,21,0)
^.001^2^2^3170927^^
"^DD",311.101,311.101,4.06,21,1,0)
If the patient expired, set their status to Expired, enter the date of death
"^DD",311.101,311.101,4.06,21,2,0)
in this field, and enter the cause of death in the next field.
"^DD",311.101,311.101,4.06,"DT")
3170927
"^DD",311.101,311.101,4.07,0)
Cause of Death^FJ70^^4;7^K:$L(X)>70!($L(X)<3) X
"^DD",311.101,311.101,4.07,.1)
sicod
"^DD",311.101,311.101,4.07,3)
Answer must be 3-70 characters in length.
"^DD",311.101,311.101,4.07,21,0)
^.001^2^2^3170927^^
"^DD",311.101,311.101,4.07,21,1,0)
If the participant expired, change their status to Expired, enter the
"^DD",311.101,311.101,4.07,21,2,0)
date of death in the previous field, and enter the cause of death here.
"^DD",311.101,311.101,4.07,"DT")
3170927
"^DD",311.101,311.101,5.01,0)
Correspondence Date^D^^5;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,5.01,.1)
sircd
"^DD",311.101,311.101,5.01,3)
Enter the date of the correspondence with the patient or physician.
"^DD",311.101,311.101,5.01,21,0)
^.001^3^3^3170927^^
"^DD",311.101,311.101,5.01,21,1,0)
These fields should be used to record correspondence or communication
"^DD",311.101,311.101,5.01,21,2,0)
with the patient or physician. This field holds the date; the next fields
"^DD",311.101,311.101,5.01,21,3,0)
will contain the recipient, nature of communication, and so on.
"^DD",311.101,311.101,5.01,"DT")
3170927
"^DD",311.101,311.101,5.02,0)
Correspondence Date of Exam^D^^5;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,5.02,.1)
sired
"^DD",311.101,311.101,5.02,3)
Enter the date of the exam this correspondence is about.
"^DD",311.101,311.101,5.02,21,0)
^.001^5^5^3170927^^
"^DD",311.101,311.101,5.02,21,1,0)
These fields should be used to record correspondence or communication
"^DD",311.101,311.101,5.02,21,2,0)
with the patient or physician. This field holds the date of the exam
"^DD",311.101,311.101,5.02,21,3,0)
you are communicating about. The previous field should contain the date
"^DD",311.101,311.101,5.02,21,4,0)
of the communication. The next fields will contain the recipient and
"^DD",311.101,311.101,5.02,21,5,0)
nature of the communication.
"^DD",311.101,311.101,5.02,"DT")
3170927
"^DD",311.101,311.101,5.03,0)
Correspondence Recipient^S^s:patient;m:physician;^5;3^Q
"^DD",311.101,311.101,5.03,.1)
sirr
"^DD",311.101,311.101,5.03,3)
Enter s if this correspondence is with a patient; enter m if it is with a physician.
"^DD",311.101,311.101,5.03,21,0)
^.001^6^6^3170927^^
"^DD",311.101,311.101,5.03,21,1,0)
These fields should be used to record correspondence or communication
"^DD",311.101,311.101,5.03,21,2,0)
with the patient or physician. This field holds the recipient of the
"^DD",311.101,311.101,5.03,21,3,0)
communication (s for patient or m for physician). The previous fields
"^DD",311.101,311.101,5.03,21,4,0)
should contain the date of the exam and the date of the correspondence.
"^DD",311.101,311.101,5.03,21,5,0)
The next fields will contain the name of the physician, the nature of
"^DD",311.101,311.101,5.03,21,6,0)
the correspondence and the correspondence coordinator.
"^DD",311.101,311.101,5.03,"DT")
3170927
"^DD",311.101,311.101,5.04,0)
Correspondence Physician Name^FJ30^^5;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.101,311.101,5.04,.1)
sirmd
"^DD",311.101,311.101,5.04,3)
Answer must be 5-30 characters in length.
"^DD",311.101,311.101,5.04,21,0)
^.001^7^7^3170927^^
"^DD",311.101,311.101,5.04,21,1,0)
If this correspondence is with a physician (and not the patient), enter
"^DD",311.101,311.101,5.04,21,2,0)
the physician's name here.
"^DD",311.101,311.101,5.04,21,3,0)
"^DD",311.101,311.101,5.04,21,4,0)
These fields should be used to record correspondence or communication
"^DD",311.101,311.101,5.04,21,5,0)
with the patient or physician. Previous fields should contain the date
"^DD",311.101,311.101,5.04,21,6,0)
and recipient of the communication. The next fields will hold the
"^DD",311.101,311.101,5.04,21,7,0)
nature of the correspondence and the correspondence coordinator.
"^DD",311.101,311.101,5.04,"DT")
3170927
"^DD",311.101,311.101,5.05,0)
Correspondence Nature^S^fr:faxed report;mr:mailed report;pr:called to give results;ab:Abx discussed with physician;bx:Bx discussed with physician;os:other (specify);^5;5^Q
"^DD",311.101,311.101,5.05,.1)
sirn
"^DD",311.101,311.101,5.05,3)
What kind of correspondence was this?
"^DD",311.101,311.101,5.05,21,0)
^.001^4^4^3170927^^
"^DD",311.101,311.101,5.05,21,1,0)
This section should be used to record correspondence or communication
"^DD",311.101,311.101,5.05,21,2,0)
with the patient or physician. This field holds the nature of the
"^DD",311.101,311.101,5.05,21,3,0)
correspondence. Previous fields should contain the recipient and date.
"^DD",311.101,311.101,5.05,21,4,0)
The next fields will include the correspondence coordinator.
"^DD",311.101,311.101,5.05,"DT")
3170927
"^DD",311.101,311.101,5.06,0)
Correspondence Other (Specify)^FJ70^^5;6^K:$L(X)>70!($L(X)<5) X
"^DD",311.101,311.101,5.06,.1)
sirns
"^DD",311.101,311.101,5.06,3)
Answer must be 5-70 characters in length.
"^DD",311.101,311.101,5.06,21,0)
^.001^7^7^3170927^^
"^DD",311.101,311.101,5.06,21,1,0)
If you chose "other" as the nature of the correspondence, please specify
"^DD",311.101,311.101,5.06,21,2,0)
the nature here.
"^DD",311.101,311.101,5.06,21,3,0)
"^DD",311.101,311.101,5.06,21,4,0)
These fields should be used to record correspondence or communication
"^DD",311.101,311.101,5.06,21,5,0)
with the patient or physician. Previous fields should contain the date,
"^DD",311.101,311.101,5.06,21,6,0)
recipient and nature of the correspondence. The next field will
"^DD",311.101,311.101,5.06,21,7,0)
contain the correspondence coordinator.
"^DD",311.101,311.101,5.06,"DT")
3170927
"^DD",311.101,311.101,5.07,0)
Correspondence Coordinator^FJ30^^5;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.101,311.101,5.07,.1)
sirc
"^DD",311.101,311.101,5.07,3)
Answer must be 5-30 characters in length.
"^DD",311.101,311.101,5.07,21,0)
^.001^1^1^3170927^^
"^DD",311.101,311.101,5.07,21,1,0)
The name of the person managing this correspondence or communication.
"^DD",311.101,311.101,5.07,"DT")
3170927
"^DD",311.101,311.101,6.01,0)
Has Patient Signed Consent^S^n:No ;y:Yes;^6;1^Q
"^DD",311.101,311.101,6.01,.1)
sicfs
"^DD",311.101,311.101,6.01,3)
Has the patient signed the consent form?
"^DD",311.101,311.101,6.01,21,0)
^.001^2^2^3170928^^
"^DD",311.101,311.101,6.01,21,1,0)
Has the patient signed the consent form? If no, the patient is
"^DD",311.101,311.101,6.01,21,2,0)
ineligible for the study.
"^DD",311.101,311.101,6.01,"DT")
3170928
"^DD",311.101,311.101,6.02,0)
Date Informed Consent Signed^D^^6;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.101,311.101,6.02,.1)
sidoc
"^DD",311.101,311.101,6.02,3)
Enter the date on which the patient signed consent, in any format.
"^DD",311.101,311.101,6.02,"DT")
3170928
"^DD",311.101,311.101,6.03,0)
Who Obtained Consent^FJ30^^6;3^K:$L(X)>30!($L(X)<5) X
"^DD",311.101,311.101,6.03,.1)
siioc
"^DD",311.101,311.101,6.03,3)
Answer must be 5-30 characters in length.
"^DD",311.101,311.101,6.03,21,0)
^.001^2^2^3170928^^
"^DD",311.101,311.101,6.03,21,1,0)
Enter the name of the staff person who obtained consent from
"^DD",311.101,311.101,6.03,21,2,0)
the patient.
"^DD",311.101,311.101,6.03,"DT")
3170928
"^DD",311.101,311.101,6.04,0)
Consent Given to Patient^S^n:No;y:Yes;^6;4^Q
"^DD",311.101,311.101,6.04,.1)
sicfp
"^DD",311.101,311.101,6.04,3)
Has the patient been given a copy of the consent form?
"^DD",311.101,311.101,6.04,"DT")
3170928
"^DD",311.101,311.101,6.05,0)
Store for Future Studies^S^n:No;y:Yes;^6;5^Q
"^DD",311.101,311.101,6.05,.1)
sicrd
"^DD",311.101,311.101,6.05,3)
Can this patient's information be stored for future studies?
"^DD",311.101,311.101,6.05,"DT")
3170928
"^DD",311.101,311.101,6.06,0)
For Directly Related Studies^S^n:No;y:Yes;^6;6^Q
"^DD",311.101,311.101,6.06,.1)
sicrdd
"^DD",311.101,311.101,6.06,3)
Can this patient's information be used for directly related studies?
"^DD",311.101,311.101,6.06,"DT")
3170928
"^DD",311.101,311.101,6.07,0)
For Unrelated Studies^S^n:No;y:Yes;^6;7^Q
"^DD",311.101,311.101,6.07,.1)
sicrdn
"^DD",311.101,311.101,6.07,3)
Can the patient's information be used for unrelated studies?
"^DD",311.101,311.101,6.07,"DT")
3170928
"^DD",311.101,311.101,6.08,0)
Contact for Future Studies^S^n:No;y:Yes;^6;8^Q
"^DD",311.101,311.101,6.08,.1)
sicrs
"^DD",311.101,311.101,6.08,3)
Should this patient be contacted for future studies?
"^DD",311.101,311.101,6.08,"DT")
3170928
"^DD",311.101,311.10111,0)
Patient Information SUB-FIELD^^.01^1
"^DD",311.101,311.10111,0,"DT")
3170926
"^DD",311.101,311.10111,0,"NM","Patient Information")
"^DD",311.101,311.10111,0,"UP")
311.101
"^DD",311.101,311.10111,.01,0)
Patient Information^Wx^^0;1^Q
"^DD",311.101,311.10111,.01,.1)
siadcom
"^DD",311.101,311.10111,.01,"DT")
3170926
"^DD",311.10112,311.10112,0)
FIELD^^.02^2
"^DD",311.10112,311.10112,0,"DT")
3170926
"^DD",311.10112,311.10112,0,"IX","B",311.10112,.01)
"^DD",311.10112,311.10112,0,"NM","SAMI PATIENT STATUS")
"^DD",311.10112,311.10112,0,"PT",311.101,4.03)
"^DD",311.10112,311.10112,.01,0)
Status^RFJ50^^0;1^K:$L(X)>50!($L(X)<3) X
"^DD",311.10112,311.10112,.01,.1)
Patient Status
"^DD",311.10112,311.10112,.01,1,0)
^.1
"^DD",311.10112,311.10112,.01,1,1,0)
311.10112^B
"^DD",311.10112,311.10112,.01,1,1,1)
S ^SAMI(311.10112,"B",$E(X,1,30),DA)=""
"^DD",311.10112,311.10112,.01,1,1,2)
K ^SAMI(311.10112,"B",$E(X,1,30),DA)
"^DD",311.10112,311.10112,.01,3)
Answer must be 3-50 characters in length.
"^DD",311.10112,311.10112,.01,"DT")
3170926
"^DD",311.10112,311.10112,.02,0)
Code^FJ3^^0;2^K:$L(X)>3!($L(X)<1) X
"^DD",311.10112,311.10112,.02,3)
Answer must be 1-3 characters in length.
"^DD",311.10112,311.10112,.02,"DT")
3170926
"^DD",311.102,311.102,0)
FIELD^^34.2^115
"^DD",311.102,311.102,0,"DT")
3170925
"^DD",311.102,311.102,0,"IX","B",311.102,.01)
"^DD",311.102,311.102,0,"NM","SAMI BACKGROUND")
"^DD",311.102,311.102,.01,0)
NAME^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.102,311.102,.01,.1)
Patient name
"^DD",311.102,311.102,.01,1,0)
^.1
"^DD",311.102,311.102,.01,1,1,0)
311.102^B
"^DD",311.102,311.102,.01,1,1,1)
S ^SAMI(311.102,"B",$E(X,1,30),DA)=""
"^DD",311.102,311.102,.01,1,1,2)
K ^SAMI(311.102,"B",$E(X,1,30),DA)
"^DD",311.102,311.102,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.102,311.102,.01,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,.01,21,1,0)
The name of the patient: LASTNAME,FIRSTNAME MI
"^DD",311.102,311.102,.01,"DT")
3170911
"^DD",311.102,311.102,.02,0)
DATE OF BIRTH^RD^^0;2^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,.02,.1)
Date of birth
"^DD",311.102,311.102,.02,3)
Enter the patient's date of birth, in any format.
"^DD",311.102,311.102,.02,"DT")
3170907
"^DD",311.102,311.102,.03,0)
AGE^NJ3,0^^0;3^K:+X'=X!(X>150)!(X<18)!(X?.E1"."1N.N) X
"^DD",311.102,311.102,.03,3)
Type a number between 18 and 150, 0 decimal digits.
"^DD",311.102,311.102,.03,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,.03,21,1,0)
Enter the patient's age. Eventually, this value will be calculated,
"^DD",311.102,311.102,.03,21,2,0)
but for now it needs to be entered manually.
"^DD",311.102,311.102,.03,"DT")
3170907
"^DD",311.102,311.102,1,0)
STUDY ID^RFJ8^^0;4^K:$L(X)>8!($L(X)<4) X
"^DD",311.102,311.102,1,.1)
Study ID
"^DD",311.102,311.102,1,3)
Answer must be 4-8 characters in length.
"^DD",311.102,311.102,1,21,0)
^.001^2^2^3170907^^
"^DD",311.102,311.102,1,21,1,0)
The unique study ID assigned to this patient. You can find the
"^DD",311.102,311.102,1,21,2,0)
patient's study ID on his or her Intake form.
"^DD",311.102,311.102,1,"DT")
3170907
"^DD",311.102,311.102,2,0)
INTAKE DATE^RD^^0;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,2,3)
Enter a date, in any format.
"^DD",311.102,311.102,2,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,2,21,1,0)
Enter the date of the patient's baseline CT. You can also use codes,
"^DD",311.102,311.102,2,21,2,0)
such as T for today or T-1D for yesterday (1 day ago).
"^DD",311.102,311.102,2,"DT")
3170907
"^DD",311.102,311.102,3,0)
OCCUPATION^FJ20^^0;6^K:$L(X)>20!($L(X)<3) X
"^DD",311.102,311.102,3,3)
Answer must be 3-20 characters in length.
"^DD",311.102,311.102,3,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,3,21,1,0)
What is the patient's occupation? You may leave this field blank if
"^DD",311.102,311.102,3,21,2,0)
you are unsure.
"^DD",311.102,311.102,3,"DT")
3170907
"^DD",311.102,311.102,4,0)
OCCUPATION CODE^S^1:Higher executives;2:Business managers;3:Administrative personnel;4:Clerical/Sales workers;5:Skilled manual employees;6:Machine operators;7:Unskilled employees;8:Unemployed;^0;7^Q
"^DD",311.102,311.102,4,3)
Enter the code that best represents the patient's occupation.
"^DD",311.102,311.102,4,"DT")
3170907
"^DD",311.102,311.102,5,0)
SEX^S^m:Male;f:Female;^0;8^Q
"^DD",311.102,311.102,5,3)
Enter m for male or f for female.
"^DD",311.102,311.102,5,"DT")
3170907
"^DD",311.102,311.102,6,0)
HEIGHT^NJ6,2^^0;9^K:+X'=X!(X>999)!(X<1)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,6,3)
Type a number between 1 and 999, 2 decimal digits.
"^DD",311.102,311.102,6,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,6,21,1,0)
Enter the patient's height in inches or centimeters. Indicate which
"^DD",311.102,311.102,6,21,2,0)
you used in the next field.
"^DD",311.102,311.102,6,"DT")
3170907
"^DD",311.102,311.102,6.1,0)
HEIGHT UNITS^S^i:Inches;c:Centimeters;^0;10^Q
"^DD",311.102,311.102,6.1,3)
Enter i for inches or c for centimeters.
"^DD",311.102,311.102,6.1,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,6.1,21,1,0)
Enter the units used in the HEIGHT field: i for inches or c for centimeters.
"^DD",311.102,311.102,6.1,"DT")
3170907
"^DD",311.102,311.102,6.2,0)
WEIGHT^NJ6,2^^0;11^K:+X'=X!(X>999)!(X<1)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,6.2,3)
Type a number between 1 and 999, 2 decimal digits.
"^DD",311.102,311.102,6.2,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,6.2,21,1,0)
Enter the patient's weight, in pounds or kilograms. Use the next
"^DD",311.102,311.102,6.2,21,2,0)
field to indicate which you used.
"^DD",311.102,311.102,6.2,"DT")
3170907
"^DD",311.102,311.102,6.3,0)
WEIGHT UNITS^S^p:Pounds;k:Kilograms;^0;12^Q
"^DD",311.102,311.102,6.3,3)
Enter p for pounds or k for kilograms.
"^DD",311.102,311.102,6.3,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,6.3,21,1,0)
Enter the units used in the WEIGHT field: p for pounds or k for kilograms.
"^DD",311.102,311.102,6.3,"DT")
3170907
"^DD",311.102,311.102,6.4,0)
BMI^NJ8,4^^0;13^K:+X'=X!(X>999)!(X<1)!(X?.E1"."5N.N) X
"^DD",311.102,311.102,6.4,3)
Type a number between 1 and 999, 4 decimal digits.
"^DD",311.102,311.102,6.4,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,6.4,21,1,0)
Enter the patient's BMI, calculated from the given height and weight.
"^DD",311.102,311.102,6.4,"DT")
3170907
"^DD",311.102,311.102,7,0)
ETHNICITY^S^y:Hispanic or Latino;n:Not Hispanic or Latino;^0;14^Q
"^DD",311.102,311.102,7,3)
Enter y if the patient is Hispanic or Latino, or n if not.
"^DD",311.102,311.102,7,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,7,21,1,0)
Indicate whether the patient is Hispanic/Latino (y) or not (n). The
"^DD",311.102,311.102,7,21,2,0)
patient's race can be indicated in the next field.
"^DD",311.102,311.102,7,"DT")
3170907
"^DD",311.102,311.102,7.1,0)
RACE^S^i:American Indian;k:Alaska Native;a:Asian;p:Native Hawaiian or Other Pacific Islander;b:Black or African American;w:White;t:Two or more;o:Other (specify);^0;15^Q
"^DD",311.102,311.102,7.1,3)
Enter the code describing the patient's race.
"^DD",311.102,311.102,7.1,21,0)
^^32^32^3170907^
"^DD",311.102,311.102,7.1,21,1,0)
Enter the code corresponding with the patient's race:
"^DD",311.102,311.102,7.1,21,2,0)
"^DD",311.102,311.102,7.1,21,3,0)
i American indian. A person having origins in any of the original
"^DD",311.102,311.102,7.1,21,4,0)
peoples of North America, and who maintains cultural identification
"^DD",311.102,311.102,7.1,21,5,0)
through tribal affiliation or community recognition.
"^DD",311.102,311.102,7.1,21,6,0)
"^DD",311.102,311.102,7.1,21,7,0)
k Alaskan Native. A person having origins in any of the indigenous
"^DD",311.102,311.102,7.1,21,8,0)
peoples of Alaska, and who maintains cultural identification through
"^DD",311.102,311.102,7.1,21,9,0)
tribal affiliation or community recognition.
"^DD",311.102,311.102,7.1,21,10,0)
"^DD",311.102,311.102,7.1,21,11,0)
a Asian. A person having origins in any of the original peoples of the
"^DD",311.102,311.102,7.1,21,12,0)
Far East, Southeast Asia, or the Indian subcontinent. This area includes,
"^DD",311.102,311.102,7.1,21,13,0)
for example, China, India, Japan, Korea, and the Philippine Islands.
"^DD",311.102,311.102,7.1,21,14,0)
"^DD",311.102,311.102,7.1,21,15,0)
p Native Hawaiian or other Pacific Islander. A person having origins
"^DD",311.102,311.102,7.1,21,16,0)
in any of the original peoples of Hawaii or the Pacific Islands. This
"^DD",311.102,311.102,7.1,21,17,0)
area includes, for example, Hawaii, Polynesia, Melanesia, and
"^DD",311.102,311.102,7.1,21,18,0)
Micronesia.
"^DD",311.102,311.102,7.1,21,19,0)
"^DD",311.102,311.102,7.1,21,20,0)
b Black or African American. A person having origins in any of the
"^DD",311.102,311.102,7.1,21,21,0)
black racial groups of Africa.
"^DD",311.102,311.102,7.1,21,22,0)
"^DD",311.102,311.102,7.1,21,23,0)
w White. A person having origins in any of the original peoples of
"^DD",311.102,311.102,7.1,21,24,0)
Europe, North Africa, or the Middle East.
"^DD",311.102,311.102,7.1,21,25,0)
"^DD",311.102,311.102,7.1,21,26,0)
t Two or more. A person self-identifying as multiracial.
"^DD",311.102,311.102,7.1,21,27,0)
"^DD",311.102,311.102,7.1,21,28,0)
o Other (specify). Any other race reported that doesn't fit the above
"^DD",311.102,311.102,7.1,21,29,0)
categories. If this category is chosen, please use the next field
"^DD",311.102,311.102,7.1,21,30,0)
to specify.
"^DD",311.102,311.102,7.1,21,31,0)
"^DD",311.102,311.102,7.1,21,32,0)
You may leave this field blank.
"^DD",311.102,311.102,7.1,"DT")
3170907
"^DD",311.102,311.102,7.2,0)
RACE (SPECIFY)^FJ20^^0;16^K:$L(X)>20!($L(X)<2) X
"^DD",311.102,311.102,7.2,3)
Answer must be 2-20 characters in length.
"^DD",311.102,311.102,7.2,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,7.2,21,1,0)
If you chose "other" as the patient's race, specify the race here.
"^DD",311.102,311.102,7.2,"DT")
3170907
"^DD",311.102,311.102,8,0)
LEVEL OF EDUCATION^S^n:did not complete high school;hs:completed high school;sc:started college;ts:completed trade school;ad:completed 2-year college degree;bd:completed 4-year college degree;gd:advanced degree;^0;17^Q
"^DD",311.102,311.102,8,3)
The highest level of education completed by the patient.
"^DD",311.102,311.102,8,"DT")
3170907
"^DD",311.102,311.102,9,0)
MILITARY^S^n:No;y:Yes;^0;18^Q
"^DD",311.102,311.102,9,3)
Did the patient serve in the military?
"^DD",311.102,311.102,9,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,9,21,1,0)
Did the patient serve in the military? If yes, use the next field
"^DD",311.102,311.102,9,21,2,0)
to indicate which branch of the military they served in.
"^DD",311.102,311.102,9,"DT")
3170907
"^DD",311.102,311.102,9.1,0)
BRANCH^FJ20^^0;19^K:$L(X)>20!($L(X)<2) X
"^DD",311.102,311.102,9.1,3)
Answer must be 2-20 characters in length.
"^DD",311.102,311.102,9.1,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,9.1,21,1,0)
Enter the branch of the military the patient served in.
"^DD",311.102,311.102,9.1,"DT")
3170907
"^DD",311.102,311.102,9.2,0)
SCAN ORDERED^S^n:No;y:Yes;^0;20^Q
"^DD",311.102,311.102,9.2,3)
Was a CT lung screening scan ordered for this patient?
"^DD",311.102,311.102,9.2,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,9.2,21,1,0)
Was a CT lung screening scan ordered for this patient (CPT code G0297)?
"^DD",311.102,311.102,9.2,21,2,0)
If yes, please fill in the next fields about the ordering practitioner.
"^DD",311.102,311.102,9.2,"DT")
3170907
"^DD",311.102,311.102,10,0)
PRACTITIONER NAME^FJ30^^0;21^K:$L(X)>30!($L(X)<3) X
"^DD",311.102,311.102,10,3)
Answer must be 3-30 characters in length.
"^DD",311.102,311.102,10,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,10,21,1,0)
If a CT lung screening scan was ordered, enter the name of the ordering
"^DD",311.102,311.102,10,21,2,0)
practitioner. If not, leave the field blank.
"^DD",311.102,311.102,10,"DT")
3170907
"^DD",311.102,311.102,10.1,0)
PRACTITIONER NPI^FJ12^^0;22^K:$L(X)>12!($L(X)<1) X
"^DD",311.102,311.102,10.1,3)
Answer must be 1-12 characters in length.
"^DD",311.102,311.102,10.1,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,10.1,21,1,0)
If a CT lung screening scan was ordered for this patient, enter the NPI
"^DD",311.102,311.102,10.1,21,2,0)
of the ordering practitioner. You may leave this field blank.
"^DD",311.102,311.102,10.1,"DT")
3170907
"^DD",311.102,311.102,11,0)
SHARED DECISION^S^n:No;y:Yes;^0;23^Q
"^DD",311.102,311.102,11,3)
Is there documentation of shared decision-making?
"^DD",311.102,311.102,11,"DT")
3170907
"^DD",311.102,311.102,12,0)
PRACTITIONER PACK YEARS^NJ8,4^^0;24^K:+X'=X!(X>999)!(X<1)!(X?.E1"."5N.N) X
"^DD",311.102,311.102,12,3)
Type a number between 1 and 999, 4 decimal digits.
"^DD",311.102,311.102,12,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,12,21,1,0)
If a CT lung screening scan was ordered for this patient, enter the pack
"^DD",311.102,311.102,12,21,2,0)
years as reported by the ordering practitioner.
"^DD",311.102,311.102,12,"DT")
3170907
"^DD",311.102,311.102,12.1,0)
PRACTITIONER SMOKING STATUS^S^c:current;f:former;^0;25^Q
"^DD",311.102,311.102,12.1,3)
Enter c for current or f for former.
"^DD",311.102,311.102,12.1,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,12.1,21,1,0)
Enter the patient's smoking status as reported by the ordering
"^DD",311.102,311.102,12.1,21,2,0)
practitioner: c for current smoker or f for former smoker.
"^DD",311.102,311.102,12.1,"DT")
3170907
"^DD",311.102,311.102,12.2,0)
PRACTITIONER QUIT YEARS^NJ5,2^^0;26^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,12.2,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.102,311.102,12.2,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,12.2,21,1,0)
Enter the patient's quit years as reported by the ordering practitioner.
"^DD",311.102,311.102,12.2,"DT")
3170907
"^DD",311.102,311.102,12.3,0)
PRACTITIONER ASYMPTOMATIC^S^n:No;y:Yes;^0;27^Q
"^DD",311.102,311.102,12.3,3)
Did the ordering pracitioner report the patient asymptomatic for lung cancer?
"^DD",311.102,311.102,12.3,"DT")
3170907
"^DD",311.102,311.102,12.4,0)
CLINICAL INFORMATION^311.10211^^1;0
"^DD",311.102,311.102,13,0)
FAMILY HISTORY OF LUNG CANCER^S^n:No;y:Yes;q:?;^2;1^Q
"^DD",311.102,311.102,13,3)
Does the patient's family have a history of lung cancer?
"^DD",311.102,311.102,13,"DT")
3170907
"^DD",311.102,311.102,13.1,0)
LUNG CANCER FATHER^S^n:No;y:Yes;^2;2^Q
"^DD",311.102,311.102,13.1,3)
Does the patient's father have a history of lung cancer?
"^DD",311.102,311.102,13.1,"DT")
3170907
"^DD",311.102,311.102,13.2,0)
LUNG CANCER MOTHER^S^n:No;y:Yes;^2;3^Q
"^DD",311.102,311.102,13.2,3)
Does the patient's mother have a history of lung cancer?
"^DD",311.102,311.102,13.2,"DT")
3170907
"^DD",311.102,311.102,13.3,0)
LUNG CANCER SIBLING^S^n:No;y:Yes;^2;4^Q
"^DD",311.102,311.102,13.3,3)
Do one of more of the patient's sibings have a history of lung cancer?
"^DD",311.102,311.102,13.3,"DT")
3170907
"^DD",311.102,311.102,14,0)
ALL OTHER CANCERS^S^n:No;y:Yes;q:?;^2;5^Q
"^DD",311.102,311.102,14,3)
Has the patient ever had any type of cancer?
"^DD",311.102,311.102,14,21,0)
^^2^2^3170907^
"^DD",311.102,311.102,14,21,1,0)
Has the patient ever had any type of cancer? If yes, use the next two
"^DD",311.102,311.102,14,21,2,0)
fields to indicate the cancer site and diagnosis date.
"^DD",311.102,311.102,14,"DT")
3170907
"^DD",311.102,311.102,14.1,0)
OTHER CANCERS WHEN^D^^2;6^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,14.1,3)
In what year was the patient's cancer diagnosed?
"^DD",311.102,311.102,14.1,"DT")
3170907
"^DD",311.102,311.102,14.2,0)
OTHER CANCERS SITE^FJ30^^2;7^K:$L(X)>30!($L(X)<3) X
"^DD",311.102,311.102,14.2,3)
Answer must be 3-30 characters in length.
"^DD",311.102,311.102,14.2,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,14.2,21,1,0)
What is the primary site of the patient's previous cancer?
"^DD",311.102,311.102,14.2,"DT")
3170907
"^DD",311.102,311.102,15,0)
ASTHMA^S^n:No;y:Yes;q:?;^2;8^Q
"^DD",311.102,311.102,15,.1)
Asthma
"^DD",311.102,311.102,15,3)
Does the patient have asthma?
"^DD",311.102,311.102,15,"DT")
3170907
"^DD",311.102,311.102,15.1,0)
ASTHMA TREATED^S^n:No;y:Yes;^2;9^Q
"^DD",311.102,311.102,15.1,3)
Is the patient's asthma currently being treated?
"^DD",311.102,311.102,15.1,"DT")
3170907
"^DD",311.102,311.102,16,0)
EMPHYSEMA OR COPD^S^n:No;y:Yes;q:?;^2;10^Q
"^DD",311.102,311.102,16,3)
Does the patient have emphysema or chronic bronchitis (COPD)?
"^DD",311.102,311.102,16,"DT")
3170907
"^DD",311.102,311.102,16.1,0)
EMPHYSEMA OR COPD WHEN^D^^2;11^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,16.1,3)
In what year was the patient's emphysema or COPD diagnosed?
"^DD",311.102,311.102,16.1,"DT")
3170907
"^DD",311.102,311.102,17,0)
HYPERTENSION^S^n:No;y:Yes;q:?;^2;12^Q
"^DD",311.102,311.102,17,3)
Does the patient have high blood pressure (hypertension)?
"^DD",311.102,311.102,17,"DT")
3170907
"^DD",311.102,311.102,17.1,0)
HYPERTENSION TREATED^S^n:No;y:Yes;^2;13^Q
"^DD",311.102,311.102,17.1,3)
Is the patient's hypertension currently being treated?
"^DD",311.102,311.102,17.1,"DT")
3170907
"^DD",311.102,311.102,17.2,0)
HYPERTENSION SINCE^D^^2;14^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,17.2,3)
When was the patient diagnosed with hypertension?
"^DD",311.102,311.102,17.2,"DT")
3170907
"^DD",311.102,311.102,17.3,0)
HYPERTENSION HIGHEST VALUE^FJ9^^2;15^K:$L(X)>9!($L(X)<1) X
"^DD",311.102,311.102,17.3,3)
Answer must be 1-9 characters in length.
"^DD",311.102,311.102,17.3,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,17.3,21,1,0)
Enter the highest blood-pressure value recorded for the patient.
"^DD",311.102,311.102,17.3,"DT")
3170907
"^DD",311.102,311.102,18,0)
HIGH CHOLESTEROL^S^n:No;y:Yes;q:?;^2;16^Q
"^DD",311.102,311.102,18,3)
Does the patient have high cholesterol?
"^DD",311.102,311.102,18,"DT")
3170907
"^DD",311.102,311.102,18.1,0)
HIGH CHOLESTEROL TREATED^S^n:No;y:Yes;^2;17^Q
"^DD",311.102,311.102,18.1,3)
Is the patient's high cholesterol currently being treated?
"^DD",311.102,311.102,18.1,"DT")
3170907
"^DD",311.102,311.102,19,0)
ANGIOPLASTY OR STENT^S^n:No;y:Yes;q:?;^2;18^Q
"^DD",311.102,311.102,19,3)
Has the patient ever had an angioplasty or a stent?
"^DD",311.102,311.102,19,"DT")
3170907
"^DD",311.102,311.102,19.1,0)
ANGIOPLASTY WHEN^D^^2;19^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,19.1,3)
When was the patient's angioplasty or stent?
"^DD",311.102,311.102,19.1,"DT")
3170907
"^DD",311.102,311.102,19.2,0)
ANGIOPLASTY WHERE^FJ30^^2;20^K:$L(X)>30!($L(X)<5) X
"^DD",311.102,311.102,19.2,3)
Answer must be 5-30 characters in length.
"^DD",311.102,311.102,19.2,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,19.2,21,1,0)
Where was the patient treated when they had their angioplasty or stent?
"^DD",311.102,311.102,19.2,"DT")
3170907
"^DD",311.102,311.102,20,0)
MI^S^n:No;y:Yes;q:?;^2;21^Q
"^DD",311.102,311.102,20,3)
Has the patient ever had a myocardial infarction (MI)?
"^DD",311.102,311.102,20,"DT")
3170907
"^DD",311.102,311.102,20.1,0)
MI WHEN^D^^2;22^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,20.1,3)
When was the patient's myocardial infarction (MI)?
"^DD",311.102,311.102,20.1,"DT")
3170907
"^DD",311.102,311.102,20.2,0)
MI WHERE^FJ30^^2;23^K:$L(X)>30!($L(X)<5) X
"^DD",311.102,311.102,20.2,3)
Answer must be 5-30 characters in length.
"^DD",311.102,311.102,20.2,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,20.2,21,1,0)
Where was the patient treated for their myocardial infarction (MI)?
"^DD",311.102,311.102,20.2,"DT")
3170907
"^DD",311.102,311.102,21,0)
STROKE^S^n:No;y:Yes;q:?;^2;24^Q
"^DD",311.102,311.102,21,3)
Has the patient ever had a stroke?
"^DD",311.102,311.102,21,"DT")
3170907
"^DD",311.102,311.102,21.1,0)
STROKE WHEN^D^^2;25^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,21.1,3)
When did the patient have a stroke?
"^DD",311.102,311.102,21.1,"DT")
3170907
"^DD",311.102,311.102,21.2,0)
STROKE WHERE^FJ30^^2;26^K:$L(X)>30!($L(X)<5) X
"^DD",311.102,311.102,21.2,3)
Answer must be 5-30 characters in length.
"^DD",311.102,311.102,21.2,21,0)
^^1^1^3170907^
"^DD",311.102,311.102,21.2,21,1,0)
Where was the patient treated for their stroke?
"^DD",311.102,311.102,21.2,"DT")
3170907
"^DD",311.102,311.102,22,0)
PERIPHERAL VASCULAR DISEASE^S^n:No;y:Yes;q:?;^2;27^Q
"^DD",311.102,311.102,22,3)
Does the patient have peripheral vascular disease (poor circulation)?
"^DD",311.102,311.102,22,"DT")
3170908
"^DD",311.102,311.102,23,0)
DIABETES^S^n:No;y:Yes;q:?;^2;28^Q
"^DD",311.102,311.102,23,3)
Does the patient have diabetes?
"^DD",311.102,311.102,23,"DT")
3170908
"^DD",311.102,311.102,23.1,0)
DIABETES AGE^NJ2,0^^2;29^K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
"^DD",311.102,311.102,23.1,3)
Type a number between 0 and 99, 0 decimal digits.
"^DD",311.102,311.102,23.1,21,0)
^^1^1^3170908^
"^DD",311.102,311.102,23.1,21,1,0)
At what age was the patient first diagnosed with diabetes?
"^DD",311.102,311.102,23.1,"DT")
3170908
"^DD",311.102,311.102,23.2,0)
DIABETES TREATED^S^n:No;y:Yes;^2;30^Q
"^DD",311.102,311.102,23.2,3)
Is the patient's diabetes currently being treated?
"^DD",311.102,311.102,23.2,"DT")
3170908
"^DD",311.102,311.102,24,0)
LIVER DISEASE^S^n:No;y:Yes;q:?;^2;31^Q
"^DD",311.102,311.102,24,3)
Does the patient have liver disease?
"^DD",311.102,311.102,24,"DT")
3170908
"^DD",311.102,311.102,24.1,0)
LIVER SEVERITY^S^m:Mild;s:Moderate/Severe;^2;32^Q
"^DD",311.102,311.102,24.1,3)
Enter m for mild or s for moderate/severe liver disease.
"^DD",311.102,311.102,24.1,"DT")
3170908
"^DD",311.102,311.102,25,0)
RENAL DISEASE^S^n:No;y:Yes;q:?;^2;33^Q
"^DD",311.102,311.102,25,3)
Does the patient have renal (kidney) disease?
"^DD",311.102,311.102,25,"DT")
3170908
"^DD",311.102,311.102,25.1,0)
RENAL SEVERITY^S^m:Mild;s:Moderate/Severe;^2;34^Q
"^DD",311.102,311.102,25.1,3)
Enter m for mild or s for moderate/severe renal (kidney) disease.
"^DD",311.102,311.102,25.1,"DT")
3170908
"^DD",311.102,311.102,26,0)
LUNG CANCER SYMPTOMS^S^n:No;y:Yes;^2;35^Q
"^DD",311.102,311.102,26,3)
Has the patient experienced any symptoms indicative of lung cancer?
"^DD",311.102,311.102,26,"DT")
3170908
"^DD",311.102,311.102,26.1,0)
SYMPTOMS CHECK^311.10212S^^3;0
"^DD",311.102,311.102,26.2,0)
SYMPTOMS OTHER SPECIFY^FJ20^^4;1^K:$L(X)>20!($L(X)<5) X
"^DD",311.102,311.102,26.2,3)
Answer must be 5-20 characters in length.
"^DD",311.102,311.102,26.2,21,0)
^^2^2^3170908^
"^DD",311.102,311.102,26.2,21,1,0)
If you chose "other" as a symptom the patient has experienced, please
"^DD",311.102,311.102,26.2,21,2,0)
specify the symptom here.
"^DD",311.102,311.102,26.2,"DT")
3170908
"^DD",311.102,311.102,27,0)
CHEST CT WHEN^S^a:less than 6 months ago;b:6-18 months ago;f:18 months to 3 years ago;c:3 to 5 years ago;d:over 5 years ago;e:never;^4;2^Q
"^DD",311.102,311.102,27,.1)
Most recent chest CT?
"^DD",311.102,311.102,27,3)
When was the patient's most recent chest CT?
"^DD",311.102,311.102,27,"DT")
3170925
"^DD",311.102,311.102,27.1,0)
CHEST CT WHERE^FJ30^^4;3^K:$L(X)>30!($L(X)<5) X
"^DD",311.102,311.102,27.1,3)
Answer must be 5-30 characters in length.
"^DD",311.102,311.102,27.1,21,0)
^^1^1^3170908^
"^DD",311.102,311.102,27.1,21,1,0)
Where was the patient's most recent chest CT done?
"^DD",311.102,311.102,27.1,"DT")
3170908
"^DD",311.102,311.102,27.2,0)
PULMONARY FUNCTION TEST^S^n:No;y:Yes;^4;4^Q
"^DD",311.102,311.102,27.2,3)
Has the patient had a pulmonary function test within the last five years?
"^DD",311.102,311.102,27.2,"DT")
3170908
"^DD",311.102,311.102,27.3,0)
FEV1 (L/s)^NJ4,2^^4;5^K:+X'=X!(X>9)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,27.3,3)
Type a number between 0 and 9, 2 decimal digits.
"^DD",311.102,311.102,27.3,21,0)
^^2^2^3170908^
"^DD",311.102,311.102,27.3,21,1,0)
Enter the FEV1 (L/s) value from the patient's recent pulmonary function
"^DD",311.102,311.102,27.3,21,2,0)
test, if available.
"^DD",311.102,311.102,27.3,"DT")
3170908
"^DD",311.102,311.102,27.4,0)
FVC (L)^NJ4,2^^4;6^K:+X'=X!(X>9)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,27.4,3)
Type a number between 0 and 9, 2 decimal digits.
"^DD",311.102,311.102,27.4,21,0)
^^2^2^3170908^
"^DD",311.102,311.102,27.4,21,1,0)
Enter the FVC (L) value from the patient's recent pulmonary function
"^DD",311.102,311.102,27.4,21,2,0)
test, if available.
"^DD",311.102,311.102,27.4,"DT")
3170908
"^DD",311.102,311.102,27.5,0)
FEV1/FVC (%)^NJ5,2^^4;7^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,27.5,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.102,311.102,27.5,21,0)
^^4^4^3170908^
"^DD",311.102,311.102,27.5,21,1,0)
Enter the FEV1/FVC value from the patient's recent pulmonary function
"^DD",311.102,311.102,27.5,21,2,0)
test, if available, expressed as a percentage. For example, if the
"^DD",311.102,311.102,27.5,21,3,0)
result is 0.72, or 72%, enter 72. This is a numeric field, so it will
"^DD",311.102,311.102,27.5,21,4,0)
not accept the percent sign (%).
"^DD",311.102,311.102,27.5,"DT")
3170908
"^DD",311.102,311.102,27.6,0)
DIFFUSION CAPACITY^NJ7,4^^4;8^K:+X'=X!(X>99)!(X<1)!(X?.E1"."5N.N) X
"^DD",311.102,311.102,27.6,3)
Type a number between 1 and 99, 4 decimal digits.
"^DD",311.102,311.102,27.6,21,0)
^^2^2^3170908^
"^DD",311.102,311.102,27.6,21,1,0)
Enter the Diffusion Capacity (mL/min/mm Hg) from the patient's recent
"^DD",311.102,311.102,27.6,21,2,0)
pulmonary function test, if available.
"^DD",311.102,311.102,27.6,"DT")
3170908
"^DD",311.102,311.102,28,0)
ASBESTOS EXPOSURE^S^n:No;y:Yes;^4;9^Q
"^DD",311.102,311.102,28,3)
Has the patient been exposed to asbestos?
"^DD",311.102,311.102,28,"DT")
3170908
"^DD",311.102,311.102,28.1,0)
ASBESTOS OCCUPATION^311.10213S^^5;0
"^DD",311.102,311.102,28.2,0)
ASBESTOS OTHER SPECIFY^FJ20^^6;1^K:$L(X)>20!($L(X)<5) X
"^DD",311.102,311.102,28.2,3)
Answer must be 5-20 characters in length.
"^DD",311.102,311.102,28.2,21,0)
^^2^2^3170908^
"^DD",311.102,311.102,28.2,21,1,0)
If you chose "other" as an asbestos-related occupation, please specify
"^DD",311.102,311.102,28.2,21,2,0)
the occupation here.
"^DD",311.102,311.102,28.2,"DT")
3170908
"^DD",311.102,311.102,29,0)
SMOKER^S^n:No;y:Yes;^6;2^Q
"^DD",311.102,311.102,29,3)
Has the patient smoked at least 100 cigarettes in their lifetime?
"^DD",311.102,311.102,29,"DT")
3170911
"^DD",311.102,311.102,29.1,0)
SECONDHAND^S^n:No;y:Yes;^6;3^Q
"^DD",311.102,311.102,29.1,3)
If not a smoker, was the patient exposed to secondhand smoke?
"^DD",311.102,311.102,29.1,"DT")
3170911
"^DD",311.102,311.102,29.2,0)
SMOKING AGE^NJ2,0^^6;4^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.102,311.102,29.2,3)
Type a number between 1 and 99, 0 decimal digits.
"^DD",311.102,311.102,29.2,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,29.2,21,1,0)
About how old was the patient when he or she started smoking cigarettes
"^DD",311.102,311.102,29.2,21,2,0)
regularly?
"^DD",311.102,311.102,29.2,"DT")
3170911
"^DD",311.102,311.102,29.3,0)
SMOKED IN PAST MONTH^S^n:No;y:Yes;^6;5^Q
"^DD",311.102,311.102,29.3,3)
Has the patient smoked in the last month, even one cigarette?
"^DD",311.102,311.102,29.3,"DT")
3170911
"^DD",311.102,311.102,29.4,0)
LAST CIGARETTE DATE^D^^6;6^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,29.4,3)
If not a smoker, when was the patient's last cigarette?
"^DD",311.102,311.102,29.4,"DT")
3170911
"^DD",311.102,311.102,29.5,0)
QUIT YEARS^NJ5,2^^6;7^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,29.5,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.102,311.102,29.5,21,0)
^^1^1^3170911^
"^DD",311.102,311.102,29.5,21,1,0)
Number of years since quit.
"^DD",311.102,311.102,29.5,"DT")
3170911
"^DD",311.102,311.102,29.6,0)
FORMER DAYS PER WEEK^NJ1,0^^6;8^K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.102,311.102,29.6,3)
Type a number between 1 and 7, 0 decimal digits.
"^DD",311.102,311.102,29.6,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,29.6,21,1,0)
When the patient was a smoker, on approximately how many days per week
"^DD",311.102,311.102,29.6,21,2,0)
did he or she smoke cigarettes?
"^DD",311.102,311.102,29.6,"DT")
3170911
"^DD",311.102,311.102,29.7,0)
FORMER PPD^NJ4,2^^6;9^K:+X'=X!(X>9)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,29.7,3)
Type a number between 0 and 9, 2 decimal digits.
"^DD",311.102,311.102,29.7,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,29.7,21,1,0)
On the days that the patient did smoke, approximately how many packs
"^DD",311.102,311.102,29.7,21,2,0)
of cigarettes did he or she smoke per day (PPD)?
"^DD",311.102,311.102,29.7,"DT")
3170911
"^DD",311.102,311.102,29.8,0)
FORMER DURATION^NJ5,2^^6;10^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,29.8,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.102,311.102,29.8,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,29.8,21,1,0)
For approximately how many years did the patient smoke this amount?
"^DD",311.102,311.102,29.8,21,2,0)
(The amount listed in the FORMER PPD field.)
"^DD",311.102,311.102,29.8,"DT")
3170911
"^DD",311.102,311.102,30,0)
CURRENT DAYS PER WEEK^NJ1,0^^6;11^K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.102,311.102,30,3)
Type a number between 1 and 7, 0 decimal digits.
"^DD",311.102,311.102,30,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,30,21,1,0)
On average, how many days per week does the patient (or did the patient)
"^DD",311.102,311.102,30,21,2,0)
smoke cigarettes?
"^DD",311.102,311.102,30,"DT")
3170911
"^DD",311.102,311.102,30.1,0)
CURRENT PPD^NJ4,2^^6;12^K:+X'=X!(X>9)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,30.1,3)
Type a number between 0 and 9, 2 decimal digits.
"^DD",311.102,311.102,30.1,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,30.1,21,1,0)
On average, how many packs of cigarettes does the patient (or did the
"^DD",311.102,311.102,30.1,21,2,0)
patient) smoke per day (PPD)?
"^DD",311.102,311.102,30.1,"DT")
3170911
"^DD",311.102,311.102,30.2,0)
CURRENT DURATION^NJ5,2^^6;13^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,30.2,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.102,311.102,30.2,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,30.2,21,1,0)
For approximately how many years has the patient smoked this amount? (The
"^DD",311.102,311.102,30.2,21,2,0)
amount listed in the CURRENT PPD field.)
"^DD",311.102,311.102,30.2,"DT")
3170911
"^DD",311.102,311.102,30.3,0)
TOTAL PACK YEARS^NJ6,2^^6;19^K:+X'=X!(X>999)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.102,311.102,30.3,3)
Type a number between 0 and 999, 2 decimal digits.
"^DD",311.102,311.102,30.3,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,30.3,21,1,0)
Enter the patient's total pack years, calculated from PPD and years
"^DD",311.102,311.102,30.3,21,2,0)
of smoking.
"^DD",311.102,311.102,30.3,"DT")
3170911
"^DD",311.102,311.102,30.4,0)
TRIED TO QUIT^S^n:No;y:Yes;^6;14^Q
"^DD",311.102,311.102,30.4,3)
Has the patient ever tried to quit smoking?
"^DD",311.102,311.102,30.4,"DT")
3170911
"^DD",311.102,311.102,30.5,0)
TRIED HOW MANY TIMES^S^a:1 time;b:2-5 times;c:6-10 times;d:more than 10 times;^6;15^Q
"^DD",311.102,311.102,30.5,3)
How many times has the patient tried to quit smoking?
"^DD",311.102,311.102,30.5,"DT")
3170911
"^DD",311.102,311.102,30.6,0)
QUIT PAST 12 MONTHS^S^e:0;a:1;b:2-5 times;c:6-10 times;d:more than 10 times;^6;16^Q
"^DD",311.102,311.102,30.6,3)
In the past 12 months, how many times has the patient quit for at least 24 hours?
"^DD",311.102,311.102,30.6,"DT")
3170911
"^DD",311.102,311.102,30.7,0)
THINKING OF QUITTING^S^y:Yes, within the next 30 days;m:Yes, within the next 6 months;n:No, not thinking of quitting;^6;17^Q
"^DD",311.102,311.102,30.7,3)
Is the patient seriously thinking of quitting?
"^DD",311.102,311.102,30.7,"DT")
3170911
"^DD",311.102,311.102,30.8,0)
CESSATION PACKET^S^n:No;y:Yes;^6;18^Q
"^DD",311.102,311.102,30.8,3)
Was the patient offered smoking cessation information or counseling?
"^DD",311.102,311.102,30.8,"DT")
3170911
"^DD",311.102,311.102,31,0)
SECONDHAND WORKSITE^S^n:No;y:Yes;^6;20^Q
"^DD",311.102,311.102,31,3)
After age 18, did the patient work where smoking was allowed?
"^DD",311.102,311.102,31,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,31,21,1,0)
After age 18, did the patient work for more than one year in a
"^DD",311.102,311.102,31,21,2,0)
worksite where smoking was allowed?
"^DD",311.102,311.102,31,"DT")
3170911
"^DD",311.102,311.102,31.1,0)
SECONDHAND WORK EXPOSURE^S^n:No;y:Yes;^6;21^Q
"^DD",311.102,311.102,31.1,3)
Did the patient work where they were exposed to secondhand smoke?
"^DD",311.102,311.102,31.1,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,31.1,21,1,0)
Did the patient ever work for more than one year in a job where he or she
"^DD",311.102,311.102,31.1,21,2,0)
was exposed to other people's tobacco smoke?
"^DD",311.102,311.102,31.1,"DT")
3170911
"^DD",311.102,311.102,31.2,0)
SECONDHAND WORK HISTORY^311.10214A^^7;0
"^DD",311.102,311.102,32,0)
SECONDHAND HOME UNDER 18^S^n:No;y:Yes;^8;1^Q
"^DD",311.102,311.102,32,3)
Did anyone smoke in the home when the patient was under 18?
"^DD",311.102,311.102,32,"DT")
3170911
"^DD",311.102,311.102,32.1,0)
SMOKING ALLOWED HOME^S^n:not permitted;r:restricted;y:allowed anywhere;^8;2^Q
"^DD",311.102,311.102,32.1,3)
Was smoking allowed inside the house?
"^DD",311.102,311.102,32.1,"DT")
3170911
"^DD",311.102,311.102,32.2,0)
MOTHER SMOKE UNDER 7^S^n:No;y:Yes;^8;3^Q
"^DD",311.102,311.102,32.2,3)
Did the patient's mother smoke when they were under 7?
"^DD",311.102,311.102,32.2,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,32.2,21,1,0)
Did the patient's mother or primary caregiver smoke when the patient was
"^DD",311.102,311.102,32.2,21,2,0)
under age 7?
"^DD",311.102,311.102,32.2,"DT")
3170911
"^DD",311.102,311.102,32.3,0)
MOTHER SMOKE 7-18^S^n:No;y:Yes;^8;4^Q
"^DD",311.102,311.102,32.3,3)
Did the patient's mother smoke when they were 7-18?
"^DD",311.102,311.102,32.3,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,32.3,21,1,0)
Did the patient's mother or primary caregiver smoke when the patient was
"^DD",311.102,311.102,32.3,21,2,0)
ages 7-18?
"^DD",311.102,311.102,32.3,"DT")
3170911
"^DD",311.102,311.102,32.4,0)
HOME CHILDHOOD OTHER^S^n:No;y:Yes;^8;5^Q
"^DD",311.102,311.102,32.4,3)
Did anyone besides the patient's mother smoke under 18?
"^DD",311.102,311.102,32.4,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,32.4,21,1,0)
Did anyone else besides the patient's mother or primary caregiver smoke
"^DD",311.102,311.102,32.4,21,2,0)
in the home when the patient was under 18?
"^DD",311.102,311.102,32.4,"DT")
3170911
"^DD",311.102,311.102,32.5,0)
SECONDHAND CURRENT^S^n:No;y:Yes;^8;6^Q
"^DD",311.102,311.102,32.5,3)
Does the patient currently live with a smoker?
"^DD",311.102,311.102,32.5,"DT")
3170911
"^DD",311.102,311.102,32.6,0)
SECONDHAND HOME ADULT^S^n:No;y:Yes;^8;7^Q
"^DD",311.102,311.102,32.6,3)
After age 18, did the patient live with someone who smoked?
"^DD",311.102,311.102,32.6,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,32.6,21,1,0)
After age 18, did the patient live with someone for more than a year who
"^DD",311.102,311.102,32.6,21,2,0)
smoked in their presence?
"^DD",311.102,311.102,32.6,"DT")
3170911
"^DD",311.102,311.102,32.7,0)
SECONDHAND HOME HISTORY^311.10215A^^9;0
"^DD",311.102,311.102,33,0)
GENERAL HEALTH^S^1:Excellent;2:Very good;3:Good;4:Fair;5:Poor;^10;1^Q
"^DD",311.102,311.102,33,3)
Overall, how would the patient rate thier health during the past 4 weeks?
"^DD",311.102,311.102,33,"DT")
3170911
"^DD",311.102,311.102,33.1,0)
HEALTH ACTIVITY LIMITS^S^1:Not at all;2:Very little;3:Somewhat;4:Quite a lot;5:Could not do physical activities;^10;2^Q
"^DD",311.102,311.102,33.1,.1)
Health limit usual activities
"^DD",311.102,311.102,33.1,3)
How much did phiscal health problems limit usual phsical activities?
"^DD",311.102,311.102,33.1,21,0)
^.001^2^2^3170911^^
"^DD",311.102,311.102,33.1,21,1,0)
During the past 4 weeks, how much did physical health problems limit the
"^DD",311.102,311.102,33.1,21,2,0)
patient's usual physical activities (such as walking or climbing stairs)?
"^DD",311.102,311.102,33.1,"DT")
3170911
"^DD",311.102,311.102,33.2,0)
HEALTH DAILY WORK^S^1:Not at all;2:A little bit;3:Some;4:Quite a lot;5:Could not do daily work;^10;3^Q
"^DD",311.102,311.102,33.2,.1)
Health difficulty with daily work
"^DD",311.102,311.102,33.2,3)
How much difficulty did the patient have doing daily work?
"^DD",311.102,311.102,33.2,21,0)
^.001^3^3^3170911^^
"^DD",311.102,311.102,33.2,21,1,0)
During the past 4 weeks, how much difficulty did the patient have doing
"^DD",311.102,311.102,33.2,21,2,0)
his or her daily work, both at home and away from home, because of
"^DD",311.102,311.102,33.2,21,3,0)
physical health?
"^DD",311.102,311.102,33.2,"DT")
3170911
"^DD",311.102,311.102,33.4,0)
BODILY PAIN^S^1:None;2:Very mild;3:Mild;4:Moderate;5:Severe;6:Very severe;^10;4^Q
"^DD",311.102,311.102,33.4,3)
How much bodily pain has the patinet had during the past 4 weeks?
"^DD",311.102,311.102,33.4,"DT")
3170911
"^DD",311.102,311.102,33.5,0)
ENERGY^S^1:Very much;2:Quite a lot;3:Some;4:A little;5:None;^10;5^Q
"^DD",311.102,311.102,33.5,3)
During the past 4 weeks, how much energy did the patient have?
"^DD",311.102,311.102,33.5,"DT")
3170911
"^DD",311.102,311.102,33.6,0)
HEALTH SOCIAL LIMITS^S^1:None at all;2:Very little;3:Somewhat;4:Quite a lot;5:Could not do social activities;^10;6^Q
"^DD",311.102,311.102,33.6,.1)
Health limited social activities
"^DD",311.102,311.102,33.6,3)
How much did the patient's health or emotional probelms limit social activities?
"^DD",311.102,311.102,33.6,21,0)
^.001^3^3^3170911^^
"^DD",311.102,311.102,33.6,21,1,0)
Duing the past 4 weeks, how much did the patient's physical health or
"^DD",311.102,311.102,33.6,21,2,0)
emotional problems limit their usual social activities with family
"^DD",311.102,311.102,33.6,21,3,0)
or friends?
"^DD",311.102,311.102,33.6,"DT")
3170911
"^DD",311.102,311.102,33.7,0)
HEALTH EMOTIONAL^S^1:Not at all;2:Slightly;3:Moderately;4:Quite a lot;5:Extremely;^10;7^Q
"^DD",311.102,311.102,33.7,3)
How much has the patient been bothered by emotional problems?
"^DD",311.102,311.102,33.7,21,0)
^^2^2^3170911^
"^DD",311.102,311.102,33.7,21,1,0)
During the past 4 weeks, how much hwas the patient been bothered by
"^DD",311.102,311.102,33.7,21,2,0)
emotional problems (such as feeling anxious, depressed or irritable)?
"^DD",311.102,311.102,33.7,"DT")
3170911
"^DD",311.102,311.102,33.8,0)
HEALTH DAILY ACTIVITIES^S^1:Not at all;2:Very little;3:Somewhat;4:Quite a lot;5:Could not do daily activities;^10;8^Q
"^DD",311.102,311.102,33.8,.1)
Health problems keeping from usual activities
"^DD",311.102,311.102,33.8,3)
How much did personal/emotional problems keep the patient from daily activities?
"^DD",311.102,311.102,33.8,21,0)
^.001^3^3^3170911^^
"^DD",311.102,311.102,33.8,21,1,0)
During the past 4 weeks, how much did personal or emotional problems keep
"^DD",311.102,311.102,33.8,21,2,0)
the patient from doing their usual work, school or other daily
"^DD",311.102,311.102,33.8,21,3,0)
activities?
"^DD",311.102,311.102,33.8,"DT")
3170911
"^DD",311.102,311.102,34,0)
CONSENT SIGNED^S^n:No;y:Yes;^10;9^Q
"^DD",311.102,311.102,34,3)
Has the participant signed the consent form?
"^DD",311.102,311.102,34,"DT")
3170911
"^DD",311.102,311.102,34.1,0)
CONSENT DATE^D^^10;10^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.102,311.102,34.1,3)
On what date was the informed consent signed?
"^DD",311.102,311.102,34.1,"DT")
3170911
"^DD",311.102,311.102,34.2,0)
CONSENT OBTAINED BY^FJ30^^10;11^K:$L(X)>30!($L(X)<5) X
"^DD",311.102,311.102,34.2,3)
Answer must be 5-30 characters in length.
"^DD",311.102,311.102,34.2,21,0)
^^1^1^3170911^
"^DD",311.102,311.102,34.2,21,1,0)
The name of the individual obtaining consent from the participant.
"^DD",311.102,311.102,34.2,"DT")
3170911
"^DD",311.102,311.10211,0)
CLINICAL INFORMATION SUB-FIELD^^.01^1
"^DD",311.102,311.10211,0,"NM","CLINICAL INFORMATION")
"^DD",311.102,311.10211,0,"UP")
311.102
"^DD",311.102,311.10211,.01,0)
CLINICAL INFORMATION^Wx^^0;1^Q
"^DD",311.102,311.10211,.01,3)
Enter any clinical information forwarded by the ordering practitioner.
"^DD",311.102,311.10211,.01,"DT")
3170907
"^DD",311.102,311.10212,0)
SYMPTOMS CHECK SUB-FIELD^^.01^1
"^DD",311.102,311.10212,0,"IX","B",311.10212,.01)
"^DD",311.102,311.10212,0,"NM","SYMPTOMS CHECK")
"^DD",311.102,311.10212,0,"UP")
311.102
"^DD",311.102,311.10212,.01,0)
SYMPTOMS CHECK^MS^b:cough producing bloody material;h:persistent hoarseness;l:unexplained weight loss;o:other;^0;1^Q
"^DD",311.102,311.10212,.01,1,0)
^.1
"^DD",311.102,311.10212,.01,1,1,0)
311.10212^B
"^DD",311.102,311.10212,.01,1,1,1)
S ^SAMI(311.102,DA(1),3,"B",$E(X,1,30),DA)=""
"^DD",311.102,311.10212,.01,1,1,2)
K ^SAMI(311.102,DA(1),3,"B",$E(X,1,30),DA)
"^DD",311.102,311.10212,.01,3)
Select any symptom(s) the patient has experienced.
"^DD",311.102,311.10212,.01,21,0)
^^2^2^3170908^
"^DD",311.102,311.10212,.01,21,1,0)
Select any symptom(s) the patient has experienced. You may select more
"^DD",311.102,311.10212,.01,21,2,0)
than one. If you select "other," please use the next field to specify.
"^DD",311.102,311.10212,.01,"DT")
3170908
"^DD",311.102,311.10213,0)
ASBESTOS OCCUPATION SUB-FIELD^^.01^1
"^DD",311.102,311.10213,0,"IX","B",311.10213,.01)
"^DD",311.102,311.10213,0,"NM","ASBESTOS OCCUPATION")
"^DD",311.102,311.10213,0,"UP")
311.102
"^DD",311.102,311.10213,.01,0)
ASBESTOS OCCUPATION^MS^i:asbestos product manufacturing;j:auto repair;h:building maintenance;f:chemical industry, foundry, refinery;a:construction or demolition;e:mining;g:nuclear industry;c:ship construction or repair;o:other;^0;1^Q
"^DD",311.102,311.10213,.01,1,0)
^.1
"^DD",311.102,311.10213,.01,1,1,0)
311.10213^B
"^DD",311.102,311.10213,.01,1,1,1)
S ^SAMI(311.102,DA(1),5,"B",$E(X,1,30),DA)=""
"^DD",311.102,311.10213,.01,1,1,2)
K ^SAMI(311.102,DA(1),5,"B",$E(X,1,30),DA)
"^DD",311.102,311.10213,.01,3)
Indicate whether the patient has worked in the listed occupations.
"^DD",311.102,311.10213,.01,21,0)
^^3^3^3170908^
"^DD",311.102,311.10213,.01,21,1,0)
Indicate whether the patient has worked in the listed occupations. You
"^DD",311.102,311.10213,.01,21,2,0)
may choose more than one. If you choose "other," please use the next
"^DD",311.102,311.10213,.01,21,3,0)
field to specify the occupation.
"^DD",311.102,311.10213,.01,"DT")
3170908
"^DD",311.102,311.10214,0)
SECONDHAND WORK HISTORY SUB-FIELD^^1^3
"^DD",311.102,311.10214,0,"IX","B",311.10214,.01)
"^DD",311.102,311.10214,0,"NM","SECONDHAND WORK HISTORY")
"^DD",311.102,311.10214,0,"UP")
311.102
"^DD",311.102,311.10214,.01,0)
AGE RANGE^MFJ20^^0;1^K:$L(X)>20!($L(X)<3) X
"^DD",311.102,311.10214,.01,.1)
Age range
"^DD",311.102,311.10214,.01,1,0)
^.1
"^DD",311.102,311.10214,.01,1,1,0)
311.10214^B
"^DD",311.102,311.10214,.01,1,1,1)
S ^SAMI(311.102,DA(1),7,"B",$E(X,1,30),DA)=""
"^DD",311.102,311.10214,.01,1,1,2)
K ^SAMI(311.102,DA(1),7,"B",$E(X,1,30),DA)
"^DD",311.102,311.10214,.01,3)
Answer must be 3-20 characters in length.
"^DD",311.102,311.10214,.01,21,0)
^.001^1^1^3170911^^
"^DD",311.102,311.10214,.01,21,1,0)
Age range for the current occupation history entry.
"^DD",311.102,311.10214,.01,"DT")
3170911
"^DD",311.102,311.10214,.02,0)
JOB^FJ30^^0;2^K:$L(X)>30!($L(X)<5) X
"^DD",311.102,311.10214,.02,3)
Answer must be 5-30 characters in length.
"^DD",311.102,311.10214,.02,21,0)
^^1^1^3170911^
"^DD",311.102,311.10214,.02,21,1,0)
The job or job title for the current work history entry.
"^DD",311.102,311.10214,.02,"DT")
3170911
"^DD",311.102,311.10214,1,0)
SMOKING^S^n:not permitted;r:restricted;y:allowed anywhere;^0;3^Q
"^DD",311.102,311.10214,1,3)
For the current job history entry, was smoking allowed?
"^DD",311.102,311.10214,1,"DT")
3170911
"^DD",311.102,311.10215,0)
SECONDHAND HOME HISTORY SUB-FIELD^^1^3
"^DD",311.102,311.10215,0,"IX","B",311.10215,.01)
"^DD",311.102,311.10215,0,"NM","SECONDHAND HOME HISTORY")
"^DD",311.102,311.10215,0,"UP")
311.102
"^DD",311.102,311.10215,.01,0)
AGE RANGE^MFJ20^^0;1^K:$L(X)>20!($L(X)<3) X
"^DD",311.102,311.10215,.01,.1)
Age range
"^DD",311.102,311.10215,.01,1,0)
^.1
"^DD",311.102,311.10215,.01,1,1,0)
311.10215^B
"^DD",311.102,311.10215,.01,1,1,1)
S ^SAMI(311.102,DA(1),9,"B",$E(X,1,30),DA)=""
"^DD",311.102,311.10215,.01,1,1,2)
K ^SAMI(311.102,DA(1),9,"B",$E(X,1,30),DA)
"^DD",311.102,311.10215,.01,3)
Answer must be 3-20 characters in length.
"^DD",311.102,311.10215,.01,21,0)
^.001^1^1^3170911^^
"^DD",311.102,311.10215,.01,21,1,0)
Age range for the current home history entry.
"^DD",311.102,311.10215,.01,"DT")
3170911
"^DD",311.102,311.10215,.02,0)
AMOUNT SMOKED^S^a:1-14 cigarettes per day;b:15-24 cigarettes per day;c:25 or more cigarettes per day;d:don't know;^0;2^Q
"^DD",311.102,311.10215,.02,3)
For the current home history entry, how many cigarettes per day?
"^DD",311.102,311.10215,.02,"DT")
3170911
"^DD",311.102,311.10215,1,0)
SMOKING^S^n:not permitted;r:restricted;y:allowed anywhere;^0;3^Q
"^DD",311.102,311.10215,1,3)
For the current home history entry, was smoking allowed in the home?
"^DD",311.102,311.10215,1,"DT")
3170911
"^DD",311.103,311.103,0)
FIELD^^21.6^131
"^DD",311.103,311.103,0,"DT")
3170907
"^DD",311.103,311.103,0,"IX","B",311.103,.01)
"^DD",311.103,311.103,0,"NM","SAMI CT EVAL")
"^DD",311.103,311.103,.01,0)
STUDY ID^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.103,311.103,.01,.1)
Study ID
"^DD",311.103,311.103,.01,1,0)
^.1
"^DD",311.103,311.103,.01,1,1,0)
311.103^B
"^DD",311.103,311.103,.01,1,1,1)
S ^SAMI(311.103,"B",$E(X,1,30),DA)=""
"^DD",311.103,311.103,.01,1,1,2)
K ^SAMI(311.103,"B",$E(X,1,30),DA)
"^DD",311.103,311.103,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.103,311.103,.01,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,.01,21,1,0)
The unique study ID for this patient.
"^DD",311.103,311.103,.01,"DT")
3170907
"^DD",311.103,311.103,.02,0)
PATIENT NAME^FJ30^^0;2^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,.02,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,.02,"DT")
3170822
"^DD",311.103,311.103,.03,0)
STUDY DATE^RD^^0;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.103,311.103,.03,3)
Enter the study date, in any format.
"^DD",311.103,311.103,.03,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,.03,21,1,0)
Enter the study date, in any format. You may use T for today.
"^DD",311.103,311.103,.03,"DT")
3170822
"^DD",311.103,311.103,.04,0)
EXAM NUMBER^FJ20^^0;4^K:$L(X)>20!($L(X)<1) X
"^DD",311.103,311.103,.04,3)
Answer must be 1-20 characters in length.
"^DD",311.103,311.103,.04,"DT")
3170822
"^DD",311.103,311.103,.05,0)
MEDICAL RECORD NUMBER^RFJ30^^0;5^K:$L(X)>30!($L(X)<1) X
"^DD",311.103,311.103,.05,.1)
Medical record number
"^DD",311.103,311.103,.05,3)
Answer must be 1-30 characters in length.
"^DD",311.103,311.103,.05,"DT")
3170822
"^DD",311.103,311.103,.06,0)
RADIOLOGIST^FJ30^^0;6^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,.06,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,.06,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,.06,21,1,0)
The name of the radiologist performing the CT Evaluation.
"^DD",311.103,311.103,.06,"DT")
3170822
"^DD",311.103,311.103,.07,0)
SIGNING RADIOLOGIST^FJ30^^0;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,.07,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,.07,21,0)
^^2^2^3170822^
"^DD",311.103,311.103,.07,21,1,0)
The name of the radiologist signing off on the evaluation, if applicable.
"^DD",311.103,311.103,.07,21,2,0)
You may leave this field blank.
"^DD",311.103,311.103,.07,"DT")
3170822
"^DD",311.103,311.103,.08,0)
CLINICAL INFORMATION^311.10311^^1;0
"^DD",311.103,311.103,1,0)
FINAL READING^S^n:No;y:Yes;^2;1^Q
"^DD",311.103,311.103,1,3)
Is this the final reading?
"^DD",311.103,311.103,1,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,1,21,1,0)
Is this the final reading?
"^DD",311.103,311.103,1,"DT")
3170822
"^DD",311.103,311.103,1.1,0)
OUTSIDE INSTITUTION^S^n:No;y:Yes;^2;2^Q
"^DD",311.103,311.103,1.1,3)
Was the CT scan performed at an outside institution?
"^DD",311.103,311.103,1.1,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,1.1,21,1,0)
Was the CT scan performed at an outside institution?
"^DD",311.103,311.103,1.1,"DT")
3170822
"^DD",311.103,311.103,1.2,0)
EXAM TYPE^RS^b:Baseline;a:Annual repeat;d:Follow-up (not annual);^2;3^Q
"^DD",311.103,311.103,1.2,.1)
Type of exam
"^DD",311.103,311.103,1.2,3)
Enter the code for the type of CT exam being performed.
"^DD",311.103,311.103,1.2,21,0)
^.001^5^5^3170822^^
"^DD",311.103,311.103,1.2,21,1,0)
Enter the code for the type of CT exam being performed.
"^DD",311.103,311.103,1.2,21,2,0)
"^DD",311.103,311.103,1.2,21,3,0)
b Baseline
"^DD",311.103,311.103,1.2,21,4,0)
a Annual repeat
"^DD",311.103,311.103,1.2,21,5,0)
d Follow-up (not annual repeat)
"^DD",311.103,311.103,1.2,"DT")
3170822
"^DD",311.103,311.103,1.3,0)
CT PROTOCOL^RS^l:Low-Dose CT;d:Standard Dx CT/HRCT;i:Limited Dx CT/HRCT;^2;4^Q
"^DD",311.103,311.103,1.3,.1)
CT Protocol
"^DD",311.103,311.103,1.3,3)
Enter the code for the protocol being used.
"^DD",311.103,311.103,1.3,21,0)
^.001^5^5^3170822^^
"^DD",311.103,311.103,1.3,21,1,0)
Enter the code for the protocol being used.
"^DD",311.103,311.103,1.3,21,2,0)
"^DD",311.103,311.103,1.3,21,3,0)
l Low-Dose CT
"^DD",311.103,311.103,1.3,21,4,0)
d Standard Dx CT/HRCT
"^DD",311.103,311.103,1.3,21,5,0)
i Limited Dx CT/HRCT
"^DD",311.103,311.103,1.3,"DT")
3170822
"^DD",311.103,311.103,1.4,0)
DATE OF BASELINE CT^RD^^2;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.103,311.103,1.4,3)
Enter the date of the patient's baseline CT.
"^DD",311.103,311.103,1.4,21,0)
^^2^2^3170822^
"^DD",311.103,311.103,1.4,21,1,0)
Enter the dae of the patient's baseline CT. If this is the baseline CT,
"^DD",311.103,311.103,1.4,21,2,0)
you may enter T for today.
"^DD",311.103,311.103,1.4,"DT")
3170822
"^DD",311.103,311.103,1.5,0)
DATE OF MOST RECENT STUDY^D^^2;6^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.103,311.103,1.5,.1)
Date of most recent comparative study (if applicable)
"^DD",311.103,311.103,1.5,3)
Enter the date of the most recent comparative study.
"^DD",311.103,311.103,1.5,21,0)
^.001^2^2^3170822^^
"^DD",311.103,311.103,1.5,21,1,0)
Enter the date of the most recent comparative study (if applicable).
"^DD",311.103,311.103,1.5,21,2,0)
You may leave this field blank.
"^DD",311.103,311.103,1.5,"DT")
3170822
"^DD",311.103,311.103,1.6,0)
TIME SINCE BASELINE^NJ2,0^^2;7^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.103,311.103,1.6,3)
Type a number between 1 and 99, 0 decimal digits.
"^DD",311.103,311.103,1.6,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,1.6,21,1,0)
Enter the time since the baseline CT scan, in months.
"^DD",311.103,311.103,1.6,"DT")
3170822
"^DD",311.103,311.103,2,0)
NORMAL SHORTCUT^S^n:No;y:Yes;^2;8^Q
"^DD",311.103,311.103,2,3)
Enter "yes" to fill in "no abnormalities."
"^DD",311.103,311.103,2,21,0)
^^2^2^3170822^
"^DD",311.103,311.103,2,21,1,0)
Enter "yes" to fill in "no abnormalities" in all the subsequent data
"^DD",311.103,311.103,2,21,2,0)
values. You can input data values for those which are not negative.
"^DD",311.103,311.103,2,"DT")
3170822
"^DD",311.103,311.103,3,0)
NON-CALCIFIED NODULES^NJ2,0^^2;9^K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
"^DD",311.103,311.103,3,3)
Type a number between 0 and 99, 0 decimal digits.
"^DD",311.103,311.103,3,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,3,21,1,0)
Enter the total number of non-calcified nodules.
"^DD",311.103,311.103,3,"DT")
3170822
"^DD",311.103,311.103,3.1,0)
TOTAL NODULES^NJ2,0^^2;10^K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
"^DD",311.103,311.103,3.1,3)
Type a number between 0 and 99, 0 decimal digits.
"^DD",311.103,311.103,3.1,21,0)
^^1^1^3170822^
"^DD",311.103,311.103,3.1,21,1,0)
Enter the total number of nodules (parenchymal and endobronchial).
"^DD",311.103,311.103,3.1,"DT")
3170822
"^DD",311.103,311.103,3.3,0)
NODULE^311.10312^^3;0
"^DD",311.103,311.103,3.3,21,0)
^.001^1^1^3170901^^^^
"^DD",311.103,311.103,3.3,21,1,0)
This is the nodule grid from the CT Evaluation form.
"^DD",311.103,311.103,4,0)
EMPHYSEMA^S^nv:n/v;no:none;mi:mild;mo:moderate;se:severe;^4;1^Q
"^DD",311.103,311.103,4,.1)
Emphysema
"^DD",311.103,311.103,4,3)
Enter the code describing the patient's emphysema.
"^DD",311.103,311.103,4,21,0)
^.001^7^7^3170823^^
"^DD",311.103,311.103,4,21,1,0)
Enter the code describing the patient's emphysema.
"^DD",311.103,311.103,4,21,2,0)
"^DD",311.103,311.103,4,21,3,0)
nv n/v
"^DD",311.103,311.103,4,21,4,0)
no none
"^DD",311.103,311.103,4,21,5,0)
mi mild
"^DD",311.103,311.103,4,21,6,0)
mo moderate
"^DD",311.103,311.103,4,21,7,0)
se severe
"^DD",311.103,311.103,4,"DT")
3170823
"^DD",311.103,311.103,4.1,0)
CYSTS^S^n:No;y:Yes;e:n/v;^4;2^Q
"^DD",311.103,311.103,4.1,3)
Are cysts present?
"^DD",311.103,311.103,4.1,"DT")
3170823
"^DD",311.103,311.103,4.2,0)
CYSTS LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^4;3^Q
"^DD",311.103,311.103,4.2,3)
If cysts are present, enter their location.
"^DD",311.103,311.103,4.2,"DT")
3170823
"^DD",311.103,311.103,4.3,0)
BLEBS/BULLAE^S^n:No;y:Yes;e:n/v;^4;4^Q
"^DD",311.103,311.103,4.3,3)
Are Blebs/Bullae present?
"^DD",311.103,311.103,4.3,"DT")
3170823
"^DD",311.103,311.103,4.4,0)
BLEBS/BULLAE LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^4;5^Q
"^DD",311.103,311.103,4.4,3)
If Blebs/Bullae are present, what is their location?
"^DD",311.103,311.103,4.4,"DT")
3170823
"^DD",311.103,311.103,4.5,0)
REGIONAL OR DIFFUSE^S^n:No;y:Yes;e:n/v;^4;6^Q
"^DD",311.103,311.103,4.5,3)
Is there regional or diffuse consolidation?
"^DD",311.103,311.103,4.5,21,0)
^^2^2^3170823^
"^DD",311.103,311.103,4.5,21,1,0)
Is there regional or diffuse consolidation? (If consolidation is focal,
"^DD",311.103,311.103,4.5,21,2,0)
include it in the nodule grid.)
"^DD",311.103,311.103,4.5,"DT")
3170823
"^DD",311.103,311.103,4.6,0)
REGIONAL OR DIFFUSE LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^4;7^Q
"^DD",311.103,311.103,4.6,3)
Location of the regional or diffuse consolidation.
"^DD",311.103,311.103,4.6,"DT")
3170823
"^DD",311.103,311.103,4.7,0)
SCARRING^S^n:No;y:Yes;e:n/v;^4;8^Q
"^DD",311.103,311.103,4.7,3)
Is scarring present?
"^DD",311.103,311.103,4.7,"DT")
3170823
"^DD",311.103,311.103,4.8,0)
SCARRING LOCATION^311.10314S^^5;0
"^DD",311.103,311.103,5,0)
BRONCHIECTASIS^S^n:No;y:Yes;e:n/v;^6;1^Q
"^DD",311.103,311.103,5,3)
Is bronchiectasis present?
"^DD",311.103,311.103,5,"DT")
3170823
"^DD",311.103,311.103,5.1,0)
BRONCHIECTASIS LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^6;2^Q
"^DD",311.103,311.103,5.1,.1)
Bronchiectasis location
"^DD",311.103,311.103,5.1,3)
If bronchiectasis is present, what is its location?
"^DD",311.103,311.103,5.1,"DT")
3170823
"^DD",311.103,311.103,5.2,0)
SMALL AIRWAYS^S^n:No;y:Yes;e:n/v;^6;3^Q
"^DD",311.103,311.103,5.2,3)
Is small airways disease present?
"^DD",311.103,311.103,5.2,"DT")
3170823
"^DD",311.103,311.103,5.3,0)
SMALL AIRWAYS LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^6;4^Q
"^DD",311.103,311.103,5.3,3)
If small airways disease is present, what is its location?
"^DD",311.103,311.103,5.3,"DT")
3170823
"^DD",311.103,311.103,5.4,0)
POST SURGICAL^S^na:N/A;no:Normal;ab:Abnormal;nv:n/v;^6;5^Q
"^DD",311.103,311.103,5.4,.1)
Post-surgial findings
"^DD",311.103,311.103,5.4,3)
Post-surgial findings (i.e., bronchial resection margin).
"^DD",311.103,311.103,5.4,"DT")
3170824
"^DD",311.103,311.103,5.5,0)
POST SURGICAL LOCATION^S^r:Right;l:Left;^6;6^Q
"^DD",311.103,311.103,5.5,3)
Enter r for Right or l for Left.
"^DD",311.103,311.103,5.5,"DT")
3170824
"^DD",311.103,311.103,6,0)
INTERSTITIAL LUNG DISEASE^S^n:No;y:Yes;e:n/v;^6;7^Q
"^DD",311.103,311.103,6,3)
Is interstitial lung disease present?
"^DD",311.103,311.103,6,"DT")
3170824
"^DD",311.103,311.103,6.1,0)
INTERSTITIAL LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^6;8^Q
"^DD",311.103,311.103,6.1,3)
What is the location of the interstitial lung disease?
"^DD",311.103,311.103,6.1,21,0)
^^1^1^3170824^
"^DD",311.103,311.103,6.1,21,1,0)
If interstitial lung disease is present, what is its location?
"^DD",311.103,311.103,6.1,"DT")
3170824
"^DD",311.103,311.103,6.8,0)
HONEYCOMBING^S^n:No;y:Yes;e:n/v;^6;9^Q
"^DD",311.103,311.103,6.8,3)
Is there honeycombing present?
"^DD",311.103,311.103,6.8,"DT")
3170824
"^DD",311.103,311.103,6.9,0)
HONEYCOMBING LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^6;10^Q
"^DD",311.103,311.103,6.9,3)
If honeycombing is present, what is its location?
"^DD",311.103,311.103,6.9,"DT")
3170824
"^DD",311.103,311.103,7,0)
ADDITIONAL PARENCHYMAL^311.10315^^7;0
"^DD",311.103,311.103,8,0)
ROUNDED ATELECTASIS^S^n:No;y:Yes;e:n/v;^8;1^Q
"^DD",311.103,311.103,8,3)
Is there rounded atelectasis present?
"^DD",311.103,311.103,8,"DT")
3170828
"^DD",311.103,311.103,8.1,0)
ROUNDED ATELECTASIS LOCATION^311.10319S^^9;0
"^DD",311.103,311.103,8.2,0)
OTHER ATELECTASIS^S^n:No;y:Yes;e:n/v;^10;1^Q
"^DD",311.103,311.103,8.2,3)
Is there other atelectasis present?
"^DD",311.103,311.103,8.2,"DT")
3170828
"^DD",311.103,311.103,8.3,0)
OTHER ATELECTASIS LOCATION^S^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^10;2^Q
"^DD",311.103,311.103,8.3,3)
If other atelectasis is present, what is its location?
"^DD",311.103,311.103,8.3,"DT")
3170828
"^DD",311.103,311.103,8.4,0)
BRONCHIAL RESECTION MARGIN^S^n:N/A;o:Normal;y:Abnormal;e:n/v;^10;3^Q
"^DD",311.103,311.103,8.4,"DT")
3170828
"^DD",311.103,311.103,8.5,0)
BRONCHIAL RESECTION LOCATION^S^r:Right;l:Left;^10;4^Q
"^DD",311.103,311.103,8.5,"DT")
3170828
"^DD",311.103,311.103,8.6,0)
PLEURAL EFFUSION LEFT^S^e:n/v;no:none;sm:small;mo:moderate;lg:large;^10;5^Q
"^DD",311.103,311.103,8.6,3)
Select the code that describes pleural effusion in the left lung.
"^DD",311.103,311.103,8.6,21,0)
^^2^2^3170828^
"^DD",311.103,311.103,8.6,21,1,0)
Select the code that describes pleural effusion in the left lung.
"^DD",311.103,311.103,8.6,21,2,0)
e for n/v is one of your options.
"^DD",311.103,311.103,8.6,"DT")
3170828
"^DD",311.103,311.103,8.7,0)
PLEURAL EFFUSION RIGHT^S^e:n/v;no:none;sm:small;mo:moderate;lg:large;^10;6^Q
"^DD",311.103,311.103,8.7,3)
Select the code that describes pleural effusion in the right lung.
"^DD",311.103,311.103,8.7,21,0)
^.001^2^2^3170828^^
"^DD",311.103,311.103,8.7,21,1,0)
Select the code that describes pleural effusion in the right lung.
"^DD",311.103,311.103,8.7,21,2,0)
e for n/v is one of your options.
"^DD",311.103,311.103,8.7,"DT")
3170828
"^DD",311.103,311.103,9,0)
PLEURAL PLAQUES^S^n:No;y:Yes;e:n/v;^10;7^Q
"^DD",311.103,311.103,9,3)
Are pleural plaques present?
"^DD",311.103,311.103,9,"DT")
3170829
"^DD",311.103,311.103,9.1,0)
PLEURAL PLAQUES (CALC)^S^n:No;y:Yes;^10;8^Q
"^DD",311.103,311.103,9.1,.1)
Pleural Plaques (Calcifications)
"^DD",311.103,311.103,9.1,"DT")
3170829
"^DD",311.103,311.103,9.2,0)
PLEURAL PLAQUES LOC^S^r:Right;l:Left;^10;9^Q
"^DD",311.103,311.103,9.2,"DT")
3170829
"^DD",311.103,311.103,9.3,0)
PLEURAL THICKENING^S^n:No;y:Yes;e:n/v;^10;10^Q
"^DD",311.103,311.103,9.3,"DT")
3170829
"^DD",311.103,311.103,9.4,0)
PLEURAL THICK R/L/CALC^S^r:Right;l:Left;c:Calcification;^10;11^Q
"^DD",311.103,311.103,9.4,"DT")
3170830
"^DD",311.103,311.103,9.5,0)
PLEURAL CALCIFICATIONS^S^n:No;y:Yes;e:n/v;^10;12^Q
"^DD",311.103,311.103,9.5,3)
Are pleural calcifications present?
"^DD",311.103,311.103,9.5,"DT")
3170830
"^DD",311.103,311.103,9.6,0)
PLEURAL CALC LOC^S^l:Left;r:Right;^10;13^Q
"^DD",311.103,311.103,9.6,3)
What is the location (l or r) of the pleural calcifications?
"^DD",311.103,311.103,9.6,"DT")
3170830
"^DD",311.103,311.103,9.7,0)
PLEURAL TUMOR^S^n:No;y:Yes;e:n/v;^10;14^Q
"^DD",311.103,311.103,9.7,3)
Is there a pleural tumor present?
"^DD",311.103,311.103,9.7,21,0)
^^2^2^3170830^
"^DD",311.103,311.103,9.7,21,1,0)
Is there a pleural tumor present? (If yes, you can use the next field
"^DD",311.103,311.103,9.7,21,2,0)
to describe.)
"^DD",311.103,311.103,9.7,"DT")
3170830
"^DD",311.103,311.103,9.8,0)
PLEURAL TUMOR DESC^311.113^^11;0
"^DD",311.103,311.103,10,0)
CARDIAC ABNORMALITIES^S^n:No;y:Yes;e:n/v;^12;1^Q
"^DD",311.103,311.103,10,3)
Are there cardiac abnormalities present?
"^DD",311.103,311.103,10,"DT")
3170905
"^DD",311.103,311.103,10.1,0)
CORONARY CALC (LEFT MAIN)^S^no:none;mi:minimal;mo:moderate;ex:extensive;^12;2^Q
"^DD",311.103,311.103,10.1,3)
Describe the left main coronary calcification.
"^DD",311.103,311.103,10.1,"DT")
3170905
"^DD",311.103,311.103,10.2,0)
CORONARY CALC (LAD)^S^no:none;mi:minimal;mo:moderate;ex:extensive;^12;3^Q
"^DD",311.103,311.103,10.2,3)
Describe the LAD coronary calcification.
"^DD",311.103,311.103,10.2,"DT")
3170905
"^DD",311.103,311.103,10.3,0)
CORONARY CALC (CIRCUMFLEX)^S^no:none;mi:minimal;mo:moderate;ex:extensive;^12;4^Q
"^DD",311.103,311.103,10.3,3)
Describe the circumflex coronary calicification.
"^DD",311.103,311.103,10.3,"DT")
3170905
"^DD",311.103,311.103,10.4,0)
CORONARY CALC (RCA)^S^no:none;mi:minimal;mo:moderate;ex:extensive;^12;5^Q
"^DD",311.103,311.103,10.4,3)
Describe the RCA coronary calcification.
"^DD",311.103,311.103,10.4,"DT")
3170905
"^DD",311.103,311.103,10.5,0)
VISUAL CAC SCORE^NJ2,0^^12;6^K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
"^DD",311.103,311.103,10.5,3)
Type a number between 0 and 99, 0 decimal digits.
"^DD",311.103,311.103,10.5,21,0)
^^1^1^3170905^
"^DD",311.103,311.103,10.5,21,1,0)
Visual CAC (Coronary Artery Calcium) score.
"^DD",311.103,311.103,10.5,"DT")
3170905
"^DD",311.103,311.103,10.6,0)
PERECARDIAL EFFUSION^S^no:none;mi:minimal;mo:moderate;ex:marked;e:n/v;^12;7^Q
"^DD",311.103,311.103,10.6,3)
Describe the severity of perecardial effusion.
"^DD",311.103,311.103,10.6,21,0)
^^1^1^3170905^
"^DD",311.103,311.103,10.6,21,1,0)
Describe the severity of perecardial effusion. You may select e for n/v.
"^DD",311.103,311.103,10.6,"DT")
3170905
"^DD",311.103,311.103,10.7,0)
PULMONARY ARTERY WIDTH^NJ5,2^^12;8^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.103,311.103,10.7,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.103,311.103,10.7,21,0)
^^1^1^3170905^
"^DD",311.103,311.103,10.7,21,1,0)
Enter the pulmonary artery width, in millimeters.
"^DD",311.103,311.103,10.7,"DT")
3170905
"^DD",311.103,311.103,10.8,0)
ASCENDING AORTA WIDTH^NJ5,2^^12;9^K:+X'=X!(X>99)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.103,311.103,10.8,3)
Type a number between 0 and 99, 2 decimal digits.
"^DD",311.103,311.103,10.8,21,0)
^^1^1^3170905^
"^DD",311.103,311.103,10.8,21,1,0)
Enter the ascending aorta width, in millimeters.
"^DD",311.103,311.103,10.8,"DT")
3170905
"^DD",311.103,311.103,11,0)
NECK ABNORMALITIES^S^n:No;y:Yes;e:n/v;^12;10^Q
"^DD",311.103,311.103,11,3)
Are there neck and/or mediastinal abnormalities present?
"^DD",311.103,311.103,11,"DT")
3170905
"^DD",311.103,311.103,11.1,0)
THYROID^S^n:No;y:Yes;e:n/v;^12;11^Q
"^DD",311.103,311.103,11.1,3)
Are there any thyroid abnormalities present?
"^DD",311.103,311.103,11.1,"DT")
3170905
"^DD",311.103,311.103,11.2,0)
THYROID CONDITION^S^c:Calcification;y:Cyst;m:Mass;o:Other;^12;12^Q
"^DD",311.103,311.103,11.2,.1)
Thyroid condition specify
"^DD",311.103,311.103,11.2,3)
Enter the type of thyroid abnormality.
"^DD",311.103,311.103,11.2,21,0)
2^.001^3^3^3170905^
"^DD",311.103,311.103,11.2,21,1,0)
Enter the type of thyroid abnormality. You may leave this field blank if
"^DD",311.103,311.103,11.2,21,2,0)
no abnormalities are present. If you select "other, please use the
"^DD",311.103,311.103,11.2,21,3,0)
next field to specify.
"^DD",311.103,311.103,11.2,"DT")
3170905
"^DD",311.103,311.103,11.3,0)
THYROID SPECIFY^FJ30^^12;13^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,11.3,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,11.3,21,0)
^^1^1^3170905^
"^DD",311.103,311.103,11.3,21,1,0)
If you chose "other" in the previous field, please specify here.
"^DD",311.103,311.103,11.3,"DT")
3170905
"^DD",311.103,311.103,11.4,0)
THYMUS^S^n:No;y:Yes;e:n/v;^12;14^Q
"^DD",311.103,311.103,11.4,3)
Are there thymus abnormalities present?
"^DD",311.103,311.103,11.4,"DT")
3170905
"^DD",311.103,311.103,11.5,0)
THYMUS CONDITION^S^c:Calcification;y:Cyst;m:Mass;o:Other;^12;15^Q
"^DD",311.103,311.103,11.5,3)
Enter the type of thymus abnormality.
"^DD",311.103,311.103,11.5,21,0)
^^3^3^3170905^
"^DD",311.103,311.103,11.5,21,1,0)
Enter the type of thymus abnormality. You may leave this field blank if
"^DD",311.103,311.103,11.5,21,2,0)
no abnormalities are present. If you choose "other," please use the next
"^DD",311.103,311.103,11.5,21,3,0)
field to specify.
"^DD",311.103,311.103,11.5,"DT")
3170905
"^DD",311.103,311.103,11.6,0)
THYMUS OTHER SPECIFY^FJ30^^12;16^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,11.6,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,11.6,21,0)
^^2^2^3170905^
"^DD",311.103,311.103,11.6,21,1,0)
If you chose "other" in the previous field, please specify the type of
"^DD",311.103,311.103,11.6,21,2,0)
thymus abnormality here.
"^DD",311.103,311.103,11.6,"DT")
3170905
"^DD",311.103,311.103,11.7,0)
LYMPH NODES^S^n:No;y:Yes;e:n/v;^12;17^Q
"^DD",311.103,311.103,11.7,3)
Are there abnormalities present in the lymph nodes?
"^DD",311.103,311.103,11.7,"DT")
3170906
"^DD",311.103,311.103,11.8,0)
ENLARGED HILAR OR MEDIASTINAL^P311.10321'^SAMI(311.10321,^12;18^Q
"^DD",311.103,311.103,11.8,3)
Any enlarged or growing hilar or mediastinal lymph nodes.
"^DD",311.103,311.103,11.8,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,11.8,21,1,0)
Any enlarged or growing hilar or mediastinal lymph nodes
"^DD",311.103,311.103,11.8,21,2,0)
(short axis > 10 mm) (any size for para-esophageal)
"^DD",311.103,311.103,11.8,"DT")
3170906
"^DD",311.103,311.103,11.9,0)
CALCIFIED LYMPH NODES^S^n:No;y:Yes;e:n/v;^12;19^Q
"^DD",311.103,311.103,11.9,3)
Are there calcified lymph nodes present?
"^DD",311.103,311.103,11.9,"DT")
3170906
"^DD",311.103,311.103,12,0)
AXILLARY LYMPH NODES^S^n:No;r:Right;l:Left;e:n/v;^12;20^Q
"^DD",311.103,311.103,12,"DT")
3170906
"^DD",311.103,311.103,12.1,0)
OTHER VASCULAR ABNORMALITIES^S^n:N;y:Yes;e:n/v;^12;21^Q
"^DD",311.103,311.103,12.1,.1)
Other vascular abnormalities
"^DD",311.103,311.103,12.1,3)
Are there any other vascular abnormalities present?
"^DD",311.103,311.103,12.1,21,0)
^.001^2^2^3170906^^
"^DD",311.103,311.103,12.1,21,1,0)
Are there any other vascular abnormalities present? If yes, use the next
"^DD",311.103,311.103,12.1,21,2,0)
field to specify the type of abnormality..
"^DD",311.103,311.103,12.1,"DT")
3170906
"^DD",311.103,311.103,12.2,0)
OTHER VASCULAR TYPE^S^a:Aorta;p:Pulmonary Arteries;o:Other;^12;22^Q
"^DD",311.103,311.103,12.2,3)
Enter the type of other vascular abnormality present.
"^DD",311.103,311.103,12.2,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,12.2,21,1,0)
Enter the type of other vascular abnormality present. If you select
"^DD",311.103,311.103,12.2,21,2,0)
"other," please use the next field to specify.
"^DD",311.103,311.103,12.2,"DT")
3170906
"^DD",311.103,311.103,12.3,0)
OTHER VASCULAR SPECIFY^FJ30^^12;23^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,12.3,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,12.3,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,12.3,21,1,0)
If you chose "other" as the type of other vascular abnormality, please
"^DD",311.103,311.103,12.3,21,2,0)
specify here.
"^DD",311.103,311.103,12.3,"DT")
3170906
"^DD",311.103,311.103,12.4,0)
ESOPHAGEAL^S^n:No;y:Yes;e:n/v;^12;24^Q
"^DD",311.103,311.103,12.4,.1)
Esophageal abnormalities
"^DD",311.103,311.103,12.4,3)
Are esophageal abnormalities present?
"^DD",311.103,311.103,12.4,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,12.4,21,1,0)
Are esophageal abnormalities present? If yes, use the next fielt to
"^DD",311.103,311.103,12.4,21,2,0)
specify the type of abnormality.
"^DD",311.103,311.103,12.4,"DT")
3170906
"^DD",311.103,311.103,12.5,0)
ESOPHAGEAL TYPE^S^a:Air-Fluid Level;w:Wall Thickening;m:Mass;o:Other;^12;25^Q
"^DD",311.103,311.103,12.5,3)
What type of esophageal abnormality is present?
"^DD",311.103,311.103,12.5,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,12.5,21,1,0)
What type of esophageal abnormality is present? If you select "other,"
"^DD",311.103,311.103,12.5,21,2,0)
please use the next field to specify.
"^DD",311.103,311.103,12.5,"DT")
3170906
"^DD",311.103,311.103,12.6,0)
ESOPHAGEAL OTHER SPECIFY^FJ30^^12;26^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,12.6,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,12.6,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,12.6,21,1,0)
If you selected "other" as the type of esophageal abnormality, please
"^DD",311.103,311.103,12.6,21,2,0)
specify here.
"^DD",311.103,311.103,12.6,"DT")
3170906
"^DD",311.103,311.103,12.7,0)
HIATAL HERNIA^S^n:No;y:Yes;e:n/v;^12;27^Q
"^DD",311.103,311.103,12.7,3)
Is there a hiatal hernia present?
"^DD",311.103,311.103,12.7,21,0)
^^1^1^3170906^
"^DD",311.103,311.103,12.7,21,1,0)
Is there a hiatal hernia present. If yes, use the next fielt to specify.
"^DD",311.103,311.103,12.7,"DT")
3170906
"^DD",311.103,311.103,12.8,0)
HIATAL HERNIA SPECIFY^FJ30^^12;28^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,12.8,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,12.8,21,0)
^^1^1^3170906^
"^DD",311.103,311.103,12.8,21,1,0)
If there is a hiatal hernia present, specify it here.
"^DD",311.103,311.103,12.8,"DT")
3170906
"^DD",311.103,311.103,12.9,0)
OTHER MEDIASTINAL^S^n:No;y:Yes;e:n/v;^12;29^Q
"^DD",311.103,311.103,12.9,3)
Are there other mediastinal masses present?
"^DD",311.103,311.103,12.9,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,12.9,21,1,0)
Are there other mediastinal masses present? If yes, use the next field to
"^DD",311.103,311.103,12.9,21,2,0)
specify the type.
"^DD",311.103,311.103,12.9,"DT")
3170906
"^DD",311.103,311.103,13,0)
OTHER MEDIASTINAL TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^12;30^Q
"^DD",311.103,311.103,13,3)
Specify the type of other mediastinal mass present.
"^DD",311.103,311.103,13,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,13,21,1,0)
Specify the type of other medistinal mass present. If you select "other,"
"^DD",311.103,311.103,13,21,2,0)
please use the next field to specify.
"^DD",311.103,311.103,13,"DT")
3170906
"^DD",311.103,311.103,13.1,0)
OTHER MEDIASTINAL SPECIFY^FJ30^^13;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,13.1,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,13.1,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,13.1,21,1,0)
If you selected "other" as the type of other mediastinal masses, please
"^DD",311.103,311.103,13.1,21,2,0)
specify it here.
"^DD",311.103,311.103,13.1,"DT")
3170906
"^DD",311.103,311.103,13.2,0)
NECK AND MEDIASTINAL COMMENTS^311.123^^14;0
"^DD",311.103,311.103,14,0)
BREAST ABNORMALITIES^S^n:No;y:Yes;e:n/v;^15;1^Q
"^DD",311.103,311.103,14,3)
Are there breast abnormalities present?
"^DD",311.103,311.103,14,"DT")
3170906
"^DD",311.103,311.103,14.1,0)
RIGHT BREAST ABNORMALITY^S^n:No;y:Yes;e:n/v;^15;2^Q
"^DD",311.103,311.103,14.1,3)
Is there abnormality present in the right breast?
"^DD",311.103,311.103,14.1,"DT")
3170906
"^DD",311.103,311.103,14.3,0)
RIGHT BREAST TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^15;3^Q
"^DD",311.103,311.103,14.3,3)
What type of abnormality is present in the right breast?
"^DD",311.103,311.103,14.3,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,14.3,21,1,0)
What type of abnormality is present in the right breast? If you select
"^DD",311.103,311.103,14.3,21,2,0)
"other," please use the next field to specify.
"^DD",311.103,311.103,14.3,"DT")
3170906
"^DD",311.103,311.103,14.4,0)
RIGHT BREAST OTHER SPECIFY^FJ30^^15;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,14.4,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,14.4,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,14.4,21,1,0)
If you chose "other" as the type of right breast abnormality, please
"^DD",311.103,311.103,14.4,21,2,0)
specify here.
"^DD",311.103,311.103,14.4,"DT")
3170906
"^DD",311.103,311.103,14.5,0)
LEFT BREAST ABNORMALITY^S^n:No;y:Yes;e:n/v;^15;5^Q
"^DD",311.103,311.103,14.5,3)
Is there abnormality present in the left breast?
"^DD",311.103,311.103,14.5,"DT")
3170906
"^DD",311.103,311.103,14.6,0)
LEFT BREAST TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^15;6^Q
"^DD",311.103,311.103,14.6,.1)
Left breast abnormality type
"^DD",311.103,311.103,14.6,3)
What type of abnormality is present in the left breast?
"^DD",311.103,311.103,14.6,21,0)
^.001^2^2^3170906^^
"^DD",311.103,311.103,14.6,21,1,0)
What type of abnormality is present in the left breast? If you select
"^DD",311.103,311.103,14.6,21,2,0)
"other," please use the next field to specify.
"^DD",311.103,311.103,14.6,"DT")
3170906
"^DD",311.103,311.103,14.7,0)
LEFT BREAST OTHER SPECIFY^FJ30^^15;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,14.7,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,14.7,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,14.7,21,1,0)
If you chose "other" as the type of abnormality in the left breast, please
"^DD",311.103,311.103,14.7,21,2,0)
specify here.
"^DD",311.103,311.103,14.7,"DT")
3170906
"^DD",311.103,311.103,14.8,0)
BREAST ABNORMALITY COMMENTS^311.133^^16;0
"^DD",311.103,311.103,15,0)
ABDOMINAL ABNORMALITIES^S^n:No;y:Yes;e:n/v;^17;1^Q
"^DD",311.103,311.103,15,3)
Are there abdominal abnormalities present?
"^DD",311.103,311.103,15,"DT")
3170906
"^DD",311.103,311.103,15.1,0)
GALL BLADDER ABNORMALITY^S^n:No;y:Yes;e:n/v;^17;2^Q
"^DD",311.103,311.103,15.1,3)
Are there gall bladder abnormalities present?
"^DD",311.103,311.103,15.1,"DT")
3170906
"^DD",311.103,311.103,15.2,0)
GALL BLADDER TYPE^S^h:Cholecystectomy;s:Stones;l:Sludge;y:Other;^17;3^Q
"^DD",311.103,311.103,15.2,3)
What type of gall bladder abnormality is present?
"^DD",311.103,311.103,15.2,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,15.2,21,1,0)
What type of gall bladder abnormality is present? If you select "other,"
"^DD",311.103,311.103,15.2,21,2,0)
please use the next field to specify.
"^DD",311.103,311.103,15.2,"DT")
3170906
"^DD",311.103,311.103,15.4,0)
GALL BLADDER OTHER SPECIFY^FJ30^^17;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,15.4,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,15.4,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,15.4,21,1,0)
If you chose "other" as the type of gall bladder abnormality present,
"^DD",311.103,311.103,15.4,21,2,0)
please specify here.
"^DD",311.103,311.103,15.4,"DT")
3170906
"^DD",311.103,311.103,15.5,0)
SPLEEN ABNORMALITY^S^n:No;y:Yes;e:n/v;^17;5^Q
"^DD",311.103,311.103,15.5,3)
Are there spleen abnormalities present?
"^DD",311.103,311.103,15.5,"DT")
3170906
"^DD",311.103,311.103,15.6,0)
SPLEEN ABNORMALITY TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^17;6^Q
"^DD",311.103,311.103,15.6,.1)
Spleen abnormality type
"^DD",311.103,311.103,15.6,3)
What type of spleen abnormality is present?
"^DD",311.103,311.103,15.6,21,0)
^.001^2^2^3170906^^
"^DD",311.103,311.103,15.6,21,1,0)
What type of spleen abnormality is present? If you select "other," please
"^DD",311.103,311.103,15.6,21,2,0)
use the next field to specify.
"^DD",311.103,311.103,15.6,"DT")
3170906
"^DD",311.103,311.103,15.7,0)
SPLEEN OTHER SPECIFY^FJ30^^17;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,15.7,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,15.7,21,0)
^^1^1^3170906^
"^DD",311.103,311.103,15.7,21,1,0)
If you chose "other" as the type of spleen abnormality, please specify here.
"^DD",311.103,311.103,15.7,"DT")
3170906
"^DD",311.103,311.103,15.8,0)
LIVER ABNORMALITY^S^n:No;y:Yes;e:n/v;^17;8^Q
"^DD",311.103,311.103,15.8,3)
Are there liver abnormalities present?
"^DD",311.103,311.103,15.8,"DT")
3170906
"^DD",311.103,311.103,15.9,0)
LIVER ABNORMALITY TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^17;9^Q
"^DD",311.103,311.103,15.9,3)
What type of liver abnormality is present?
"^DD",311.103,311.103,15.9,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,15.9,21,1,0)
What type of liver abnormality is present? If you select "other," please
"^DD",311.103,311.103,15.9,21,2,0)
use the next field to specify.
"^DD",311.103,311.103,15.9,"DT")
3170906
"^DD",311.103,311.103,16,0)
LIVER OTHER SPECIFY^FJ30^^17;10^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,16,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,16,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,16,21,1,0)
If you chose "other" as the type of liver abnormality, please specify
"^DD",311.103,311.103,16,21,2,0)
it here.
"^DD",311.103,311.103,16,"DT")
3170906
"^DD",311.103,311.103,16.1,0)
PANCREAS ABNORMALITY^S^n:No;y:Yes;e:n/v;^17;11^Q
"^DD",311.103,311.103,16.1,3)
Are there pancreas abnormalities present?
"^DD",311.103,311.103,16.1,"DT")
3170906
"^DD",311.103,311.103,16.2,0)
PANCREAS TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^17;12^Q
"^DD",311.103,311.103,16.2,3)
What type of pancreas abnormality is present?
"^DD",311.103,311.103,16.2,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,16.2,21,1,0)
What type of pancreas abnormality is present? If you select "other," please
"^DD",311.103,311.103,16.2,21,2,0)
use the next field to specify.
"^DD",311.103,311.103,16.2,"DT")
3170906
"^DD",311.103,311.103,16.3,0)
PANCREAS OTHER SPECIFY^FJ30^^17;13^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,16.3,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,16.3,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,16.3,21,1,0)
If you chose "other" as the type of pancreas abnormality, please specify
"^DD",311.103,311.103,16.3,21,2,0)
it here.
"^DD",311.103,311.103,16.3,"DT")
3170906
"^DD",311.103,311.103,16.4,0)
ADRENALS ABNORMALITY^S^n:No;y:Yes;e:n/v;^17;14^Q
"^DD",311.103,311.103,16.4,3)
Are abnormalities present in the adrenals?
"^DD",311.103,311.103,16.4,"DT")
3170906
"^DD",311.103,311.103,16.5,0)
ADRENALS TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^17;15^Q
"^DD",311.103,311.103,16.5,3)
What type of abnormality is present in the adrenals?
"^DD",311.103,311.103,16.5,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,16.5,21,1,0)
What type of abnormality is present in the adrenals? If you select
"^DD",311.103,311.103,16.5,21,2,0)
"other," please use the next field to specify.
"^DD",311.103,311.103,16.5,"DT")
3170906
"^DD",311.103,311.103,16.6,0)
ADRENALS OTHER SPECIFY^FJ30^^17;16^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,16.6,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,16.6,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,16.6,21,1,0)
If you chose "other" as the type of adrenal abnormality, please specify
"^DD",311.103,311.103,16.6,21,2,0)
it here.
"^DD",311.103,311.103,16.6,"DT")
3170906
"^DD",311.103,311.103,16.7,0)
KIDNEY ABNORMALITIES^S^n:No;y:Yes;e:n/v;^17;17^Q
"^DD",311.103,311.103,16.7,3)
Are kidney abnormalities present?
"^DD",311.103,311.103,16.7,"DT")
3170906
"^DD",311.103,311.103,16.8,0)
KIDNEY ABNORMALITIES TYPE^S^c:Calcification;y:Cyst;m:Mass;o:Other;^17;18^Q
"^DD",311.103,311.103,16.8,.1)
Kidney abnormalities type
"^DD",311.103,311.103,16.8,3)
What type of kidney abnormality is present?
"^DD",311.103,311.103,16.8,21,0)
^.001^2^2^3170906^^
"^DD",311.103,311.103,16.8,21,1,0)
What type of kidney abnormality is present? If you select "other," please
"^DD",311.103,311.103,16.8,21,2,0)
use the next field to specify.
"^DD",311.103,311.103,16.8,"DT")
3170906
"^DD",311.103,311.103,16.9,0)
KIDNEY OTHER SPECIFY^FJ30^^17;19^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,16.9,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,16.9,21,0)
^^2^2^3170906^
"^DD",311.103,311.103,16.9,21,1,0)
If you chose "other" as the type of kidney abnormality, please specify
"^DD",311.103,311.103,16.9,21,2,0)
it here.
"^DD",311.103,311.103,16.9,"DT")
3170906
"^DD",311.103,311.103,17,0)
COMMENTS ON ABDOMINAL^311.143^^18;0
"^DD",311.103,311.103,18,0)
BONE ABNORMALITIES^S^n:No;y:Yes;e:n/v;^19;1^Q
"^DD",311.103,311.103,18,3)
Are bone abnormalities present?
"^DD",311.103,311.103,18,"DT")
3170906
"^DD",311.103,311.103,18.1,0)
BONE SPECIFY^FJ99^^19;2^K:$L(X)>99!($L(X)<5) X
"^DD",311.103,311.103,18.1,3)
Answer must be 5-99 characters in length.
"^DD",311.103,311.103,18.1,21,0)
^^1^1^3170906^
"^DD",311.103,311.103,18.1,21,1,0)
Specify any bone abnormalities present.
"^DD",311.103,311.103,18.1,"DT")
3170906
"^DD",311.103,311.103,19,0)
FOLLOWUP TYPE^P311.10322'^SAMI(311.10322,^19;3^Q
"^DD",311.103,311.103,19,3)
What type of follow-up is indicated for this patient?
"^DD",311.103,311.103,19,"DT")
3170906
"^DD",311.103,311.103,19.1,0)
FOLLOWUP WHEN^S^nw:now;1m:1 month;3m:3 months;6m:6 months;1y:1 year;os:other;^19;4^Q
"^DD",311.103,311.103,19.1,.1)
Followup general time frame
"^DD",311.103,311.103,19.1,3)
When should the follow-up appointment be for this patient?
"^DD",311.103,311.103,19.1,21,0)
^^3^3^3170906^
"^DD",311.103,311.103,19.1,21,1,0)
When should the follow-up appointment be for this patient? If you would
"^DD",311.103,311.103,19.1,21,2,0)
prefer to enter a specific date, please use the next field. You may
"^DD",311.103,311.103,19.1,21,3,0)
leave this field blank.
"^DD",311.103,311.103,19.1,"DT")
3170906
"^DD",311.103,311.103,19.2,0)
FOLLOWUP DATE^D^^19;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.103,311.103,19.2,3)
On what specific date should the patient follow up?
"^DD",311.103,311.103,19.2,21,0)
^^3^3^3170906^
"^DD",311.103,311.103,19.2,21,1,0)
On what specific date should the patient follow up? If you prefer a
"^DD",311.103,311.103,19.2,21,2,0)
more general answer such as "in six months," please use the previous
"^DD",311.103,311.103,19.2,21,3,0)
field. You may leave this field blank.
"^DD",311.103,311.103,19.2,"DT")
3170906
"^DD",311.103,311.103,19.4,0)
SPECIAL ATTENTION^S^n:No;y:Yes;^19;6^Q
"^DD",311.103,311.103,19.4,3)
Does this patient's follow-up require special attention?
"^DD",311.103,311.103,19.4,"DT")
3170906
"^DD",311.103,311.103,20,0)
IMPRESSION NODULES^S^rs:No evidence of nodules;ro:Nodules consistent with old granulomatous disease;ru:Nodules unchanged. Follow-up as recommended;nf:Nodules as described above. Follow-up as recommended;^19;7^Q
"^DD",311.103,311.103,20,.1)
Impression: nodules
"^DD",311.103,311.103,20,"DT")
3170906
"^DD",311.103,311.103,20.1,0)
IMPRESSIONS OTHER^S^no:No other abnormalities;oa:Other abnormalities and suggested follow-up as described;^19;8^Q
"^DD",311.103,311.103,20.1,"DT")
3170906
"^DD",311.103,311.103,20.2,0)
IMPRESSION REMARKS^311.153^^20;0
"^DD",311.103,311.103,21,0)
IMAGE QUALITY PARENCHYMA^S^1:Satisfactory;2:Minor problem(s) not affecting the reading;3:Quality affects the reading but is acceptable;4:Not acceptable (Unreadable, may need to be redone);^21;1^Q
"^DD",311.103,311.103,21,3)
Please rate the image quality for lung parenchyma.
"^DD",311.103,311.103,21,"DT")
3170907
"^DD",311.103,311.103,21.1,0)
IMAGE CAUSES PARENCHYMA^311.163S^^22;0
"^DD",311.103,311.103,21.2,0)
PARENCHYMA OTHER SPECIFY^FJ30^^23;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,21.2,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,21.2,21,0)
^^2^2^3170907^
"^DD",311.103,311.103,21.2,21,1,0)
If you chose "other" as a reason for poor image quality of the lung
"^DD",311.103,311.103,21.2,21,2,0)
parenchyma, please specify the reason here.
"^DD",311.103,311.103,21.2,"DT")
3170907
"^DD",311.103,311.103,21.4,0)
IMAGE QUALITY MEDIASTINUM^S^1:Satisfactory;2:Minor problem(s) not affecting the reading;3:Quality affects the reading but is acceptable;4:Not acceptable (Unreadable, may need to be redone);^23;2^Q
"^DD",311.103,311.103,21.4,3)
Please rate the image quality for the mediastinum/abdomen.
"^DD",311.103,311.103,21.4,"DT")
3170907
"^DD",311.103,311.103,21.5,0)
IMAGE CAUSES MEDIASTINUM^311.173S^^24;0
"^DD",311.103,311.103,21.6,0)
MEDIASTINUM OTHER SPECIFY^FJ30^^25;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.103,311.103,21.6,3)
Answer must be 5-30 characters in length.
"^DD",311.103,311.103,21.6,21,0)
^^2^2^3170907^
"^DD",311.103,311.103,21.6,21,1,0)
If you selected "other" as a cause of poor image quality for the
"^DD",311.103,311.103,21.6,21,2,0)
mediastinum/abdomen, specify the cause here.
"^DD",311.103,311.103,21.6,"DT")
3170907
"^DD",311.103,311.10311,0)
CLINICAL INFORMATION SUB-FIELD^^.01^1
"^DD",311.103,311.10311,0,"DT")
3170822
"^DD",311.103,311.10311,0,"NM","CLINICAL INFORMATION")
"^DD",311.103,311.10311,0,"UP")
311.103
"^DD",311.103,311.10311,.01,0)
CLINICAL INFORMATION^Wx^^0;1^Q
"^DD",311.103,311.10311,.01,"DT")
3170822
"^DD",311.103,311.10312,0)
NODULE SUB-FIELD^^3.6^22
"^DD",311.103,311.10312,0,"DT")
3170828
"^DD",311.103,311.10312,0,"IX","B",311.10312,.01)
"^DD",311.103,311.10312,0,"NM","NODULE")
"^DD",311.103,311.10312,0,"UP")
311.103
"^DD",311.103,311.10312,.01,0)
NODULE^MFJ10^^0;1^K:$L(X)>10!($L(X)<5) X
"^DD",311.103,311.10312,.01,.1)
Nodule ID
"^DD",311.103,311.10312,.01,1,0)
^.1
"^DD",311.103,311.10312,.01,1,1,0)
311.10312^B
"^DD",311.103,311.10312,.01,1,1,1)
S ^SAMI(311.103,DA(1),3,"B",$E(X,1,30),DA)=""
"^DD",311.103,311.10312,.01,1,1,2)
K ^SAMI(311.103,DA(1),3,"B",$E(X,1,30),DA)
"^DD",311.103,311.10312,.01,3)
Answer must be 5-10 characters in length.
"^DD",311.103,311.10312,.01,21,0)
^.001^1^1^3170822^^
"^DD",311.103,311.10312,.01,21,1,0)
Enter the Nodule ID for the current nodule (for example, Nodule 1).
"^DD",311.103,311.10312,.01,"DT")
3170828
"^DD",311.103,311.10312,.02,0)
NODULE NEW^P311.10313^SAMI(311.10313,^0;2^Q
"^DD",311.103,311.10312,.02,3)
Select the appropriate description for the current nodule.
"^DD",311.103,311.10312,.02,21,0)
^^1^1^3170822^
"^DD",311.103,311.10312,.02,21,1,0)
Select the appropriate description for the current nodule.
"^DD",311.103,311.10312,.02,"DT")
3170822
"^DD",311.103,311.10312,.03,0)
ENDOBRONCHIAL^S^no:No;tr:Trachea;rm:Right Main;lm:Left Main;bi:Bi;rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^0;3^Q
"^DD",311.103,311.10312,.03,3)
Is the current nodule endobronchial? Select the correct code.
"^DD",311.103,311.10312,.03,21,0)
^^1^1^3170822^
"^DD",311.103,311.10312,.03,21,1,0)
Is the current nodule endobronchial? Select the correct code.
"^DD",311.103,311.10312,.03,"DT")
3170822
"^DD",311.103,311.10312,1,0)
LIKELY LOCATION^S^end:Endobr;lul:LUL;lll:LLL;rul:RUL;rml:RML;rll:RLL;^0;4^Q
"^DD",311.103,311.10312,1,3)
Enter the likely location of the current nodule.
"^DD",311.103,311.10312,1,"DT")
3170822
"^DD",311.103,311.10312,1.1,0)
DISTANCE^NJ3,0^^0;5^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.103,311.10312,1.1,.1)
Distance from the Costal Pleura (mm)
"^DD",311.103,311.10312,1.1,3)
Type a number between 1 and 999, 0 decimal digits.
"^DD",311.103,311.10312,1.1,21,0)
^.001^1^1^3170822^^
"^DD",311.103,311.10312,1.1,21,1,0)
Enter the distance from the Costal Pleura, in millimeters.
"^DD",311.103,311.10312,1.1,"DT")
3170822
"^DD",311.103,311.10312,1.2,0)
LENGTH^NJ7,4^^0;6^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.103,311.10312,1.2,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.103,311.10312,1.2,21,0)
^^1^1^3170823^
"^DD",311.103,311.10312,1.2,21,1,0)
Length of the current nodule, in millimeters.
"^DD",311.103,311.10312,1.2,"DT")
3170823
"^DD",311.103,311.10312,1.3,0)
MAX WIDTH^NJ7,4^^0;7^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.103,311.10312,1.3,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.103,311.10312,1.3,21,0)
^^1^1^3170823^
"^DD",311.103,311.10312,1.3,21,1,0)
Maximum width of the current nodule, in millimeters.
"^DD",311.103,311.10312,1.3,"DT")
3170823
"^DD",311.103,311.10312,1.4,0)
SOLID COMP LENGTH^NJ7,4^^0;10^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.103,311.10312,1.4,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.103,311.10312,1.4,"DT")
3170823
"^DD",311.103,311.10312,1.5,0)
SOLID COMP WIDTH^NJ7,4^^0;11^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.103,311.10312,1.5,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.103,311.10312,1.5,"DT")
3170823
"^DD",311.103,311.10312,2,0)
CONSISTENCY^S^s:solid;m:part-solid;g:non-solid;o:other (see comment);^0;8^Q
"^DD",311.103,311.10312,2,3)
Enter the code for the current nodule's consistency.
"^DD",311.103,311.10312,2,21,0)
^^6^6^3170823^
"^DD",311.103,311.10312,2,21,1,0)
Enter the code for the current nodule's consistencey.
"^DD",311.103,311.10312,2,21,2,0)
"^DD",311.103,311.10312,2,21,3,0)
s solid
"^DD",311.103,311.10312,2,21,4,0)
m part-solid
"^DD",311.103,311.10312,2,21,5,0)
g non-solid
"^DD",311.103,311.10312,2,21,6,0)
o other (see comment)
"^DD",311.103,311.10312,2,"DT")
3170823
"^DD",311.103,311.10312,2.1,0)
SMOOTH EDGES^S^n:No;y:Yes;q:?;^0;9^Q
"^DD",311.103,311.10312,2.1,3)
Does the current nodule have smooth edges?
"^DD",311.103,311.10312,2.1,"DT")
3170823
"^DD",311.103,311.10312,2.2,0)
CALCIFICATIONS^S^n:No;y:Yes;q:?;^0;12^Q
"^DD",311.103,311.10312,2.2,3)
Are there calcifications NOT consistent with benignity?
"^DD",311.103,311.10312,2.2,21,0)
^^2^2^3170825^
"^DD",311.103,311.10312,2.2,21,1,0)
Does the current nodule have calcifications NOT consistent with
"^DD",311.103,311.10312,2.2,21,2,0)
benignity?
"^DD",311.103,311.10312,2.2,"DT")
3170825
"^DD",311.103,311.10312,2.3,0)
SPICULATIONS^S^n:Absent;y:Present;^0;13^Q
"^DD",311.103,311.10312,2.3,3)
For the current nodule, are spiculations present?
"^DD",311.103,311.10312,2.3,"DT")
3170825
"^DD",311.103,311.10312,2.4,0)
PLEURAL TAGS^S^n:Absent;y:Present;^0;14^Q
"^DD",311.103,311.10312,2.4,3)
For the current nodule, are pleural tags present?
"^DD",311.103,311.10312,2.4,"DT")
3170825
"^DD",311.103,311.10312,2.5,0)
PARENCHYMAL ABNORMALITY^S^n:No;y:Yes;q:?;^0;15^Q
"^DD",311.103,311.10312,2.5,3)
For the current nodule, is there parenchymal abnormality within 1 cm?
"^DD",311.103,311.10312,2.5,"DT")
3170825
"^DD",311.103,311.10312,3,0)
SEEN IN SERIES^NJ2,0^^0;16^K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
"^DD",311.103,311.10312,3,3)
Type a number between 0 and 99, 0 decimal digits.
"^DD",311.103,311.10312,3,21,0)
^^1^1^3170825^
"^DD",311.103,311.10312,3,21,1,0)
Nodule seen in series.
"^DD",311.103,311.10312,3,"DT")
3170825
"^DD",311.103,311.10312,3.1,0)
SEEN IN IMAGES START^NJ2,0^^0;17^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.103,311.10312,3.1,3)
Type a number between 1 and 99, 0 decimal digits.
"^DD",311.103,311.10312,3.1,21,0)
^^2^2^3170825^
"^DD",311.103,311.10312,3.1,21,1,0)
Nodule seen in images (beginning of range). Use the next field to
"^DD",311.103,311.10312,3.1,21,2,0)
indicate the end of the range.
"^DD",311.103,311.10312,3.1,"DT")
3170825
"^DD",311.103,311.10312,3.2,0)
SEEN IN IMAGES END^NJ2,0^^0;18^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.103,311.10312,3.2,3)
Type a number between 1 and 99, 0 decimal digits.
"^DD",311.103,311.10312,3.2,21,0)
^^1^1^3170825^
"^DD",311.103,311.10312,3.2,21,1,0)
Nodule seen in images (end of range).
"^DD",311.103,311.10312,3.2,"DT")
3170825
"^DD",311.103,311.10312,3.3,0)
NODULE STATUS^P311.10316'^SAMI(311.10316,^0;19^Q
"^DD",311.103,311.10312,3.3,3)
Select the appropriate status for the current nodule.
"^DD",311.103,311.10312,3.3,"DT")
3170828
"^DD",311.103,311.10312,3.4,0)
ACTION^S^s:annual repeat CT;f:f/u CT;a:Abx + f/u CT;e:PET;c:CT w contrast;b:CT-guided biopsy;p:bronchoscopy;v:VAT;r:resection;^0;20^Q
"^DD",311.103,311.10312,3.4,3)
Select the code for the appropriate action for this nodule.
"^DD",311.103,311.10312,3.4,"DT")
3170828
"^DD",311.103,311.10312,3.5,0)
PATH DIAGNOSIS^P311.10317'^SAMI(311.10317,^0;21^Q
"^DD",311.103,311.10312,3.5,3)
Select the pathologic diagnosis for the current nodule.
"^DD",311.103,311.10312,3.5,"DT")
3170828
"^DD",311.103,311.10312,3.6,0)
COMMENT^311.10318^^1;0
"^DD",311.103,311.10314,0)
SCARRING LOCATION SUB-FIELD^^.01^1
"^DD",311.103,311.10314,0,"DT")
3170823
"^DD",311.103,311.10314,0,"IX","B",311.10314,.01)
"^DD",311.103,311.10314,0,"NM","SCARRING LOCATION")
"^DD",311.103,311.10314,0,"UP")
311.103
"^DD",311.103,311.10314,.01,0)
SCARRING LOCATION^MS^rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;au:Apical Unilateral;ab:Apical Bilateral;^0;1^Q
"^DD",311.103,311.10314,.01,1,0)
^.1
"^DD",311.103,311.10314,.01,1,1,0)
311.10314^B
"^DD",311.103,311.10314,.01,1,1,1)
S ^SAMI(311.103,DA(1),5,"B",$E(X,1,30),DA)=""
"^DD",311.103,311.10314,.01,1,1,2)
K ^SAMI(311.103,DA(1),5,"B",$E(X,1,30),DA)
"^DD",311.103,311.10314,.01,3)
Enter the location(s) of the scarring.
"^DD",311.103,311.10314,.01,21,0)
^^1^1^3170823^
"^DD",311.103,311.10314,.01,21,1,0)
Enter the location(s) of the scarring. You may enter more than one.
"^DD",311.103,311.10314,.01,"DT")
3170823
"^DD",311.103,311.10315,0)
ADDITIONAL PARENCHYMAL SUB-FIELD^^.01^1
"^DD",311.103,311.10315,0,"DT")
3170824
"^DD",311.103,311.10315,0,"NM","ADDITIONAL PARENCHYMAL")
"^DD",311.103,311.10315,0,"UP")
311.103
"^DD",311.103,311.10315,.01,0)
ADDITIONAL PARENCHYMAL^Wx^^0;1^Q
"^DD",311.103,311.10315,.01,3)
Enter any additional comments on Parenchymal Abnormalities.
"^DD",311.103,311.10315,.01,"DT")
3170824
"^DD",311.103,311.10318,0)
COMMENT SUB-FIELD^^.01^1
"^DD",311.103,311.10318,0,"DT")
3170828
"^DD",311.103,311.10318,0,"NM","COMMENT")
"^DD",311.103,311.10318,0,"UP")
311.10312
"^DD",311.103,311.10318,.01,0)
COMMENT^Wx^^0;1^Q
"^DD",311.103,311.10318,.01,3)
Enter any comments regarding the current nodule.
"^DD",311.103,311.10318,.01,"DT")
3170828
"^DD",311.103,311.10319,0)
ROUNDED ATELECTASIS LOCATION SUB-FIELD^^.01^1
"^DD",311.103,311.10319,0,"DT")
3170828
"^DD",311.103,311.10319,0,"IX","B",311.10319,.01)
"^DD",311.103,311.10319,0,"NM","ROUNDED ATELECTASIS LOCATION")
"^DD",311.103,311.10319,0,"UP")
311.103
"^DD",311.103,311.10319,.01,0)
ROUNDED ATELECTASIS LOCATION^MS^r:Right;l:Left;rul:RUL;rml:RML;rll:RLL;lul:LUL;lll:LLL;^0;1^Q
"^DD",311.103,311.10319,.01,1,0)
^.1
"^DD",311.103,311.10319,.01,1,1,0)
311.10319^B
"^DD",311.103,311.10319,.01,1,1,1)
S ^SAMI(311.103,DA(1),9,"B",$E(X,1,30),DA)=""
"^DD",311.103,311.10319,.01,1,1,2)
K ^SAMI(311.103,DA(1),9,"B",$E(X,1,30),DA)
"^DD",311.103,311.10319,.01,3)
Select the location of the rounded atelectasis.
"^DD",311.103,311.10319,.01,21,0)
^^2^2^3170828^
"^DD",311.103,311.10319,.01,21,1,0)
Select the location of the rounded atelectasis. You may select more
"^DD",311.103,311.10319,.01,21,2,0)
than one.
"^DD",311.103,311.10319,.01,"DT")
3170828
"^DD",311.103,311.113,0)
PLEURAL TUMOR DESC SUB-FIELD^^.01^1
"^DD",311.103,311.113,0,"DT")
3170830
"^DD",311.103,311.113,0,"NM","PLEURAL TUMOR DESC")
"^DD",311.103,311.113,0,"UP")
311.103
"^DD",311.103,311.113,.01,0)
PLEURAL TUMOR DESC^Wx^^0;1^Q
"^DD",311.103,311.113,.01,"DT")
3170830
"^DD",311.103,311.123,0)
NECK AND MEDIASTINAL COMMENTS SUB-FIELD^^.01^1
"^DD",311.103,311.123,0,"DT")
3170906
"^DD",311.103,311.123,0,"NM","NECK AND MEDIASTINAL COMMENTS")
"^DD",311.103,311.123,0,"UP")
311.103
"^DD",311.103,311.123,.01,0)
NECK AND MEDIASTINAL COMMENTS^Wx^^0;1^Q
"^DD",311.103,311.123,.01,3)
Additional comments on neck and mediastinal abnormalities.
"^DD",311.103,311.123,.01,"DT")
3170906
"^DD",311.103,311.133,0)
BREAST ABNORMALITY COMMENTS SUB-FIELD^^.01^1
"^DD",311.103,311.133,0,"DT")
3170906
"^DD",311.103,311.133,0,"NM","BREAST ABNORMALITY COMMENTS")
"^DD",311.103,311.133,0,"UP")
311.103
"^DD",311.103,311.133,.01,0)
BREAST ABNORMALITY COMMENTS^Wx^^0;1^Q
"^DD",311.103,311.133,.01,3)
Enter any additional comments on breast abnormalities.
"^DD",311.103,311.133,.01,"DT")
3170906
"^DD",311.103,311.143,0)
COMMENTS ON ABDOMINAL SUB-FIELD^^.01^1
"^DD",311.103,311.143,0,"DT")
3170906
"^DD",311.103,311.143,0,"NM","COMMENTS ON ABDOMINAL")
"^DD",311.103,311.143,0,"UP")
311.103
"^DD",311.103,311.143,.01,0)
COMMENTS ON ABDOMINAL^Wx^^0;1^Q
"^DD",311.103,311.143,.01,3)
Additional comments on abdominal abnormalities.
"^DD",311.103,311.143,.01,"DT")
3170906
"^DD",311.103,311.153,0)
IMPRESSION REMARKS SUB-FIELD^^.01^1
"^DD",311.103,311.153,0,"DT")
3170906
"^DD",311.103,311.153,0,"NM","IMPRESSION REMARKS")
"^DD",311.103,311.153,0,"UP")
311.103
"^DD",311.103,311.153,.01,0)
IMPRESSION REMARKS^Wx^^0;1^Q
"^DD",311.103,311.153,.01,"DT")
3170906
"^DD",311.103,311.163,0)
IMAGE CAUSES PARENCHYMA SUB-FIELD^^.01^1
"^DD",311.103,311.163,0,"DT")
3170907
"^DD",311.103,311.163,0,"IX","B",311.163,.01)
"^DD",311.103,311.163,0,"NM","IMAGE CAUSES PARENCHYMA")
"^DD",311.103,311.163,0,"UP")
311.103
"^DD",311.103,311.163,.01,0)
IMAGE CAUSES PARENCHYMA^MS^h:Patent Body Habitus;m:Patient Movement;i:Insufficient Inhalation;o:Other;^0;1^Q
"^DD",311.103,311.163,.01,1,0)
^.1
"^DD",311.103,311.163,.01,1,1,0)
311.163^B
"^DD",311.103,311.163,.01,1,1,1)
S ^SAMI(311.103,DA(1),22,"B",$E(X,1,30),DA)=""
"^DD",311.103,311.163,.01,1,1,2)
K ^SAMI(311.103,DA(1),22,"B",$E(X,1,30),DA)
"^DD",311.103,311.163,.01,3)
If images were not satisfactory, please indicate the cause(s).
"^DD",311.103,311.163,.01,21,0)
^^3^3^3170907^
"^DD",311.103,311.163,.01,21,1,0)
If images of the lung parenchyma were not satsifactory, please indicate
"^DD",311.103,311.163,.01,21,2,0)
the cause(s). You may select more than one. If you select "other," please
"^DD",311.103,311.163,.01,21,3,0)
use the next field to specify.
"^DD",311.103,311.163,.01,"DT")
3170907
"^DD",311.103,311.173,0)
IMAGE CAUSES MEDIASTINUM SUB-FIELD^^.01^1
"^DD",311.103,311.173,0,"DT")
3170907
"^DD",311.103,311.173,0,"IX","B",311.173,.01)
"^DD",311.103,311.173,0,"NM","IMAGE CAUSES MEDIASTINUM")
"^DD",311.103,311.173,0,"UP")
311.103
"^DD",311.103,311.173,.01,0)
IMAGE CAUSES MEDIASTINUM^MS^h:Patient Body Habitus;m:Patient Movement;i:Insufficient Inhalation;o:Other;^0;1^Q
"^DD",311.103,311.173,.01,1,0)
^.1
"^DD",311.103,311.173,.01,1,1,0)
311.173^B
"^DD",311.103,311.173,.01,1,1,1)
S ^SAMI(311.103,DA(1),24,"B",$E(X,1,30),DA)=""
"^DD",311.103,311.173,.01,1,1,2)
K ^SAMI(311.103,DA(1),24,"B",$E(X,1,30),DA)
"^DD",311.103,311.173,.01,3)
If the images were not satisfactory, plese indicate the cause(s).
"^DD",311.103,311.173,.01,21,0)
^^3^3^3170907^
"^DD",311.103,311.173,.01,21,1,0)
If the images for the mediastinum/abdomen were not satisfactory, please
"^DD",311.103,311.173,.01,21,2,0)
indicate the cause(s). You may select more than one. If you select "other,"
"^DD",311.103,311.173,.01,21,3,0)
please use the next field to specify the cause.
"^DD",311.103,311.173,.01,"DT")
3170907
"^DD",311.10313,311.10313,0)
FIELD^^.02^2
"^DD",311.10313,311.10313,0,"DT")
3170822
"^DD",311.10313,311.10313,0,"IX","B",311.10313,.01)
"^DD",311.10313,311.10313,0,"NM","SAMI CT NODULE NEW")
"^DD",311.10313,311.10313,0,"PT",311.10312,.02)
"^DD",311.10313,311.10313,.01,0)
DEFINITION^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.10313,311.10313,.01,.1)
Definition
"^DD",311.10313,311.10313,.01,1,0)
^.1
"^DD",311.10313,311.10313,.01,1,1,0)
311.10313^B
"^DD",311.10313,311.10313,.01,1,1,1)
S ^SAMI(311.10313,"B",$E(X,1,30),DA)=""
"^DD",311.10313,311.10313,.01,1,1,2)
K ^SAMI(311.10313,"B",$E(X,1,30),DA)
"^DD",311.10313,311.10313,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.10313,311.10313,.01,21,0)
^^1^1^3170822^
"^DD",311.10313,311.10313,.01,21,1,0)
Select the definition that matches the nodule's status.
"^DD",311.10313,311.10313,.01,"DT")
3170822
"^DD",311.10313,311.10313,.02,0)
CODE^FJ3^^0;2^K:$L(X)>3!($L(X)<1) X
"^DD",311.10313,311.10313,.02,3)
Answer must be 1-3 characters in length.
"^DD",311.10313,311.10313,.02,"DT")
3170822
"^DD",311.10316,311.10316,0)
FIELD^^.02^2
"^DD",311.10316,311.10316,0,"DT")
3170828
"^DD",311.10316,311.10316,0,"IX","B",311.10316,.01)
"^DD",311.10316,311.10316,0,"NM","SAMI NODULE STATUS")
"^DD",311.10316,311.10316,0,"PT",311.10312,3.3)
"^DD",311.10316,311.10316,0,"PT",311.10611,1.3)
"^DD",311.10316,311.10316,.01,0)
STATUS^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.10316,311.10316,.01,.1)
Nodule status
"^DD",311.10316,311.10316,.01,1,0)
^.1
"^DD",311.10316,311.10316,.01,1,1,0)
311.10316^B
"^DD",311.10316,311.10316,.01,1,1,1)
S ^SAMI(311.10316,"B",$E(X,1,30),DA)=""
"^DD",311.10316,311.10316,.01,1,1,2)
K ^SAMI(311.10316,"B",$E(X,1,30),DA)
"^DD",311.10316,311.10316,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.10316,311.10316,.01,"DT")
3170828
"^DD",311.10316,311.10316,.02,0)
CODE^RFJ3^^0;2^K:$L(X)>3!($L(X)<1) X
"^DD",311.10316,311.10316,.02,3)
Answer must be 1-3 characters in length.
"^DD",311.10316,311.10316,.02,"DT")
3170828
"^DD",311.10317,311.10317,0)
FIELD^^.02^2
"^DD",311.10317,311.10317,0,"DT")
3170828
"^DD",311.10317,311.10317,0,"IX","B",311.10317,.01)
"^DD",311.10317,311.10317,0,"NM","SAMI PATH DIAGNOSIS")
"^DD",311.10317,311.10317,0,"PT",311.10312,3.5)
"^DD",311.10317,311.10317,0,"PT",311.10611,1.4)
"^DD",311.10317,311.10317,.01,0)
DIAGNOSIS^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.10317,311.10317,.01,.1)
Pathologic Diagnosis
"^DD",311.10317,311.10317,.01,1,0)
^.1
"^DD",311.10317,311.10317,.01,1,1,0)
311.10317^B
"^DD",311.10317,311.10317,.01,1,1,1)
S ^SAMI(311.10317,"B",$E(X,1,30),DA)=""
"^DD",311.10317,311.10317,.01,1,1,2)
K ^SAMI(311.10317,"B",$E(X,1,30),DA)
"^DD",311.10317,311.10317,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.10317,311.10317,.01,"DT")
3170828
"^DD",311.10317,311.10317,.02,0)
CODE^FJ3^^0;2^K:$L(X)>3!($L(X)<1) X
"^DD",311.10317,311.10317,.02,3)
Answer must be 1-3 characters in length.
"^DD",311.10317,311.10317,.02,"DT")
3170828
"^DD",311.10321,311.10321,0)
FIELD^^.02^2
"^DD",311.10321,311.10321,0,"DT")
3170906
"^DD",311.10321,311.10321,0,"IX","B",311.10321,.01)
"^DD",311.10321,311.10321,0,"NM","SAMI LYMPH NODES")
"^DD",311.10321,311.10321,0,"PT",311.103,11.8)
"^DD",311.10321,311.10321,.01,0)
LEVEL^RFJ50^^0;1^K:$L(X)>50!($L(X)<3) X
"^DD",311.10321,311.10321,.01,.1)
Level
"^DD",311.10321,311.10321,.01,1,0)
^.1
"^DD",311.10321,311.10321,.01,1,1,0)
311.10321^B
"^DD",311.10321,311.10321,.01,1,1,1)
S ^SAMI(311.10321,"B",$E(X,1,30),DA)=""
"^DD",311.10321,311.10321,.01,1,1,2)
K ^SAMI(311.10321,"B",$E(X,1,30),DA)
"^DD",311.10321,311.10321,.01,3)
Answer must be 3-50 characters in length.
"^DD",311.10321,311.10321,.01,21,0)
^^2^2^3170906^
"^DD",311.10321,311.10321,.01,21,1,0)
Any enlarged or growing hilar or mediastinal lymph nodes
"^DD",311.10321,311.10321,.01,21,2,0)
(short axis > 10 mm) (any size for para-esophageal)
"^DD",311.10321,311.10321,.01,"DT")
3170906
"^DD",311.10321,311.10321,.02,0)
CODE^RFJ5^^0;2^K:$L(X)>5!($L(X)<1) X
"^DD",311.10321,311.10321,.02,.1)
Code
"^DD",311.10321,311.10321,.02,3)
Answer must be 1-5 characters in length.
"^DD",311.10321,311.10321,.02,"DT")
3170906
"^DD",311.10322,311.10322,0)
FIELD^^.02^2
"^DD",311.10322,311.10322,0,"DT")
3170906
"^DD",311.10322,311.10322,0,"IX","B",311.10322,.01)
"^DD",311.10322,311.10322,0,"NM","SAMI FOLLOWUP TYPE")
"^DD",311.10322,311.10322,0,"PT",311.103,19)
"^DD",311.10322,311.10322,.01,0)
FOLLOW UP TYPE^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.10322,311.10322,.01,.1)
Type of follow up
"^DD",311.10322,311.10322,.01,1,0)
^.1
"^DD",311.10322,311.10322,.01,1,1,0)
311.10322^B
"^DD",311.10322,311.10322,.01,1,1,1)
S ^SAMI(311.10322,"B",$E(X,1,30),DA)=""
"^DD",311.10322,311.10322,.01,1,1,2)
K ^SAMI(311.10322,"B",$E(X,1,30),DA)
"^DD",311.10322,311.10322,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.10322,311.10322,.01,"DT")
3170906
"^DD",311.10322,311.10322,.02,0)
CODE^RFJ5^^0;2^K:$L(X)>5!($L(X)<1) X
"^DD",311.10322,311.10322,.02,.1)
Code
"^DD",311.10322,311.10322,.02,3)
Answer must be 1-5 characters in length.
"^DD",311.10322,311.10322,.02,"DT")
3170906
"^DD",311.104,311.104,0)
FIELD^^8.7^56
"^DD",311.104,311.104,0,"DT")
3170821
"^DD",311.104,311.104,0,"IX","B",311.104,.01)
"^DD",311.104,311.104,0,"NM","SAMI FOLLOWUP")
"^DD",311.104,311.104,.01,0)
STUDY ID^RFJ20^^0;1^K:$L(X)>20!($L(X)<3) X
"^DD",311.104,311.104,.01,.1)
Study ID
"^DD",311.104,311.104,.01,1,0)
^.1
"^DD",311.104,311.104,.01,1,1,0)
311.104^B
"^DD",311.104,311.104,.01,1,1,1)
S ^SAMI(311.104,"B",$E(X,1,30),DA)=""
"^DD",311.104,311.104,.01,1,1,2)
K ^SAMI(311.104,"B",$E(X,1,30),DA)
"^DD",311.104,311.104,.01,3)
Answer must be 3-20 characters in length.
"^DD",311.104,311.104,.01,21,0)
^.001^1^1^3170822^^
"^DD",311.104,311.104,.01,21,1,0)
The unique Study ID for this patient.
"^DD",311.104,311.104,.01,"DT")
3170821
"^DD",311.104,311.104,.02,0)
BASELINE DATE^D^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,.02,3)
Date of the patient's baseline CT scan.
"^DD",311.104,311.104,.02,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,.02,21,1,0)
Enter the date of the patient's baseline CT scan, in any format.
"^DD",311.104,311.104,.02,"DT")
3170817
"^DD",311.104,311.104,1,0)
FOLLOWUP DATE^RD^^0;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,1,3)
Enter the date for the current follow-up.
"^DD",311.104,311.104,1,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,1,21,1,0)
Enter the date for the current follow-up, in any format. You may enter
"^DD",311.104,311.104,1,21,2,0)
T for today, or T-1D for one day ago (yesterday).
"^DD",311.104,311.104,1,"DT")
3170817
"^DD",311.104,311.104,1.1,0)
TIME SINCE BASELINE^NJ3,0^^0;4^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.104,311.104,1.1,.1)
Time since baseline (months)
"^DD",311.104,311.104,1.1,3)
Type a number between 1 and 999, 0 decimal digits.
"^DD",311.104,311.104,1.1,21,0)
^.001^1^1^3170817^^
"^DD",311.104,311.104,1.1,21,1,0)
The time elapsed since the baseline CT scan (in months)
"^DD",311.104,311.104,1.1,"DT")
3170817
"^DD",311.104,311.104,1.2,0)
NURSE^FJ30^^0;5^K:$L(X)>30!($L(X)<3) X
"^DD",311.104,311.104,1.2,3)
Answer must be 3-30 characters in length.
"^DD",311.104,311.104,1.2,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,1.2,21,1,0)
The name of the nurse, navigator, or coordinator managing this followup
"^DD",311.104,311.104,1.2,21,2,0)
appointment.
"^DD",311.104,311.104,1.2,"DT")
3170817
"^DD",311.104,311.104,2,0)
SCREENING SCAN ORDERED^S^y:Yes;n:No;^0;6^Q
"^DD",311.104,311.104,2,.1)
Annual CT scan
"^DD",311.104,311.104,2,3)
Was a CT lung screening scan ordered for this patient?
"^DD",311.104,311.104,2,21,0)
^.001^2^2^3170817^^
"^DD",311.104,311.104,2,21,1,0)
Was a CT lung screening scan ordered for this patient (CPT code
"^DD",311.104,311.104,2,21,2,0)
G0297)?
"^DD",311.104,311.104,2,"DT")
3170817
"^DD",311.104,311.104,2.1,0)
PRACTITIONER NAME^FJ30^^0;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,2.1,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,2.1,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,2.1,21,1,0)
The name of the practitioner ordering the screening CT scan.
"^DD",311.104,311.104,2.1,"DT")
3170817
"^DD",311.104,311.104,2.2,0)
PRACTITIONER NPI^FJ10^^0;8^K:$L(X)>10!($L(X)<5) X
"^DD",311.104,311.104,2.2,3)
Answer must be 5-10 characters in length.
"^DD",311.104,311.104,2.2,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,2.2,21,1,0)
The NPI of the practitioner ordering the screening CT scan.
"^DD",311.104,311.104,2.2,"DT")
3170817
"^DD",311.104,311.104,2.3,0)
SHARED DECISION MAKING^S^y:Yes;n:No;^0;9^Q
"^DD",311.104,311.104,2.3,3)
Documentation of shared decision-making.
"^DD",311.104,311.104,2.3,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,2.3,21,1,0)
Is there documentation of shared decision-making for the CT scan?
"^DD",311.104,311.104,2.3,21,2,0)
(Only required for reimbursement for G0297 exams)
"^DD",311.104,311.104,2.3,"DT")
3170817
"^DD",311.104,311.104,2.4,0)
REPORTED SMOKING^S^c:Current;f:Former;^0;10^Q
"^DD",311.104,311.104,2.4,3)
Ordering practitioner reported smoking status.
"^DD",311.104,311.104,2.4,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,2.4,21,1,0)
Ordering practitioner reported smoking status. Enter c for Current smoker
"^DD",311.104,311.104,2.4,21,2,0)
or f for Former smoker.
"^DD",311.104,311.104,2.4,"DT")
3170817
"^DD",311.104,311.104,2.5,0)
REPORTED PACK YEARS^NJ5,2^^0;11^K:+X'=X!(X>99)!(X<1)!(X?.E1"."3N.N) X
"^DD",311.104,311.104,2.5,3)
Type a number between 1 and 99, 2 decimal digits.
"^DD",311.104,311.104,2.5,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,2.5,21,1,0)
Ordering practitioner reported pack years
"^DD",311.104,311.104,2.5,"DT")
3170817
"^DD",311.104,311.104,2.6,0)
REPORTED YEARS SINCE QUIT^NJ5,2^^0;12^K:+X'=X!(X>99)!(X<1)!(X?.E1"."3N.N) X
"^DD",311.104,311.104,2.6,3)
Type a number between 1 and 99, 2 decimal digits.
"^DD",311.104,311.104,2.6,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,2.6,21,1,0)
Ordering practitioner reported years since quit. Leave blank if the
"^DD",311.104,311.104,2.6,21,2,0)
patient is a current smoker.
"^DD",311.104,311.104,2.6,"DT")
3170817
"^DD",311.104,311.104,2.7,0)
REPORTED ASYMPTOMATIC^S^n:No;y:Yes;^0;13^Q
"^DD",311.104,311.104,2.7,3)
Ordering practitioner reported asymptomatic for lung cancer.
"^DD",311.104,311.104,2.7,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,2.7,21,1,0)
Ordering practitioner reported asymptimatic for lung cancer.
"^DD",311.104,311.104,2.7,"DT")
3170817
"^DD",311.104,311.104,2.8,0)
CLINICAL INFO^311.114^^1;0
"^DD",311.104,311.104,3,0)
ANTIBIOTICS^S^n:No;y:Yes;^2;1^Q
"^DD",311.104,311.104,3,3)
Has the patient taken antibiotics since last CT scan?
"^DD",311.104,311.104,3,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,3,21,1,0)
Has the patient taken antibiotics since their last CT scan? If so,
"^DD",311.104,311.104,3,21,2,0)
use the next field to specify when.
"^DD",311.104,311.104,3,"DT")
3170817
"^DD",311.104,311.104,3.1,0)
ANTIBIOTICS WHEN^D^^2;2^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,3.1,3)
When did the patient take antibiotics?
"^DD",311.104,311.104,3.1,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,3.1,21,1,0)
When did the patient take antibiotics? Enter a date in any format.
"^DD",311.104,311.104,3.1,"DT")
3170817
"^DD",311.104,311.104,3.2,0)
ANNUAL CT SCAN^S^n:No;y:Yes;^2;3^Q
"^DD",311.104,311.104,3.2,3)
Is this an annual CT scan?
"^DD",311.104,311.104,3.2,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,3.2,21,1,0)
Is this an annual CT scan?
"^DD",311.104,311.104,3.2,"DT")
3170817
"^DD",311.104,311.104,3.3,0)
SECONDHAND YEAR^D^^2;4^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,3.3,3)
When was the patient last exposed to secondhand smoke?
"^DD",311.104,311.104,3.3,21,0)
^^3^3^3170817^
"^DD",311.104,311.104,3.3,21,1,0)
Which year did the patient last have a prolonged exposure to
"^DD",311.104,311.104,3.3,21,2,0)
secondhand tobacco smoke? If the patient cannot remember precisely,
"^DD",311.104,311.104,3.3,21,3,0)
use the next field to enter an estimate.
"^DD",311.104,311.104,3.3,"DT")
3170817
"^DD",311.104,311.104,3.4,0)
SECONDHAND IMPRECISE^S^a:less than 5 years ago;b:more than 5 years ago;c:more than 10 years ago;^2;5^Q
"^DD",311.104,311.104,3.4,3)
Approximately when was the patient last exposed to secondhand smoke?
"^DD",311.104,311.104,3.4,21,0)
^^4^4^3170817^
"^DD",311.104,311.104,3.4,21,1,0)
Approximately when was the patient last exposed to secondhand smoke?
"^DD",311.104,311.104,3.4,21,2,0)
Enter a for less than 5 years ago; b for more than 5 years ago; or
"^DD",311.104,311.104,3.4,21,3,0)
c for more than 10 years ago. Leave this field blank if you were
"^DD",311.104,311.104,3.4,21,4,0)
able to get an exact year in the previous field.
"^DD",311.104,311.104,3.4,"DT")
3170817
"^DD",311.104,311.104,4,0)
SYMPTOMS^S^n:No;y:Yes;^2;6^Q
"^DD",311.104,311.104,4,3)
Has the patient experienced symptoms in the past year?
"^DD",311.104,311.104,4,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,4,21,1,0)
During the past year, has the patient experienced any of the symptoms
"^DD",311.104,311.104,4,21,2,0)
listed? Use the next field to select specific symptoms.
"^DD",311.104,311.104,4,"DT")
3170817
"^DD",311.104,311.104,4.1,0)
SYMPTOMS SELECT^311.124S^^3;0
"^DD",311.104,311.104,4.2,0)
OTHER SYMPTOM SPECIFY^FJ30^^4;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,4.2,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,4.2,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,4.2,21,1,0)
If you selected "other" in the previous field, specify the symptoms here.
"^DD",311.104,311.104,4.2,"DT")
3170817
"^DD",311.104,311.104,4.3,0)
SYMPTOMS TREATED^S^n:No;y:Yes;^4;2^Q
"^DD",311.104,311.104,4.3,3)
Has the patient seen a physician for these symptoms?
"^DD",311.104,311.104,4.3,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,4.3,21,1,0)
Has the patient seen a physician for the symptoms listed in the previous
"^DD",311.104,311.104,4.3,21,2,0)
fields?
"^DD",311.104,311.104,4.3,"DT")
3170817
"^DD",311.104,311.104,4.4,0)
SYMPTOMS CURRENT^S^n:No;y:Yes;^4;3^Q
"^DD",311.104,311.104,4.4,3)
Is the patient currently experiencing symptoms?
"^DD",311.104,311.104,4.4,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,4.4,21,1,0)
Is the patient currently experiencing these symptoms?
"^DD",311.104,311.104,4.4,"DT")
3170817
"^DD",311.104,311.104,4.5,0)
MOST RECENT CHEST CT^D^^4;4^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,4.5,3)
When did the patient most recently have a chest CT?
"^DD",311.104,311.104,4.5,21,0)
^^2^2^3170817^
"^DD",311.104,311.104,4.5,21,1,0)
When did the patient most recently have a chest CT? Enter a date, in
"^DD",311.104,311.104,4.5,21,2,0)
any format.
"^DD",311.104,311.104,4.5,"DT")
3170817
"^DD",311.104,311.104,4.6,0)
CHEST CT WHERE^FJ30^^4;5^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,4.6,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,4.6,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,4.6,21,1,0)
Where was the patient's most recent chest CT done?
"^DD",311.104,311.104,4.6,"DT")
3170817
"^DD",311.104,311.104,5,0)
HOSPITALIZED^S^n:No;y:Yes;^4;6^Q
"^DD",311.104,311.104,5,3)
Has the patient been hospitalized in the past year?
"^DD",311.104,311.104,5,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,5,21,1,0)
Has the patient been hospitalized in the past year?
"^DD",311.104,311.104,5,"DT")
3170817
"^DD",311.104,311.104,5.1,0)
HOSPITALIZED FOR WHAT^FJ30^^4;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,5.1,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,5.1,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,5.1,21,1,0)
What was the patient hospitalized for?
"^DD",311.104,311.104,5.1,"DT")
3170817
"^DD",311.104,311.104,5.2,0)
HOSPITAL WHEN^D^^4;8^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,5.2,3)
When was the patient hospitalized?
"^DD",311.104,311.104,5.2,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,5.2,21,1,0)
When was the patient hospitalized? Enter a date in any format.
"^DD",311.104,311.104,5.2,"DT")
3170817
"^DD",311.104,311.104,5.3,0)
HOSPITAL WHERE^FJ30^^4;9^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,5.3,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,5.3,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,5.3,21,1,0)
Where was the patient hospitalized?
"^DD",311.104,311.104,5.3,"DT")
3170817
"^DD",311.104,311.104,6,0)
CANCER DIAGNOSIS^S^n:No;y:Yes;^4;10^Q
"^DD",311.104,311.104,6,3)
Has the patient been diagnosed with cancer in the past year?
"^DD",311.104,311.104,6,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,6,21,1,0)
Has the patient had a diagnosis of cancer in the past year?
"^DD",311.104,311.104,6,"DT")
3170817
"^DD",311.104,311.104,6.1,0)
CANCER WHERE^S^br:breast;co:colon/rectum;li:liver;lu:lung/bronchus;ov:ovary;pa:pancreas;pr:prostate;sk:skin;st:stomach;ut:uterus;os:other (specify);^4;11^Q
"^DD",311.104,311.104,6.1,3)
What part of the body was the patient's cancer?
"^DD",311.104,311.104,6.1,21,0)
^^1^1^3170817^
"^DD",311.104,311.104,6.1,21,1,0)
If the patient had a diagnosis of cancer, on what part of the body?
"^DD",311.104,311.104,6.1,"DT")
3170817
"^DD",311.104,311.104,6.2,0)
CANCER WHEN^D^^4;12^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,6.2,3)
When was the patient's cancer diagnosis?
"^DD",311.104,311.104,6.2,21,0)
^^1^1^3170818^
"^DD",311.104,311.104,6.2,21,1,0)
When was the patient's cancer diagnosis? Enter a date, in any format.
"^DD",311.104,311.104,6.2,"DT")
3170818
"^DD",311.104,311.104,6.3,0)
LUNG CANCER SURGERY^S^n:No;y:Yes;^4;13^Q
"^DD",311.104,311.104,6.3,3)
Has the patient had surgery for lung cancer?
"^DD",311.104,311.104,6.3,21,0)
^^1^1^3170818^
"^DD",311.104,311.104,6.3,21,1,0)
If lung cancer has been diagnosed, has the patient had surgery?
"^DD",311.104,311.104,6.3,"DT")
3170818
"^DD",311.104,311.104,6.4,0)
LUNG SURGERY WHEN^D^^4;14^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,6.4,3)
When did the patient have surgery for lung cancer?
"^DD",311.104,311.104,6.4,21,0)
^^2^2^3170818^
"^DD",311.104,311.104,6.4,21,1,0)
When did the patient have surgery for lung cancer? Enter a date, in
"^DD",311.104,311.104,6.4,21,2,0)
any format.
"^DD",311.104,311.104,6.4,"DT")
3170818
"^DD",311.104,311.104,6.5,0)
LUNG SURGERY WHERE^FJ30^^4;15^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,6.5,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,6.5,21,0)
^^1^1^3170818^
"^DD",311.104,311.104,6.5,21,1,0)
Where did the patient have surgery for lung cancer?
"^DD",311.104,311.104,6.5,"DT")
3170818
"^DD",311.104,311.104,6.6,0)
LUNG CANCER RECURRENCE^S^n:No;y:Yes;^4;16^Q
"^DD",311.104,311.104,6.6,3)
Is there evidence of lung cancer recurrence?
"^DD",311.104,311.104,6.6,21,0)
^^1^1^3170818^
"^DD",311.104,311.104,6.6,21,1,0)
If a lung cancer has been removed, is there evidence of recurrence?
"^DD",311.104,311.104,6.6,"DT")
3170818
"^DD",311.104,311.104,6.7,0)
RECURRENCE DESCRIBE^311.134^^5;0
"^DD",311.104,311.104,7,0)
SMOKED IN PAST MONTH^S^n:No;y:Yes;o:Never smoked;^6;1^Q
"^DD",311.104,311.104,7,3)
Has the patient smoked at all in the past month?
"^DD",311.104,311.104,7,21,0)
^^2^2^3170818^
"^DD",311.104,311.104,7,21,1,0)
Over the past month, has the patient smoked cigarettes at all, even a
"^DD",311.104,311.104,7,21,2,0)
puff? Enter n for no, y for yes, or o of the patient has never smoked.
"^DD",311.104,311.104,7,"DT")
3170818
"^DD",311.104,311.104,7.1,0)
SMOKING DAYS PER WEEK^NJ1,0^^6;2^K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.104,311.104,7.1,3)
Type a number between 1 and 7, 0 decimal digits.
"^DD",311.104,311.104,7.1,21,0)
^^1^1^3170818^
"^DD",311.104,311.104,7.1,21,1,0)
On how many days per week is the patient currently smoking cigarettes?
"^DD",311.104,311.104,7.1,"DT")
3170818
"^DD",311.104,311.104,7.2,0)
SMOKING PACKS PER DAY^NJ4,2^^6;3^K:+X'=X!(X>9)!(X<0)!(X?.E1"."3N.N) X
"^DD",311.104,311.104,7.2,3)
Type a number between 0 and 9, 2 decimal digits.
"^DD",311.104,311.104,7.2,21,0)
^^2^2^3170818^
"^DD",311.104,311.104,7.2,21,1,0)
On average, on the days that the patient is smoking cigarettes, how many
"^DD",311.104,311.104,7.2,21,2,0)
packs of cigarettes is he or she currently smoking per day (PPD)?
"^DD",311.104,311.104,7.2,"DT")
3170818
"^DD",311.104,311.104,7.3,0)
LAST CIGARETTE DATE^D^^6;4^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.104,311.104,7.3,3)
When was the date of the patient's last cigarette?
"^DD",311.104,311.104,7.3,21,0)
^^1^1^3170818^
"^DD",311.104,311.104,7.3,21,1,0)
When was the patient's last cigarette? Enter a date, in any format.
"^DD",311.104,311.104,7.3,"DT")
3170818
"^DD",311.104,311.104,7.4,0)
TRIED TO QUIT^S^n:No;y:Yes;o:N/A;^6;5^Q
"^DD",311.104,311.104,7.4,3)
Has the patient tried to quit smoking since prior CT scan?
"^DD",311.104,311.104,7.4,21,0)
^^3^3^3170818^
"^DD",311.104,311.104,7.4,21,1,0)
Since the patient's prior CT scan, has he or she ever tried to quit
"^DD",311.104,311.104,7.4,21,2,0)
smoking? Enter n for no, y for yes, or o for N/A (the patient had
"^DD",311.104,311.104,7.4,21,3,0)
already quit).
"^DD",311.104,311.104,7.4,"DT")
3170818
"^DD",311.104,311.104,7.5,0)
QUIT NUMBER^NJ2,0^^6;6^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.104,311.104,7.5,3)
Type a number between 1 and 99, 0 decimal digits.
"^DD",311.104,311.104,7.5,21,0)
^^2^2^3170818^
"^DD",311.104,311.104,7.5,21,1,0)
If the patient has tried to quit, how many times has he or she quit
"^DD",311.104,311.104,7.5,21,2,0)
smoking for at least 24 hours?
"^DD",311.104,311.104,7.5,"DT")
3170818
"^DD",311.104,311.104,7.6,0)
METHODS USED^311.144PA^^7;0
"^DD",311.104,311.104,7.7,0)
OTHER METHOD SPECIFY^FJ30^^8;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.104,311.104,7.7,3)
Answer must be 5-30 characters in length.
"^DD",311.104,311.104,7.7,21,0)
^^2^2^3170821^
"^DD",311.104,311.104,7.7,21,1,0)
If you chose "other" as a cessation method in the previous field,
"^DD",311.104,311.104,7.7,21,2,0)
specify the other method here.
"^DD",311.104,311.104,7.7,"DT")
3170821
"^DD",311.104,311.104,7.8,0)
THINKING OF QUITTING^S^n:No;y:Yes;^8;2^Q
"^DD",311.104,311.104,7.8,3)
Is the patient seriously thinking of quitting smoking?
"^DD",311.104,311.104,7.8,21,0)
^^1^1^3170821^
"^DD",311.104,311.104,7.8,21,1,0)
Is the patient seriously thinking of quitting smoking?
"^DD",311.104,311.104,7.8,"DT")
3170821
"^DD",311.104,311.104,7.9,0)
CESSATION MATERIALS^S^n:No;y:Yes;^8;3^Q
"^DD",311.104,311.104,7.9,3)
Smoking cessation materials distributed?
"^DD",311.104,311.104,7.9,21,0)
^^1^1^3170821^
"^DD",311.104,311.104,7.9,21,1,0)
Smoking cessation materials were distributed to subject.
"^DD",311.104,311.104,7.9,"DT")
3170821
"^DD",311.104,311.104,8,0)
OVERALL HEALTH^S^a:Excellent;b:Very good;c:Good;d:Fair;e:Poor;f:Very poor;^8;4^Q
"^DD",311.104,311.104,8,3)
Patient's health during the past 4 weeks.
"^DD",311.104,311.104,8,21,0)
^^2^2^3170821^
"^DD",311.104,311.104,8,21,1,0)
Overall, how would the patient rate his or her health during the
"^DD",311.104,311.104,8,21,2,0)
past 4 weeks?
"^DD",311.104,311.104,8,"DT")
3170821
"^DD",311.104,311.104,8.1,0)
PHYSICAL LIMITS^S^a:Not at all;b:Very little;c:Somewhat;d:Quite a lot;e:Could not do;^8;5^Q
"^DD",311.104,311.104,8.1,3)
How much did physical health problems limit physical activities?
"^DD",311.104,311.104,8.1,21,0)
^^3^3^3170821^
"^DD",311.104,311.104,8.1,21,1,0)
During the past 4 weeks, how much did physical health problems limit
"^DD",311.104,311.104,8.1,21,2,0)
the patient's usual physical activities (such as walking or climbing
"^DD",311.104,311.104,8.1,21,3,0)
stairs)?
"^DD",311.104,311.104,8.1,"DT")
3170821
"^DD",311.104,311.104,8.2,0)
HEALTH WORK^S^a:None at all;b:A little bit;c:Some;d:Quite a lot;e:Could not do;^8;6^Q
"^DD",311.104,311.104,8.2,3)
How much difficulty did the patient have at daily work?
"^DD",311.104,311.104,8.2,21,0)
^^3^3^3170821^
"^DD",311.104,311.104,8.2,21,1,0)
During the past 4 weeks, how much difficulty did the patient have doing
"^DD",311.104,311.104,8.2,21,2,0)
his or her daily work, both at home and away from home, because of
"^DD",311.104,311.104,8.2,21,3,0)
physical health?
"^DD",311.104,311.104,8.2,"DT")
3170821
"^DD",311.104,311.104,8.3,0)
BODILY PAIN^S^a:None;b:Very mild;c:Mild;d:Moderate;e:Severe;f:Very severe;^8;7^Q
"^DD",311.104,311.104,8.3,3)
How much bodily pain has the patient had?
"^DD",311.104,311.104,8.3,21,0)
^^1^1^3170821^
"^DD",311.104,311.104,8.3,21,1,0)
How much bodily pain has the patient had during the past 4 weeks?
"^DD",311.104,311.104,8.3,"DT")
3170821
"^DD",311.104,311.104,8.4,0)
HEALTH ENERGY^S^a:Very much;b:Quite a lot;c:Some;d:A little;e:None;^8;8^Q
"^DD",311.104,311.104,8.4,3)
During the past 4 weeks, how much energy did the patient have?
"^DD",311.104,311.104,8.4,21,0)
^^1^1^3170821^
"^DD",311.104,311.104,8.4,21,1,0)
During the past 4 weeks, how much energy did the patient have?
"^DD",311.104,311.104,8.4,"DT")
3170821
"^DD",311.104,311.104,8.5,0)
HEALTH SOCIAL^S^a:None at all;b:Very little;c:Somewhat;d:Quite a lot;e:Could not do;^8;9^Q
"^DD",311.104,311.104,8.5,3)
How much did physical health or emotional problems limit social activities?
"^DD",311.104,311.104,8.5,21,0)
^^3^3^3170821^
"^DD",311.104,311.104,8.5,21,1,0)
During the past 4 weeks, how much did the patient's physical health or
"^DD",311.104,311.104,8.5,21,2,0)
emotional problems limit his or her ususal social activities with
"^DD",311.104,311.104,8.5,21,3,0)
family or friends?
"^DD",311.104,311.104,8.5,"DT")
3170821
"^DD",311.104,311.104,8.6,0)
HEALTH EMOTIONAL^S^a:Not at all;b:Slightly;c:Moderately;d:Quite a lot;e:Extremely;^8;10^Q
"^DD",311.104,311.104,8.6,3)
How much as the patient been bothered by emotional problems?
"^DD",311.104,311.104,8.6,21,0)
^^2^2^3170821^
"^DD",311.104,311.104,8.6,21,1,0)
During the past 4 weeks, how much has the patient been bothered by
"^DD",311.104,311.104,8.6,21,2,0)
emotional problems (such as feeling anxious, depressed or irritable)?
"^DD",311.104,311.104,8.6,"DT")
3170821
"^DD",311.104,311.104,8.7,0)
HEALTH DAILY^S^a:Not at all;b:Very little;c:Somewhat;d:Quite a lot;e:Could not do;^8;11^Q
"^DD",311.104,311.104,8.7,3)
How much did personal or emotional problems keep the patient from daily activities?
"^DD",311.104,311.104,8.7,21,0)
^^3^3^3170821^
"^DD",311.104,311.104,8.7,21,1,0)
During the past 4 weeks, how much did personal or emotional problems keep
"^DD",311.104,311.104,8.7,21,2,0)
the patient from doing his or her usual work, school or other daily
"^DD",311.104,311.104,8.7,21,3,0)
activities?
"^DD",311.104,311.104,8.7,"DT")
3170821
"^DD",311.104,311.114,0)
CLINICAL INFO SUB-FIELD^^.01^1
"^DD",311.104,311.114,0,"DT")
3170817
"^DD",311.104,311.114,0,"NM","CLINICAL INFO")
"^DD",311.104,311.114,0,"UP")
311.104
"^DD",311.104,311.114,.01,0)
CLINICAL INFO^Wx^^0;1^Q
"^DD",311.104,311.114,.01,3)
Clinical information from ordering practitioner.
"^DD",311.104,311.114,.01,21,0)
^^2^2^3170817^
"^DD",311.104,311.114,.01,21,1,0)
Clinical information from oerdering practitioner (information will
"^DD",311.104,311.114,.01,21,2,0)
be copied to CT report).
"^DD",311.104,311.114,.01,"DT")
3170817
"^DD",311.104,311.124,0)
SYMPTOMS SELECT SUB-FIELD^^.01^1
"^DD",311.104,311.124,0,"DT")
3170817
"^DD",311.104,311.124,0,"IX","B",311.124,.01)
"^DD",311.104,311.124,0,"NM","SYMPTOMS SELECT")
"^DD",311.104,311.124,0,"UP")
311.104
"^DD",311.104,311.124,.01,0)
SYMPTOMS SELECT^MS^b:cough producing bloody material;l:unexplained weight loss;h:unexplained hoarseness;o:other (specify);^0;1^Q
"^DD",311.104,311.124,.01,1,0)
^.1
"^DD",311.104,311.124,.01,1,1,0)
311.124^B
"^DD",311.104,311.124,.01,1,1,1)
S ^SAMI(311.104,DA(1),3,"B",$E(X,1,30),DA)=""
"^DD",311.104,311.124,.01,1,1,2)
K ^SAMI(311.104,DA(1),3,"B",$E(X,1,30),DA)
"^DD",311.104,311.124,.01,3)
Enter the code for the patient's symptoms.
"^DD",311.104,311.124,.01,21,0)
^^4^4^3170817^
"^DD",311.104,311.124,.01,21,1,0)
Enter the code for the patient's symptoms. You may enter more than one.
"^DD",311.104,311.124,.01,21,2,0)
Use b for cough producing bloody material, l for unexplained weight loss,
"^DD",311.104,311.124,.01,21,3,0)
h for unexplained hoarseness, and o for other. If you select other,
"^DD",311.104,311.124,.01,21,4,0)
please specify the symptom in the next field.
"^DD",311.104,311.124,.01,"DT")
3170817
"^DD",311.104,311.134,0)
RECURRENCE DESCRIBE SUB-FIELD^^.01^1
"^DD",311.104,311.134,0,"DT")
3170818
"^DD",311.104,311.134,0,"NM","RECURRENCE DESCRIBE")
"^DD",311.104,311.134,0,"UP")
311.104
"^DD",311.104,311.134,.01,0)
RECURRENCE DESCRIBE^Wx^^0;1^Q
"^DD",311.104,311.134,.01,3)
Describe the evidence of lung-cancer recurrence.
"^DD",311.104,311.134,.01,21,0)
^^1^1^3170818^
"^DD",311.104,311.134,.01,21,1,0)
Describe the evidence of lung-cancer recurrence.
"^DD",311.104,311.134,.01,"DT")
3170818
"^DD",311.104,311.144,0)
METHODS USED SUB-FIELD^^.01^1
"^DD",311.104,311.144,0,"DT")
3170821
"^DD",311.104,311.144,0,"IX","B",311.144,.01)
"^DD",311.104,311.144,0,"NM","METHODS USED")
"^DD",311.104,311.144,0,"UP")
311.104
"^DD",311.104,311.144,.01,0)
METHODS USED^MP231.10211'^SAMI(231.10211,^0;1^Q
"^DD",311.104,311.144,.01,1,0)
^.1
"^DD",311.104,311.144,.01,1,1,0)
311.144^B
"^DD",311.104,311.144,.01,1,1,1)
S ^SAMI(311.104,DA(1),7,"B",$E(X,1,30),DA)=""
"^DD",311.104,311.144,.01,1,1,2)
K ^SAMI(311.104,DA(1),7,"B",$E(X,1,30),DA)
"^DD",311.104,311.144,.01,3)
Enther the method(s) the patient used to try to quit.
"^DD",311.104,311.144,.01,21,0)
^^2^2^3170821^
"^DD",311.104,311.144,.01,21,1,0)
Enter the method(s) the patient used to try to quit. You may enter more
"^DD",311.104,311.144,.01,21,2,0)
than one.
"^DD",311.104,311.144,.01,"DT")
3170821
"^DD",311.105,311.105,0)
FIELD^^5.5^26
"^DD",311.105,311.105,0,"DT")
3170913
"^DD",311.105,311.105,0,"IX","B",311.105,.01)
"^DD",311.105,311.105,0,"NM","SAMI BIOPSY")
"^DD",311.105,311.105,.01,0)
STUDY ID^RP311.101'^SAMI(311.101,^0;1^Q
"^DD",311.105,311.105,.01,.1)
Study ID
"^DD",311.105,311.105,.01,1,0)
^.1
"^DD",311.105,311.105,.01,1,1,0)
311.105^B
"^DD",311.105,311.105,.01,1,1,1)
S ^SAMI(311.105,"B",$E(X,1,30),DA)=""
"^DD",311.105,311.105,.01,1,1,2)
K ^SAMI(311.105,"B",$E(X,1,30),DA)
"^DD",311.105,311.105,.01,3)
"^DD",311.105,311.105,.01,"DT")
3170913
"^DD",311.105,311.105,.05,0)
MOST RECENT PROCEDURE DATE^D^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.105,311.105,.05,"DT")
3170913
"^DD",311.105,311.105,1,0)
BIOPSY PERFORMED^RS^y:Yes;n:No;^0;3^Q
"^DD",311.105,311.105,1,3)
Was a biopsy performed? Enter y for yes or n for no.
"^DD",311.105,311.105,1,"DT")
3170913
"^DD",311.105,311.105,1.1,0)
BIOPSY DATE^D^^0;4^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.105,311.105,1.1,.1)
Biopsy Date
"^DD",311.105,311.105,1.1,3)
On what date was the biopsy performed? You may enter T for today.
"^DD",311.105,311.105,1.1,"DT")
3170913
"^DD",311.105,311.105,1.2,0)
BIOPSY LOCATION^FJ30^^0;5^K:$L(X)>30!($L(X)<5) X
"^DD",311.105,311.105,1.2,.1)
Biopsy location
"^DD",311.105,311.105,1.2,3)
Answer must be 5-30 characters in length.
"^DD",311.105,311.105,1.2,21,0)
^.001^1^1^3170913^^^
"^DD",311.105,311.105,1.2,21,1,0)
Where was the biopsy performed?
"^DD",311.105,311.105,1.2,"DT")
3170913
"^DD",311.105,311.105,1.3,0)
INDICATION FOR BIOPSY^S^s:Size;r:No resolution after abx;g:Growth;p:Positive PET;o:Other (specify);^0;6^Q
"^DD",311.105,311.105,1.3,.1)
Indication for Biopsy
"^DD",311.105,311.105,1.3,3)
What was the indication for a biopsy to be performed?
"^DD",311.105,311.105,1.3,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,1.3,21,1,0)
What was the indication for a biopsy to be performed? If you select
"^DD",311.105,311.105,1.3,21,2,0)
"other," please use the next field to specify.
"^DD",311.105,311.105,1.3,"DT")
3170913
"^DD",311.105,311.105,1.4,0)
INDICATIONS OTHER SPECIFY^FJ30^^0;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.105,311.105,1.4,3)
Answer must be 5-30 characters in length.
"^DD",311.105,311.105,1.4,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,1.4,21,1,0)
If you selected "other" as the indication for a biopsy, please specify the
"^DD",311.105,311.105,1.4,21,2,0)
indication here.
"^DD",311.105,311.105,1.4,"DT")
3170913
"^DD",311.105,311.105,1.5,0)
LESION SITE^P311.10511'^SAMI(311.10511,^0;8^Q
"^DD",311.105,311.105,1.5,3)
Indicate of the site of the lesion that was biopsied.
"^DD",311.105,311.105,1.5,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,1.5,21,1,0)
Indicate of the site of the lesion that was biopsied. If a new lesion was
"^DD",311.105,311.105,1.5,21,2,0)
identified and new diagnostics performed, please use a new form.
"^DD",311.105,311.105,1.5,"DT")
3170913
"^DD",311.105,311.105,1.6,0)
TYPE OF SPECIMEN^S^c:Cytology;h:Histology;^0;9^Q
"^DD",311.105,311.105,1.6,3)
Enter c for cytology or h for histology.
"^DD",311.105,311.105,1.6,"DT")
3170913
"^DD",311.105,311.105,1.7,0)
TYPE OF PROCEDURE^S^c:needle biopsy;b:bronchoscopy;v:VAT;t:thoracotomy;o:other;^0;10^Q
"^DD",311.105,311.105,1.7,3)
What type of procedure was used for this biopsy?
"^DD",311.105,311.105,1.7,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,1.7,21,1,0)
What type of proecedure was used for this biopsy? If you select "other,"
"^DD",311.105,311.105,1.7,21,2,0)
please use the next field to specify.
"^DD",311.105,311.105,1.7,"DT")
3170913
"^DD",311.105,311.105,1.8,0)
PROCEDURE OTHER SPECIFY^FJ30^^0;11^K:$L(X)>30!($L(X)<5) X
"^DD",311.105,311.105,1.8,3)
Answer must be 5-30 characters in length.
"^DD",311.105,311.105,1.8,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,1.8,21,1,0)
If you selected "other" as the type of procedure, please specify the
"^DD",311.105,311.105,1.8,21,2,0)
procedure here.
"^DD",311.105,311.105,1.8,"DT")
3170913
"^DD",311.105,311.105,2,0)
BIOPSY COMPLICATIONS^S^n:none;c:Chest tube;pt:Pneumothorax;pn:Pneumonectasis;o:other;^0;12^Q
"^DD",311.105,311.105,2,.1)
Complications during biopsy
"^DD",311.105,311.105,2,3)
What complications occured during the biopsy? Enter n for none.
"^DD",311.105,311.105,2,21,0)
^.001^1^1^3170913^^^
"^DD",311.105,311.105,2,21,1,0)
What complications occured during the biopsy? Enter n for none.
"^DD",311.105,311.105,2,"DT")
3170913
"^DD",311.105,311.105,2.1,0)
BIOPSY COMPLICATIONS SPECIFY^FJ30^^0;13^K:$L(X)>30!($L(X)<5) X
"^DD",311.105,311.105,2.1,.1)
Biopsy complications other specify
"^DD",311.105,311.105,2.1,3)
Answer must be 5-30 characters in length.
"^DD",311.105,311.105,2.1,21,0)
^.001^2^2^3170913^^
"^DD",311.105,311.105,2.1,21,1,0)
If you selected "other" as a complication that occurred during the biopsy,
"^DD",311.105,311.105,2.1,21,2,0)
please specify the complication here.
"^DD",311.105,311.105,2.1,"DT")
3170913
"^DD",311.105,311.105,3,0)
BIOPSY PATHOLOGY DETAILS^311.10512^^1;0
"^DD",311.105,311.105,4,0)
MEDIASTINOSCOPY PERFORMED^S^n:No;y:Yes;^2;1^Q
"^DD",311.105,311.105,4,3)
Was a mediastinoscopy performed?
"^DD",311.105,311.105,4,"DT")
3170913
"^DD",311.105,311.105,4.1,0)
MEDIASTINOSCOPY LESION SITE^P311.10511'^SAMI(311.10511,^2;2^Q
"^DD",311.105,311.105,4.1,3)
What was the site of the lesion for the mediastinoscopy?
"^DD",311.105,311.105,4.1,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,4.1,21,1,0)
What was the site of the lesion for the mediastinoscopy? If a new lesion
"^DD",311.105,311.105,4.1,21,2,0)
was identified and new diagnostics performed, please use a new form.
"^DD",311.105,311.105,4.1,"DT")
3170913
"^DD",311.105,311.105,4.2,0)
MEDIASTINOSCOPY DATE^D^^2;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.105,311.105,4.2,3)
On what date was the mediastinoscopy performed?
"^DD",311.105,311.105,4.2,"DT")
3170913
"^DD",311.105,311.105,4.3,0)
MEDIASTINOSCOPY LOCATION^FJ30^^2;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.105,311.105,4.3,3)
Answer must be 5-30 characters in length.
"^DD",311.105,311.105,4.3,21,0)
^^1^1^3170913^
"^DD",311.105,311.105,4.3,21,1,0)
Where was the mediastinoscopy performed?
"^DD",311.105,311.105,4.3,"DT")
3170913
"^DD",311.105,311.105,4.4,0)
MEDIASTINOSCOPY COMPLICATIONS^S^n:No;y:Yes;^2;5^Q
"^DD",311.105,311.105,4.4,3)
Were there complications during mediastinoscopy?
"^DD",311.105,311.105,4.4,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,4.4,21,1,0)
Were there complications during mediastinoscopy? If yes, use the next
"^DD",311.105,311.105,4.4,21,2,0)
field to specify the type of complication(s).
"^DD",311.105,311.105,4.4,"DT")
3170913
"^DD",311.105,311.105,4.5,0)
MEDIASTINOSCOPY SPECIFY^FJ50^^2;6^K:$L(X)>50!($L(X)<5) X
"^DD",311.105,311.105,4.5,3)
Answer must be 5-50 characters in length.
"^DD",311.105,311.105,4.5,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,4.5,21,1,0)
If there were complications during the mediastinoscopy procedure, please
"^DD",311.105,311.105,4.5,21,2,0)
spceify them here.
"^DD",311.105,311.105,4.5,"DT")
3170913
"^DD",311.105,311.105,5,0)
MOLECULAR TESTING^S^n:no;y:yes;^2;7^Q
"^DD",311.105,311.105,5,3)
Was molecular testing performed on the pathology specimen?
"^DD",311.105,311.105,5,"DT")
3170913
"^DD",311.105,311.105,5.1,0)
EGFR^S^n:Not performed;neg:Negative;pos:Positive;^2;8^Q
"^DD",311.105,311.105,5.1,3)
Results of EGFR test.
"^DD",311.105,311.105,5.1,"DT")
3170913
"^DD",311.105,311.105,5.2,0)
K-RAS^S^n:Not performed;neg:Negative;pos:Positive;^2;9^Q
"^DD",311.105,311.105,5.2,3)
Results of K-Ras test.
"^DD",311.105,311.105,5.2,"DT")
3170913
"^DD",311.105,311.105,5.3,0)
ALK^S^n:Not performed;neg:Negative;pos:Positive;^2;10^Q
"^DD",311.105,311.105,5.3,3)
Results of ALK test.
"^DD",311.105,311.105,5.3,"DT")
3170913
"^DD",311.105,311.105,5.4,0)
OTHER TEST^S^n:Not performed;neg:Negative;pos:Positive;^2;11^Q
"^DD",311.105,311.105,5.4,3)
Results of any other molecular testing.
"^DD",311.105,311.105,5.4,21,0)
^^2^2^3170913^
"^DD",311.105,311.105,5.4,21,1,0)
Results of any other molecular testing performed on the pathology
"^DD",311.105,311.105,5.4,21,2,0)
specimen. Please use the next field to specify the type of test.
"^DD",311.105,311.105,5.4,"DT")
3170913
"^DD",311.105,311.105,5.5,0)
OTHER TEST SPECIFY^FJ20^^2;12^K:$L(X)>20!($L(X)<3) X
"^DD",311.105,311.105,5.5,3)
Answer must be 3-20 characters in length.
"^DD",311.105,311.105,5.5,21,0)
^^3^3^3170913^
"^DD",311.105,311.105,5.5,21,1,0)
If another molecular test was performed on the pathology specimen,
"^DD",311.105,311.105,5.5,21,2,0)
please specify the type of test here. Use the previous field to record
"^DD",311.105,311.105,5.5,21,3,0)
the results of the test.
"^DD",311.105,311.105,5.5,"DT")
3170913
"^DD",311.105,311.10512,0)
BIOPSY PATHOLOGY DETAILS SUB-FIELD^^.01^1
"^DD",311.105,311.10512,0,"DT")
3170913
"^DD",311.105,311.10512,0,"NM","BIOPSY PATHOLOGY DETAILS")
"^DD",311.105,311.10512,0,"UP")
311.105
"^DD",311.105,311.10512,.01,0)
BIOPSY PATHOLOGY DETAILS^Wx^^0;1^Q
"^DD",311.105,311.10512,.01,"DT")
3170913
"^DD",311.10511,311.10511,0)
FIELD^^.02^2
"^DD",311.10511,311.10511,0,"DT")
3170913
"^DD",311.10511,311.10511,0,"IX","B",311.10511,.01)
"^DD",311.10511,311.10511,0,"NM","SAMI LESION SITE")
"^DD",311.10511,311.10511,0,"PT",311.105,1.5)
"^DD",311.10511,311.10511,0,"PT",311.105,4.1)
"^DD",311.10511,311.10511,0,"PT",311.107,2)
"^DD",311.10511,311.10511,0,"PT",311.107,8)
"^DD",311.10511,311.10511,0,"PT",311.107,9.8)
"^DD",311.10511,311.10511,.01,0)
SITE^RFJ20^^0;1^K:$L(X)>20!($L(X)<3) X
"^DD",311.10511,311.10511,.01,.1)
Lesion Site
"^DD",311.10511,311.10511,.01,1,0)
^.1
"^DD",311.10511,311.10511,.01,1,1,0)
311.10511^B
"^DD",311.10511,311.10511,.01,1,1,1)
S ^SAMI(311.10511,"B",$E(X,1,30),DA)=""
"^DD",311.10511,311.10511,.01,1,1,2)
K ^SAMI(311.10511,"B",$E(X,1,30),DA)
"^DD",311.10511,311.10511,.01,3)
Answer must be 3-20 characters in length.
"^DD",311.10511,311.10511,.01,"DT")
3170913
"^DD",311.10511,311.10511,.02,0)
CODE^FJ5^^0;2^K:$L(X)>5!($L(X)<1) X
"^DD",311.10511,311.10511,.02,3)
Answer must be 1-5 characters in length.
"^DD",311.10511,311.10511,.02,"DT")
3170913
"^DD",311.106,311.106,0)
FIELD^^7.3^25
"^DD",311.106,311.106,0,"DT")
3170915
"^DD",311.106,311.106,0,"IX","B",311.106,.01)
"^DD",311.106,311.106,0,"NM","SAMI PET EVALUATION")
"^DD",311.106,311.106,.01,0)
STUDY ID^RP311.101'^SAMI(311.101,^0;1^Q
"^DD",311.106,311.106,.01,.1)
Study ID
"^DD",311.106,311.106,.01,1,0)
^.1
"^DD",311.106,311.106,.01,1,1,0)
311.106^B
"^DD",311.106,311.106,.01,1,1,1)
S ^SAMI(311.106,"B",$E(X,1,30),DA)=""
"^DD",311.106,311.106,.01,1,1,2)
K ^SAMI(311.106,"B",$E(X,1,30),DA)
"^DD",311.106,311.106,.01,3)
Enter the patient's study ID.
"^DD",311.106,311.106,.01,"DT")
3170915
"^DD",311.106,311.106,.02,0)
PROCEDURE DATE^RD^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.106,311.106,.02,3)
Enter the date of the PET, in any format.
"^DD",311.106,311.106,.02,"DT")
3170914
"^DD",311.106,311.106,.05,0)
RADIOLOGIST^FJ30^^0;3^K:$L(X)>30!($L(X)<5) X
"^DD",311.106,311.106,.05,3)
Answer must be 5-30 characters in length.
"^DD",311.106,311.106,.05,21,0)
^^1^1^3170914^
"^DD",311.106,311.106,.05,21,1,0)
Name of the radiologist performing the PET evaluation.
"^DD",311.106,311.106,.05,"DT")
3170914
"^DD",311.106,311.106,.06,0)
RADIOLOGIST NPI^RFJ15^^0;4^K:$L(X)>15!($L(X)<1) X
"^DD",311.106,311.106,.06,3)
Answer must be 1-15 characters in length.
"^DD",311.106,311.106,.06,21,0)
^^1^1^3170914^
"^DD",311.106,311.106,.06,21,1,0)
The NPI of the radiologist performing the PET evaluation.
"^DD",311.106,311.106,.06,"DT")
3170914
"^DD",311.106,311.106,.07,0)
PERFORMED OUTSIDE^S^n:No;y:Yes;^0;5^Q
"^DD",311.106,311.106,.07,3)
Was the PET performed outside this institution?
"^DD",311.106,311.106,.07,"DT")
3170914
"^DD",311.106,311.106,1,0)
DATE OF BASELINE CT^RD^^0;6^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.106,311.106,1,3)
Enter the date of this patient's baseline CT scan.
"^DD",311.106,311.106,1,"DT")
3170914
"^DD",311.106,311.106,1.1,0)
MOST RECENT STUDY^D^^0;7^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.106,311.106,1.1,3)
Enter the date of the most recent comparative study.
"^DD",311.106,311.106,1.1,21,0)
^^2^2^3170914^
"^DD",311.106,311.106,1.1,21,1,0)
Enter the date of the most recent comparative study for this patient (if
"^DD",311.106,311.106,1.1,21,2,0)
applicable).
"^DD",311.106,311.106,1.1,"DT")
3170914
"^DD",311.106,311.106,1.2,0)
NODULES NOTED IN CT^S^n:No;y:Yes;^0;8^Q
"^DD",311.106,311.106,1.2,3)
Are there any nodules noted in the CT scan?
"^DD",311.106,311.106,1.2,"DT")
3170914
"^DD",311.106,311.106,1.3,0)
NON-CALCIFIED LESS THAN 6 MM^S^n:No;y:Yes;^0;9^Q
"^DD",311.106,311.106,1.3,3)
Are non-calcified nodules noted, all less than 6 mm?
"^DD",311.106,311.106,1.3,"DT")
3170914
"^DD",311.106,311.106,1.4,0)
NODULE GRID^311.10611^^1;0
"^DD",311.106,311.106,1.4,21,0)
^.001^6^6^3170915^^
"^DD",311.106,311.106,1.4,21,1,0)
This is the nodule grid from the PET Evaluation form. You may enter as
"^DD",311.106,311.106,1.4,21,2,0)
many nodules as you need. Enter the Nodule Uptake values and update
"^DD",311.106,311.106,1.4,21,3,0)
the Nodule Status to reflect the results of the PET study, and update
"^DD",311.106,311.106,1.4,21,4,0)
the necessary actions for each nodule, as indicated. Enter any details
"^DD",311.106,311.106,1.4,21,5,0)
given in the PET report in the PET DETAILS field. Update the Follow-up
"^DD",311.106,311.106,1.4,21,6,0)
section.
"^DD",311.106,311.106,1.5,0)
INDEX NODULE^FJ10^^2;1^K:$L(X)>10!($L(X)<1) X
"^DD",311.106,311.106,1.5,3)
Answer must be 1-10 characters in length.
"^DD",311.106,311.106,1.5,21,0)
^^1^1^3170915^
"^DD",311.106,311.106,1.5,21,1,0)
Indicate the index nodule driving follow-up.
"^DD",311.106,311.106,1.5,"DT")
3170915
"^DD",311.106,311.106,1.6,0)
LUNGRADS CATEGORY^S^0:0;1:1;2:2;3:3;^2;2^Q
"^DD",311.106,311.106,1.6,3)
What is the LungRADS category for this patient?
"^DD",311.106,311.106,1.6,"DT")
3170915
"^DD",311.106,311.106,1.7,0)
LUNGRADS MODIFIER^S^S:S;C:C;^2;3^Q
"^DD",311.106,311.106,1.7,3)
What is the LungRADS modifier for this patient? (Enter S or C)
"^DD",311.106,311.106,1.7,"DT")
3170915
"^DD",311.106,311.106,2,0)
PET DETAILS LUNG AND NODULES^311.10613^^3;0
"^DD",311.106,311.106,3,0)
PET DETAILS LYMPH NODES^311.10614^^4;0
"^DD",311.106,311.106,4,0)
OTHER SIGNIFICANT FINDINGS^S^n:No;y:Yes;^5;1^Q
"^DD",311.106,311.106,4,3)
Are there other clinically significant ancillary findings?
"^DD",311.106,311.106,4,"DT")
3170915
"^DD",311.106,311.106,4.1,0)
ANCILLARY FINDING^311.10615S^^6;0
"^DD",311.106,311.106,4.2,0)
ANCILLARY FINDINGS COMMENTS^311.10616^^7;0
"^DD",311.106,311.106,5,0)
ANY OTHER FINDINGS^311.10617^^8;0
"^DD",311.106,311.106,6,0)
FOLLOW UP^S^rs:annual repeat CT;dx:f/u CT;af:Abx + f/u CT;pe:PET;cc:CT w contrast;fn:CT-guided biopsy;br:bronchoscopy;va:VAT;su:resection;^9;1^Q
"^DD",311.106,311.106,6,3)
What type of follow-up is indicated for the patient?
"^DD",311.106,311.106,6,"DT")
3170915
"^DD",311.106,311.106,6.1,0)
FOLLOW UP WHEN^S^nw:now;1m:1 month;3m:3 months;6m:6 months;1y:1 year;os:other;^9;2^Q
"^DD",311.106,311.106,6.1,3)
In what time frame should the patient follow up?
"^DD",311.106,311.106,6.1,21,0)
^^2^2^3170915^
"^DD",311.106,311.106,6.1,21,1,0)
In what time frame should the patient follow up? If you would prefer
"^DD",311.106,311.106,6.1,21,2,0)
to indicate a specific date, please use the next field.
"^DD",311.106,311.106,6.1,"DT")
3170915
"^DD",311.106,311.106,6.2,0)
FOLLOW UP DATE^D^^9;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.106,311.106,6.2,3)
Use this field if you would like the patient to follow up on a specific date.
"^DD",311.106,311.106,6.2,"DT")
3170915
"^DD",311.106,311.106,7,0)
IMPRESSION NODULES^S^rs:No evidence of nodules. Follow-up as recommended.;ro:Nodule(s) consistent with old granulomatous disease.;ru:Nodule(s) unchanged. Follow-up as recommended.;nf:Nodule(s) as described. Follow-up as recommended.;^9;4^Q
"^DD",311.106,311.106,7,"DT")
3170915
"^DD",311.106,311.106,7.1,0)
IMPRESSION OTHER FINDINGS^S^no:No other abnormalities;oa:Other abnormalities and suggested follow-up as described.;da:Diffuse abnormalities.;^9;5^Q
"^DD",311.106,311.106,7.1,"DT")
3170915
"^DD",311.106,311.106,7.3,0)
IMPRESSION REMARKS^311.10618^^10;0
"^DD",311.106,311.10611,0)
NODULE GRID SUB-FIELD^^1.4^6
"^DD",311.106,311.10611,0,"DT")
3170915
"^DD",311.106,311.10611,0,"IX","B",311.10611,.01)
"^DD",311.106,311.10611,0,"NM","NODULE GRID")
"^DD",311.106,311.10611,0,"UP")
311.106
"^DD",311.106,311.10611,.01,0)
NODULE ID^MFJ10^^0;1^K:$L(X)>10!($L(X)<5) X
"^DD",311.106,311.10611,.01,.1)
Nodule ID
"^DD",311.106,311.10611,.01,1,0)
^.1
"^DD",311.106,311.10611,.01,1,1,0)
311.10611^B
"^DD",311.106,311.10611,.01,1,1,1)
S ^SAMI(311.106,DA(1),1,"B",$E(X,1,30),DA)=""
"^DD",311.106,311.10611,.01,1,1,2)
K ^SAMI(311.106,DA(1),1,"B",$E(X,1,30),DA)
"^DD",311.106,311.10611,.01,3)
Answer must be 5-10 characters in length.
"^DD",311.106,311.10611,.01,21,0)
^^1^1^3170915^
"^DD",311.106,311.10611,.01,21,1,0)
For example: Nodule 1, Nodule 2, etc.
"^DD",311.106,311.10611,.01,"DT")
3170915
"^DD",311.106,311.10611,1,0)
NEW^P311.10612'^SAMI(311.10612,^0;2^Q
"^DD",311.106,311.10611,1,.1)
Is it new?
"^DD",311.106,311.10611,1,3)
Is the nodule new?
"^DD",311.106,311.10611,1,21,0)
^.001^1^1^3170915^^^^
"^DD",311.106,311.10611,1,21,1,0)
"^DD",311.106,311.10611,1,"DT")
3170915
"^DD",311.106,311.10611,1.1,0)
LIKELY LOCATION^S^end:Endobr;lul:LUL;lll:LLL;rul:RUL;rml:RML;rll:RLL;^0;3^Q
"^DD",311.106,311.10611,1.1,3)
What is the most likely location of the current nodule?
"^DD",311.106,311.10611,1.1,"DT")
3170915
"^DD",311.106,311.10611,1.2,0)
MAXIMUM UPTAKE^NJ6,4^^0;4^K:+X'=X!(X>9)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.106,311.10611,1.2,3)
Type a number between 0 and 9, 4 decimal digits.
"^DD",311.106,311.10611,1.2,21,0)
^^1^1^3170915^
"^DD",311.106,311.10611,1.2,21,1,0)
What is the maxiumum nodule uptake (SUV) for the current nodule?
"^DD",311.106,311.10611,1.2,"DT")
3170915
"^DD",311.106,311.10611,1.3,0)
NODULE STATUS^P311.10316'^SAMI(311.10316,^0;5^Q
"^DD",311.106,311.10611,1.3,3)
What is the status of the current nodule?
"^DD",311.106,311.10611,1.3,"DT")
3170915
"^DD",311.106,311.10611,1.4,0)
PATHOLOGIC DIAGNOSIS^P311.10317'^SAMI(311.10317,^0;6^Q
"^DD",311.106,311.10611,1.4,3)
What is the pathologic diagnosis for the current nodule?
"^DD",311.106,311.10611,1.4,"DT")
3170915
"^DD",311.106,311.10613,0)
PET DETAILS LUNG AND NODULES SUB-FIELD^^.01^1
"^DD",311.106,311.10613,0,"DT")
3170915
"^DD",311.106,311.10613,0,"NM","PET DETAILS LUNG AND NODULES")
"^DD",311.106,311.10613,0,"UP")
311.106
"^DD",311.106,311.10613,.01,0)
PET DETAILS LUNG AND NODULES^Wx^^0;1^Q
"^DD",311.106,311.10613,.01,"DT")
3170915
"^DD",311.106,311.10614,0)
PET DETAILS LYMPH NODES SUB-FIELD^^.01^1
"^DD",311.106,311.10614,0,"DT")
3170915
"^DD",311.106,311.10614,0,"NM","PET DETAILS LYMPH NODES")
"^DD",311.106,311.10614,0,"UP")
311.106
"^DD",311.106,311.10614,.01,0)
PET DETAILS LYMPH NODES^Wx^^0;1^Q
"^DD",311.106,311.10614,.01,"DT")
3170915
"^DD",311.106,311.10615,0)
ANCILLARY FINDING SUB-FIELD^^.02^2
"^DD",311.106,311.10615,0,"DT")
3170915
"^DD",311.106,311.10615,0,"IX","B",311.10615,.01)
"^DD",311.106,311.10615,0,"NM","ANCILLARY FINDING")
"^DD",311.106,311.10615,0,"UP")
311.106
"^DD",311.106,311.10615,.01,0)
ANCILLARY FINDING LOCATION^MS^b:breast;a:abdomen;h:head;n:neck;^0;1^Q
"^DD",311.106,311.10615,.01,.1)
Ancillary finding location
"^DD",311.106,311.10615,.01,1,0)
^.1
"^DD",311.106,311.10615,.01,1,1,0)
311.10615^B
"^DD",311.106,311.10615,.01,1,1,1)
S ^SAMI(311.106,DA(1),6,"B",$E(X,1,30),DA)=""
"^DD",311.106,311.10615,.01,1,1,2)
K ^SAMI(311.106,DA(1),6,"B",$E(X,1,30),DA)
"^DD",311.106,311.10615,.01,3)
What is the location of the current ancillary finding?
"^DD",311.106,311.10615,.01,"DT")
3170915
"^DD",311.106,311.10615,.02,0)
DESCRIPTION^FJ50^^0;2^K:$L(X)>50!($L(X)<5) X
"^DD",311.106,311.10615,.02,3)
Answer must be 5-50 characters in length.
"^DD",311.106,311.10615,.02,21,0)
^^2^2^3170915^
"^DD",311.106,311.10615,.02,21,1,0)
Describe the current ancillary finding. If more description is needed,
"^DD",311.106,311.10615,.02,21,2,0)
please use the ANCILLARY FINDINGS COMMENTS field.
"^DD",311.106,311.10615,.02,"DT")
3170915
"^DD",311.106,311.10616,0)
ANCILLARY FINDINGS COMMENTS SUB-FIELD^^.01^1
"^DD",311.106,311.10616,0,"DT")
3170915
"^DD",311.106,311.10616,0,"NM","ANCILLARY FINDINGS COMMENTS")
"^DD",311.106,311.10616,0,"UP")
311.106
"^DD",311.106,311.10616,.01,0)
ANCILLARY FINDINGS COMMENTS^Wx^^0;1^Q
"^DD",311.106,311.10616,.01,"DT")
3170915
"^DD",311.106,311.10617,0)
ANY OTHER FINDINGS SUB-FIELD^^.01^1
"^DD",311.106,311.10617,0,"DT")
3170915
"^DD",311.106,311.10617,0,"NM","ANY OTHER FINDINGS")
"^DD",311.106,311.10617,0,"UP")
311.106
"^DD",311.106,311.10617,.01,0)
ANY OTHER FINDINGS^Wx^^0;1^Q
"^DD",311.106,311.10617,.01,3)
Please describe any other findings not included above.
"^DD",311.106,311.10617,.01,21,0)
^^2^2^3170915^
"^DD",311.106,311.10617,.01,21,1,0)
Please describe any other findings not included in the "ancillary
"^DD",311.106,311.10617,.01,21,2,0)
findings" fields above.
"^DD",311.106,311.10617,.01,"DT")
3170915
"^DD",311.106,311.10618,0)
IMPRESSION REMARKS SUB-FIELD^^.01^1
"^DD",311.106,311.10618,0,"DT")
3170915
"^DD",311.106,311.10618,0,"NM","IMPRESSION REMARKS")
"^DD",311.106,311.10618,0,"UP")
311.106
"^DD",311.106,311.10618,.01,0)
IMPRESSION REMARKS^Wx^^0;1^Q
"^DD",311.106,311.10618,.01,"DT")
3170915
"^DD",311.10612,311.10612,0)
FIELD^^.02^2
"^DD",311.10612,311.10612,0,"DT")
3170915
"^DD",311.10612,311.10612,0,"IX","B",311.10612,.01)
"^DD",311.10612,311.10612,0,"NM","SAMI NODULE NEW")
"^DD",311.10612,311.10612,0,"PT",311.10611,1)
"^DD",311.10612,311.10612,.01,0)
DEFINITION^RFJ30^^0;1^K:$L(X)>30!($L(X)<3) X
"^DD",311.10612,311.10612,.01,.1)
Definition
"^DD",311.10612,311.10612,.01,1,0)
^.1
"^DD",311.10612,311.10612,.01,1,1,0)
311.10612^B
"^DD",311.10612,311.10612,.01,1,1,1)
S ^SAMI(311.10612,"B",$E(X,1,30),DA)=""
"^DD",311.10612,311.10612,.01,1,1,2)
K ^SAMI(311.10612,"B",$E(X,1,30),DA)
"^DD",311.10612,311.10612,.01,3)
Answer must be 3-30 characters in length.
"^DD",311.10612,311.10612,.01,"DT")
3170915
"^DD",311.10612,311.10612,.02,0)
CODE^FJ5^^0;2^K:$L(X)>5!($L(X)<1) X
"^DD",311.10612,311.10612,.02,3)
Answer must be 1-5 characters in length.
"^DD",311.10612,311.10612,.02,"DT")
3170915
"^DD",311.107,311.107,0)
FIELD^^10.1^71
"^DD",311.107,311.107,0,"DT")
3170919
"^DD",311.107,311.107,0,"IX","B",311.107,.01)
"^DD",311.107,311.107,0,"NM","SAMI INTERVENTION")
"^DD",311.107,311.107,.01,0)
STUDY ID^RP311.101'^SAMI(311.101,^0;1^Q
"^DD",311.107,311.107,.01,.1)
Study ID
"^DD",311.107,311.107,.01,1,0)
^.1
"^DD",311.107,311.107,.01,1,1,0)
311.107^B
"^DD",311.107,311.107,.01,1,1,1)
S ^SAMI(311.107,"B",$E(X,1,30),DA)=""
"^DD",311.107,311.107,.01,1,1,2)
K ^SAMI(311.107,"B",$E(X,1,30),DA)
"^DD",311.107,311.107,.01,3)
Please enter the patient's study ID.
"^DD",311.107,311.107,.01,"DT")
3170915
"^DD",311.107,311.107,1,0)
MOST RECENT PROCEDURE^RD^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,1,3)
What is the date of the patient's most recent procedure?
"^DD",311.107,311.107,1,"DT")
3170915
"^DD",311.107,311.107,1.1,0)
RESECTION PERFORMED^S^n:No;y:Yes;r:Refused;a:Aborted due to positive mediastinoscopy or other reasons;q:? (Unknown);^0;3^Q
"^DD",311.107,311.107,1.1,3)
Was a resection performed?
"^DD",311.107,311.107,1.1,"DT")
3170915
"^DD",311.107,311.107,1.2,0)
NO OR REFUSE DATE^D^^0;4^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,1.2,.1)
If no or refused, provide a date
"^DD",311.107,311.107,1.2,3)
If no or refused, give the date.
"^DD",311.107,311.107,1.2,21,0)
^.001^1^1^3170915^^
"^DD",311.107,311.107,1.2,21,1,0)
If no resection was performed, or if the patient refused, enter the date.
"^DD",311.107,311.107,1.2,"DT")
3170915
"^DD",311.107,311.107,1.3,0)
NO OR REFUSED REASON^FJ40^^0;5^K:$L(X)>40!($L(X)<5) X
"^DD",311.107,311.107,1.3,3)
Answer must be 5-40 characters in length.
"^DD",311.107,311.107,1.3,21,0)
^^2^2^3170915^
"^DD",311.107,311.107,1.3,21,1,0)
If no resection was performed, or if the patient refused, please provide
"^DD",311.107,311.107,1.3,21,2,0)
the reason.
"^DD",311.107,311.107,1.3,"DT")
3170915
"^DD",311.107,311.107,1.4,0)
WHERE PERFORMED^FJ30^^0;6^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,1.4,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,1.4,21,0)
^^1^1^3170915^
"^DD",311.107,311.107,1.4,21,1,0)
If a resection was performed, where was the procedure done?
"^DD",311.107,311.107,1.4,"DT")
3170915
"^DD",311.107,311.107,1.5,0)
DATE PERFORMED^D^^0;7^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,1.5,3)
On what date was the procedure performed?
"^DD",311.107,311.107,1.5,"DT")
3170915
"^DD",311.107,311.107,1.6,0)
PROCEDURE LOCATION^FJ30^^0;8^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,1.6,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,1.6,21,0)
^^1^1^3170915^
"^DD",311.107,311.107,1.6,21,1,0)
What was the location of the procedure?
"^DD",311.107,311.107,1.6,"DT")
3170915
"^DD",311.107,311.107,1.7,0)
INDICATION FOR TREATMENT^S^f:First lung cancer;r:Recurrence;n:New primary lung cancer;o:Other;^0;9^Q
"^DD",311.107,311.107,1.7,3)
What was the indication for treatment?
"^DD",311.107,311.107,1.7,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,1.7,21,1,0)
What was the indication for treatment? If you select "other," please
"^DD",311.107,311.107,1.7,21,2,0)
use the next field to specify.
"^DD",311.107,311.107,1.7,"DT")
3170918
"^DD",311.107,311.107,1.8,0)
RESECTION COMMENTS^FJ200^^1;1^K:$L(X)>200!($L(X)<5) X
"^DD",311.107,311.107,1.8,3)
Answer must be 5-200 characters in length.
"^DD",311.107,311.107,1.8,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,1.8,21,1,0)
If you chose "other" as an indication for treatment, please specify the
"^DD",311.107,311.107,1.8,21,2,0)
indication here. You may also use this field for general comments.
"^DD",311.107,311.107,1.8,"DT")
3170918
"^DD",311.107,311.107,2,0)
LESION SITE^P311.10511'^SAMI(311.10511,^1;2^Q
"^DD",311.107,311.107,2,3)
What is the site of the lesion?
"^DD",311.107,311.107,2,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,2,21,1,0)
What is the site of the lesion? If a new lesion is identified and new
"^DD",311.107,311.107,2,21,2,0)
treatments are performed, please use a new form.
"^DD",311.107,311.107,2,"DT")
3170918
"^DD",311.107,311.107,2.1,0)
EXTENT OF SURGERY^S^w:wedge resection;s:segmentectomy;l:lobectomy;b:bilobectomy;p:pneumonectomy;o:other;^1;3^Q
"^DD",311.107,311.107,2.1,.1)
Extent of surgery
"^DD",311.107,311.107,2.1,3)
What was the extent of the surgery performed?
"^DD",311.107,311.107,2.1,21,0)
^.001^2^2^3170918^^
"^DD",311.107,311.107,2.1,21,1,0)
What was the extent of the surgery performed? If you choose "other,"
"^DD",311.107,311.107,2.1,21,2,0)
please use the next field to specify.
"^DD",311.107,311.107,2.1,"DT")
3170918
"^DD",311.107,311.107,2.2,0)
EXTENT OTHER SPECIFY^FJ30^^1;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,2.2,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,2.2,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,2.2,21,1,0)
If you chose "other" in the previous field, please use this field to
"^DD",311.107,311.107,2.2,21,2,0)
specify the extent of surgery.
"^DD",311.107,311.107,2.2,"DT")
3170918
"^DD",311.107,311.107,2.3,0)
ADDITIONAL SURGERY^S^n:No;y:Yes;^1;5^Q
"^DD",311.107,311.107,2.3,.1)
Additinal surgery for same lesion?
"^DD",311.107,311.107,2.3,3)
Additional surgery for the same lesion?
"^DD",311.107,311.107,2.3,"DT")
3170918
"^DD",311.107,311.107,2.4,0)
ADDITIONAL SURGERY DATE^D^^2;1^S %DT="E" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,2.4,.1)
Additional surgery date
"^DD",311.107,311.107,2.4,"DT")
3170918
"^DD",311.107,311.107,2.5,0)
COMMENTS^FJ200^^2;2^K:$L(X)>200!($L(X)<5) X
"^DD",311.107,311.107,2.5,3)
Answer must be 5-200 characters in length.
"^DD",311.107,311.107,2.5,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,2.5,21,1,0)
Additional comments regarding the resection procedure.
"^DD",311.107,311.107,2.5,"DT")
3170918
"^DD",311.107,311.107,3,0)
DISCHARGE DATE^D^^2;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,3,3)
On what date was the patient discharged?
"^DD",311.107,311.107,3,"DT")
3170918
"^DD",311.107,311.107,3.1,0)
SURGERY COMPLICATIONS^S^n:No;y:Yes;^2;4^Q
"^DD",311.107,311.107,3.1,3)
Were there complications during surgery?
"^DD",311.107,311.107,3.1,"DT")
3170918
"^DD",311.107,311.107,3.2,0)
SURGERY COMPLICATIONS SPECIFY^FJ30^^3;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,3.2,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,3.2,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,3.2,21,1,0)
If there were complications during surgery, please specify them here.
"^DD",311.107,311.107,3.2,"DT")
3170918
"^DD",311.107,311.107,3.3,0)
HOSPITAL COMPLICATIONS^S^n:No;y:Yes;^3;2^Q
"^DD",311.107,311.107,3.3,3)
Were there complications during the patient's hospital stay?
"^DD",311.107,311.107,3.3,"DT")
3170918
"^DD",311.107,311.107,3.4,0)
HOSPITAL COMPLICATIONS DAYS^NJ2,0^^3;3^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
"^DD",311.107,311.107,3.4,3)
Type a number between 1 and 99, 0 decimal digits.
"^DD",311.107,311.107,3.4,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,3.4,21,1,0)
If there were complications during the patient's hospital stay, how long
"^DD",311.107,311.107,3.4,21,2,0)
was the stay, in days?
"^DD",311.107,311.107,3.4,"DT")
3170918
"^DD",311.107,311.107,3.5,0)
HOSPITAL COMPLICATIONS SPECIFY^FJ30^^3;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,3.5,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,3.5,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,3.5,21,1,0)
If there were complications during the patient's hopsital stay, please
"^DD",311.107,311.107,3.5,21,2,0)
specify them here.
"^DD",311.107,311.107,3.5,"DT")
3170918
"^DD",311.107,311.107,4,0)
TISSUE DIAGNOSIS^S^b:benign;i:invasive lung cancer;mi:minimally invasive lung cancer;mnlc:non-lung cancer;mais:adenocarcinoma in situ;paah:atypical adenomatous hyperplasia;nd:non-diagnostic;^3;5^Q
"^DD",311.107,311.107,4,"DT")
3170918
"^DD",311.107,311.107,4.1,0)
HISTOLOGY^S^nsclc:non-small cell lung cancer;h:high grade neuroendocrine tumor (small cell lung cancer);l:low grade neuroendocrine tumor (carcinoid);i:intermediate grade neuroendocrine tumor (atypical carcinoid);^3;6^Q
"^DD",311.107,311.107,4.1,"DT")
3170918
"^DD",311.107,311.107,4.2,0)
NON SMALL CELL TYPE^S^ia:invasive adenocarcinoma;scc:squamous cell carcinoma;acc:adenosquamous cell carcinoma;updc:undifferentiated or poorly differentiated carcinoma;lcc:lage cell carcinoma;o:other;^3;7^Q
"^DD",311.107,311.107,4.2,.1)
Non-small cell lung cancer type
"^DD",311.107,311.107,4.2,"DT")
3170918
"^DD",311.107,311.107,4.3,0)
NON SMALL CELL OTHER SPECIFY^FJ30^^3;8^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,4.3,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,4.3,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,4.3,21,1,0)
If you chose "other" as the type of non-small cell lung cancer, please
"^DD",311.107,311.107,4.3,21,2,0)
specify the type here.
"^DD",311.107,311.107,4.3,"DT")
3170918
"^DD",311.107,311.107,5,0)
PATHOLOGY TUMOR LENGTH^NJ7,4^^3;9^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.107,311.107,5,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.107,311.107,5,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,5,21,1,0)
The tumor length, in millimeters.
"^DD",311.107,311.107,5,"DT")
3170918
"^DD",311.107,311.107,5.1,0)
PATHOLOGY TUMOR WIDTH^NJ7,4^^3;10^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.107,311.107,5.1,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.107,311.107,5.1,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,5.1,21,1,0)
Width of the tumor, in millimeters.
"^DD",311.107,311.107,5.1,"DT")
3170918
"^DD",311.107,311.107,5.2,0)
PATHOLOGY TUMOR HEIGHT^NJ7,4^^3;11^K:+X'=X!(X>99)!(X<0)!(X?.E1"."5N.N) X
"^DD",311.107,311.107,5.2,3)
Type a number between 0 and 99, 4 decimal digits.
"^DD",311.107,311.107,5.2,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,5.2,21,1,0)
The height of the tumor, in millimeters.
"^DD",311.107,311.107,5.2,"DT")
3170918
"^DD",311.107,311.107,5.3,0)
TUMOR SIZE NOT APPLICABLE^FJ30^^3;12^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,5.3,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,5.3,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,5.3,21,1,0)
If pathology tumor size is not applicable, please specify here.
"^DD",311.107,311.107,5.3,"DT")
3170918
"^DD",311.107,311.107,5.4,0)
INVASION OF OTHER STRUCTURES^S^n:No;y:Yes;^3;13^Q
"^DD",311.107,311.107,5.4,"DT")
3170918
"^DD",311.107,311.107,5.5,0)
INVASION LOCATION^S^v:Major vascular;p:Pleura;m:Mediastinum;c:Chest wall;o:other;^3;14^Q
"^DD",311.107,311.107,5.5,"DT")
3170918
"^DD",311.107,311.107,5.6,0)
LOCATION OTHER SPECIFY^FJ30^^3;15^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,5.6,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,5.6,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,5.6,21,1,0)
If you chose "other" as the location of the invasion, please specify the
"^DD",311.107,311.107,5.6,21,2,0)
location here.
"^DD",311.107,311.107,5.6,"DT")
3170918
"^DD",311.107,311.107,6,0)
EVIDENCE OF METASTASIS^S^n:No;y:Yes;^3;16^Q
"^DD",311.107,311.107,6,"DT")
3170918
"^DD",311.107,311.107,6.1,0)
EVIDENCE SPECIFY^FJ30^^3;17^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,6.1,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,6.1,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,6.1,21,1,0)
If there is evidence of metastasis, please specify it here.
"^DD",311.107,311.107,6.1,"DT")
3170918
"^DD",311.107,311.107,6.2,0)
PRE SURGICAL TNM (T)^S^0:T0;is:Tis;1a:T1a;1b:T1b;2a:T2a;2b:T2b;3:T3;4:T4;x:TX;^3;18^Q
"^DD",311.107,311.107,6.2,.1)
Pre-surgical TNM status (T)
"^DD",311.107,311.107,6.2,3)
Pre-surgical TNM status (T).
"^DD",311.107,311.107,6.2,"DT")
3170918
"^DD",311.107,311.107,6.21,0)
PRE SURGICAL TNM (N)^S^0:N0;1:N1;2:N2;3:N3;X:NX;^3;19^Q
"^DD",311.107,311.107,6.21,3)
Pre-surgical TNM status (N).
"^DD",311.107,311.107,6.21,"DT")
3170918
"^DD",311.107,311.107,6.22,0)
PRE SURGICAL TNM (M)^S^0:M0;1a:M1a;1b:M1b;x:MX;^3;20^Q
"^DD",311.107,311.107,6.22,3)
Pre-surgical TNM status (M).
"^DD",311.107,311.107,6.22,"DT")
3170918
"^DD",311.107,311.107,6.23,0)
PRE SURGICAL TNM N/A^S^n:No;y:Yes;^4;1^Q
"^DD",311.107,311.107,6.23,.1)
Pre-surgical TNM not applicable
"^DD",311.107,311.107,6.23,3)
Enter y if pre-surgical TNM status is not applicable.
"^DD",311.107,311.107,6.23,21,0)
^.001^2^2^3170918^^
"^DD",311.107,311.107,6.23,21,1,0)
Enter y if pre-surgical TNM status is not applicable. If yes, please
"^DD",311.107,311.107,6.23,21,2,0)
use the next field to specify the reason.
"^DD",311.107,311.107,6.23,"DT")
3170918
"^DD",311.107,311.107,6.24,0)
PRE SURGICAL N/A SPECIFY^FJ30^^4;2^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,6.24,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,6.24,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,6.24,21,1,0)
If pre-surgical TNM status is not applicable, please specify here.
"^DD",311.107,311.107,6.24,"DT")
3170918
"^DD",311.107,311.107,6.3,0)
POST SURGICAL TNM (T)^S^0:T0;is:Tis;1a:T1a;1b:T1b;2a:T2a;2b:T2b;3:T3;4:T4;x:TX;^4;3^Q
"^DD",311.107,311.107,6.3,.1)
Post-surgical TNM status (T)
"^DD",311.107,311.107,6.3,3)
Post-surgical TNM status (T).
"^DD",311.107,311.107,6.3,"DT")
3170918
"^DD",311.107,311.107,6.31,0)
POST SURGICAL TNM (N)^S^0:N0;1:N1;2:N2;3:N3;X:NX;^4;4^Q
"^DD",311.107,311.107,6.31,3)
Post-surgical TNM status (N)
"^DD",311.107,311.107,6.31,"DT")
3170918
"^DD",311.107,311.107,6.32,0)
POST SURGICAL TNM (M)^S^0:M0;1a:M1a;1b:M1b;X:MX;^4;5^Q
"^DD",311.107,311.107,6.32,3)
Post-surgical TNM status (M).
"^DD",311.107,311.107,6.32,"DT")
3170918
"^DD",311.107,311.107,6.33,0)
POST SURGICAL TNM N/A^S^n:No;y:Yes;^4;6^Q
"^DD",311.107,311.107,6.33,3)
Enter y if post surgical TNM status is not applicable.
"^DD",311.107,311.107,6.33,21,0)
^^2^2^3170918^
"^DD",311.107,311.107,6.33,21,1,0)
Enter y if post-surgical TNM status is not applicable. Please use the
"^DD",311.107,311.107,6.33,21,2,0)
next field to specify the reason.
"^DD",311.107,311.107,6.33,"DT")
3170918
"^DD",311.107,311.107,6.34,0)
POST SURGICAL N/A SPECIFY^FJ30^^4;7^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,6.34,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,6.34,21,0)
^^1^1^3170918^
"^DD",311.107,311.107,6.34,21,1,0)
If post-surgical TNM status is not applicable, please specify here.
"^DD",311.107,311.107,6.34,"DT")
3170918
"^DD",311.107,311.107,6.4,0)
OTHER FINDINGS / COMMENTS^FJ200^^5;1^K:$L(X)>200!($L(X)<5) X
"^DD",311.107,311.107,6.4,3)
Answer must be 5-200 characters in length.
"^DD",311.107,311.107,6.4,"DT")
3170918
"^DD",311.107,311.107,7,0)
RADIOTHERAPY^S^n:No;y:Yes;q:? (question);r:Refused;^5;2^Q
"^DD",311.107,311.107,7,3)
Was radiotherapy performed?
"^DD",311.107,311.107,7,"DT")
3170918
"^DD",311.107,311.107,7.1,0)
RADIOTHERAPY REFUSAL DATE^D^^5;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,7.1,3)
If radiotherapy was refused, enter the date of refusal.
"^DD",311.107,311.107,7.1,"DT")
3170919
"^DD",311.107,311.107,7.2,0)
RADIOTHERAPY REFUSAL REASON^FJ30^^5;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,7.2,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,7.2,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,7.2,21,1,0)
If radiotherapy was refused, enter the reason for the refusal.
"^DD",311.107,311.107,7.2,"DT")
3170919
"^DD",311.107,311.107,7.3,0)
RADIOTHERAPY START DATE^D^^6;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,7.3,3)
When did the patient begin radiotherapy?
"^DD",311.107,311.107,7.3,"DT")
3170919
"^DD",311.107,311.107,7.4,0)
RADIOTHERAPY WHERE^FJ30^^6;2^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,7.4,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,7.4,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,7.4,21,1,0)
Where was the radiotherapy performed?
"^DD",311.107,311.107,7.4,"DT")
3170919
"^DD",311.107,311.107,7.5,0)
RADIOTHERAPY LOCATION^FJ30^^6;3^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,7.5,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,7.5,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,7.5,21,1,0)
What was the location of the radiotherapy for this patient?
"^DD",311.107,311.107,7.5,"DT")
3170919
"^DD",311.107,311.107,7.6,0)
RADIOTHERAPY TYPE^FJ20^^6;4^K:$L(X)>20!($L(X)<1) X
"^DD",311.107,311.107,7.6,3)
Answer must be 1-20 characters in length.
"^DD",311.107,311.107,7.6,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,7.6,21,1,0)
What type of radiotherapy did this patient receive?
"^DD",311.107,311.107,7.6,"DT")
3170919
"^DD",311.107,311.107,7.7,0)
RADIOTHERAPY INDICATION^S^f:First lung cancer;r:Recurrence;n:New primary lung cancer;o:other;^6;5^Q
"^DD",311.107,311.107,7.7,.1)
Radiotherapy: Indication for treatment
"^DD",311.107,311.107,7.7,3)
What was the indication for radiotherapy treatment?
"^DD",311.107,311.107,7.7,21,0)
^^2^2^3170919^
"^DD",311.107,311.107,7.7,21,1,0)
Enter the indication for radiotherapy treatment. If you choose "other,"
"^DD",311.107,311.107,7.7,21,2,0)
please use the next field to specify the indication.
"^DD",311.107,311.107,7.7,"DT")
3170919
"^DD",311.107,311.107,7.8,0)
RADIOTHERAPY COMMENTS^FJ200^^7;1^K:$L(X)>200!($L(X)<5) X
"^DD",311.107,311.107,7.8,3)
Answer must be 5-200 characters in length.
"^DD",311.107,311.107,7.8,21,0)
^^3^3^3170919^
"^DD",311.107,311.107,7.8,21,1,0)
If you chose "other" as the indication for radiotherapy treatment, please
"^DD",311.107,311.107,7.8,21,2,0)
specify the indication here. You may also use this field for general
"^DD",311.107,311.107,7.8,21,3,0)
comments.
"^DD",311.107,311.107,7.8,"DT")
3170919
"^DD",311.107,311.107,8,0)
RADIOTHERAPY LESION SITE^P311.10511'^SAMI(311.10511,^7;2^Q
"^DD",311.107,311.107,8,.1)
Radiotherapy: Lesion site
"^DD",311.107,311.107,8,21,0)
^^2^2^3170919^
"^DD",311.107,311.107,8,21,1,0)
Select the site of the lesion for radiotherapy. If you select "other,"
"^DD",311.107,311.107,8,21,2,0)
please use the next field to specify the site.
"^DD",311.107,311.107,8,"DT")
3170919
"^DD",311.107,311.107,8.1,0)
RADIO LESION SITE OTHER^FJ30^^7;3^K:$L(X)>30!($L(X)<3) X
"^DD",311.107,311.107,8.1,3)
Answer must be 3-30 characters in length.
"^DD",311.107,311.107,8.1,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,8.1,21,1,0)
If you chose "other" as the lesion site, please specify the site here.
"^DD",311.107,311.107,8.1,"DT")
3170919
"^DD",311.107,311.107,8.2,0)
RADIOTHERAPY COMPLICATIONS^S^n:No;y:Yes;^7;4^Q
"^DD",311.107,311.107,8.2,3)
Were there complications during radiotherapy?
"^DD",311.107,311.107,8.2,21,0)
^^2^2^3170919^
"^DD",311.107,311.107,8.2,21,1,0)
Were there complications during radiotherapy? If yes, please use the
"^DD",311.107,311.107,8.2,21,2,0)
next field to specify the complications encountered.
"^DD",311.107,311.107,8.2,"DT")
3170919
"^DD",311.107,311.107,8.3,0)
RADIO COMPLICATIONS SPECIFY^FJ50^^8;1^K:$L(X)>50!($L(X)<5) X
"^DD",311.107,311.107,8.3,3)
Answer must be 5-50 characters in length.
"^DD",311.107,311.107,8.3,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,8.3,21,1,0)
If there were complications during radiotherapy, please specify them here.
"^DD",311.107,311.107,8.3,"DT")
3170919
"^DD",311.107,311.107,9,0)
CHEMOTHERAPY^S^n:No;y:Yes;q:? (question);r:Refused;^8;2^Q
"^DD",311.107,311.107,9,3)
Was chemotherapy performed?
"^DD",311.107,311.107,9,"DT")
3170919
"^DD",311.107,311.107,9.1,0)
CHEMO REFUSAL DATE^D^^8;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,9.1,3)
If chemotherapy was refused, enter the date of the refusal.
"^DD",311.107,311.107,9.1,"DT")
3170919
"^DD",311.107,311.107,9.2,0)
CHEMO REFUSAL REASON^FJ30^^8;4^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,9.2,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,9.2,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,9.2,21,1,0)
If chemotherapy was refused, enter the reason for the refusal.
"^DD",311.107,311.107,9.2,"DT")
3170919
"^DD",311.107,311.107,9.3,0)
CHEMO START DATE^D^^8;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",311.107,311.107,9.3,3)
If chemotherapy was performed, enter the start date.
"^DD",311.107,311.107,9.3,"DT")
3170919
"^DD",311.107,311.107,9.4,0)
CHEMO WHERE^FJ30^^8;6^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,9.4,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,9.4,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,9.4,21,1,0)
Where was chemotherapy performed?
"^DD",311.107,311.107,9.4,"DT")
3170919
"^DD",311.107,311.107,9.5,0)
CHEMO REGIMEN^FJ30^^8;7^K:$L(X)>30!($L(X)<1) X
"^DD",311.107,311.107,9.5,3)
Answer must be 1-30 characters in length.
"^DD",311.107,311.107,9.5,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,9.5,21,1,0)
What chemotherapy regimen was used?
"^DD",311.107,311.107,9.5,"DT")
3170919
"^DD",311.107,311.107,9.6,0)
CHEMO INDICATION^S^f:First lung cancer;r:Recurrence;n:New primary lung cancer;o:other;^8;8^Q
"^DD",311.107,311.107,9.6,.1)
Indication for Chemotherapy Treatment
"^DD",311.107,311.107,9.6,3)
Please enter the indication for chemotherapy treatment.
"^DD",311.107,311.107,9.6,21,0)
^.001^2^2^3170919^^
"^DD",311.107,311.107,9.6,21,1,0)
Please enter the indication for chemotherapy treatment. If you choose
"^DD",311.107,311.107,9.6,21,2,0)
"other," please use the next field to specify the indication.
"^DD",311.107,311.107,9.6,"DT")
3170919
"^DD",311.107,311.107,9.7,0)
CHEMO SPECIFY / COMMENTS^FJ200^^9;1^K:$L(X)>200!($L(X)<5) X
"^DD",311.107,311.107,9.7,3)
Answer must be 5-200 characters in length.
"^DD",311.107,311.107,9.7,21,0)
^^3^3^3170919^
"^DD",311.107,311.107,9.7,21,1,0)
If you chose "other" as the indication for chemotherapy treatment, please
"^DD",311.107,311.107,9.7,21,2,0)
specify the indication here. You may also use this field for general
"^DD",311.107,311.107,9.7,21,3,0)
comments.
"^DD",311.107,311.107,9.7,"DT")
3170919
"^DD",311.107,311.107,9.8,0)
CHEMO LESION SITE^P311.10511'^SAMI(311.10511,^9;2^Q
"^DD",311.107,311.107,9.8,3)
Enter the site of the lesion.
"^DD",311.107,311.107,9.8,21,0)
^^2^2^3170919^
"^DD",311.107,311.107,9.8,21,1,0)
Enter the site of the lesion. If you choose "other," please use the next
"^DD",311.107,311.107,9.8,21,2,0)
field to specify.
"^DD",311.107,311.107,9.8,"DT")
3170919
"^DD",311.107,311.107,9.9,0)
CHEMO LESION OTHER SPECIFY^FJ30^^9;3^K:$L(X)>30!($L(X)<3) X
"^DD",311.107,311.107,9.9,3)
Answer must be 3-30 characters in length.
"^DD",311.107,311.107,9.9,21,0)
^^2^2^3170919^
"^DD",311.107,311.107,9.9,21,1,0)
If you chose "other" as the lesion site for chemotherapy, please specify
"^DD",311.107,311.107,9.9,21,2,0)
the site here.
"^DD",311.107,311.107,9.9,"DT")
3170919
"^DD",311.107,311.107,10,0)
CHEMO COMPLICATIONS^S^n:No;y:Yes;^9;4^Q
"^DD",311.107,311.107,10,3)
Were there complications during chemotherapy?
"^DD",311.107,311.107,10,21,0)
^^2^2^3170919^
"^DD",311.107,311.107,10,21,1,0)
Were there complications during chemotherapy? If yes, please use the next
"^DD",311.107,311.107,10,21,2,0)
field to specify.
"^DD",311.107,311.107,10,"DT")
3170919
"^DD",311.107,311.107,10.1,0)
CHEMO COMPLICATIONS SPECIFY^FJ30^^10;1^K:$L(X)>30!($L(X)<5) X
"^DD",311.107,311.107,10.1,3)
Answer must be 5-30 characters in length.
"^DD",311.107,311.107,10.1,21,0)
^^1^1^3170919^
"^DD",311.107,311.107,10.1,21,1,0)
If there were complications during chemotherapy, please specify them here.
"^DD",311.107,311.107,10.1,"DT")
3170919
"^DIC",311,311,0)
SAMI CASE REVIEW^311
"^DIC",311,311,0,"GL")
^SAMI(311,
"^DIC",311,311,"%",0)
^1.005^1^1
"^DIC",311,311,"%",1,0)
SAMI
"^DIC",311,311,"%","B","SAMI",1)
"^DIC",311,"B","SAMI CASE REVIEW",311)
"^DIC",311.1,311.1,0)
SAMI FORM^311.1
"^DIC",311.1,311.1,0,"GL")
^SAMI(311.1,
"^DIC",311.1,311.1,"%",0)
^1.005^1^1
"^DIC",311.1,311.1,"%",1,0)
SAMI
"^DIC",311.1,311.1,"%","B","SAMI",1)
"^DIC",311.1,"B","SAMI FORM",311.1)
"^DIC",311.101,311.101,0)
SAMI INTAKE^311.101
"^DIC",311.101,311.101,0,"GL")
^SAMI(311.101,
"^DIC",311.101,311.101,"%",0)
^1.005^1^1
"^DIC",311.101,311.101,"%",1,0)
SAMI
"^DIC",311.101,311.101,"%","B","SAMI",1)
"^DIC",311.101,311.101,"%D",0)
^1.001^62^62^3170915^^
"^DIC",311.101,311.101,"%D",1,0)
This file records SAMI Intake Form fields. The purpose of this form is to
"^DIC",311.101,311.101,"%D",2,0)
record the demographic and contact information needed to register
"^DIC",311.101,311.101,"%D",3,0)
participants in the International Early Lung Cancer Action Program
"^DIC",311.101,311.101,"%D",4,0)
(I-ELCAP), as well as the physician's information.
"^DIC",311.101,311.101,"%D",5,0)
"^DIC",311.101,311.101,"%D",6,0)
This form is created each time the site's ELCAP coordinator receives an
"^DIC",311.101,311.101,"%D",7,0)
inquiry regarding the ELCAP study, when they click the button "Create New
"^DIC",311.101,311.101,"%D",8,0)
Case" on the ELCAP Main Screen. They can then fill out the form with the
"^DIC",311.101,311.101,"%D",9,0)
participant's help, including detailed notes, and submit it to create a
"^DIC",311.101,311.101,"%D",10,0)
record in this file.
"^DIC",311.101,311.101,"%D",11,0)
"^DIC",311.101,311.101,"%D",12,0)
Records in file SAMI Intake are never deleted. They include everyone who
"^DIC",311.101,311.101,"%D",13,0)
was evaluated for possible enrollment into the ELCAP program.
"^DIC",311.101,311.101,"%D",14,0)
"^DIC",311.101,311.101,"%D",15,0)
I-ELCAP is an evidence-based collection of protocols for screening for,
"^DIC",311.101,311.101,"%D",16,0)
detecting, and treating lung cancer while it's still at Stage I, with
"^DIC",311.101,311.101,"%D",17,0)
much better survival and wellness outcomes (http://ielcap.org/ielcap).
"^DIC",311.101,311.101,"%D",18,0)
"^DIC",311.101,311.101,"%D",19,0)
File SAMI Intake is part of the SAMI Forms suite of files
"^DIC",311.101,311.101,"%D",20,0)
(311.101-311.199), one file per form. Together, they define the main
"^DIC",311.101,311.101,"%D",21,0)
data-entry user interface for Vista module Screening Applications
"^DIC",311.101,311.101,"%D",22,0)
Management - IELCAP (SAMI), the first in a collection of
"^DIC",311.101,311.101,"%D",23,0)
screening-and-registry modules that make up Vista application SAM. SAM is
"^DIC",311.101,311.101,"%D",24,0)
version 18 of the ELCAP application, which has been under development,
"^DIC",311.101,311.101,"%D",25,0)
refinement, and production use by Mt. Sinai and the other I-ELCAP member
"^DIC",311.101,311.101,"%D",26,0)
organizations since 2000.
"^DIC",311.101,311.101,"%D",27,0)
"^DIC",311.101,311.101,"%D",28,0)
Primary Development History
"^DIC",311.101,311.101,"%D",29,0)
"^DIC",311.101,311.101,"%D",30,0)
@primary-dev: Frederick D. S. Marshall (toad)
"^DIC",311.101,311.101,"%D",31,0)
@primary-dev-org: Vista Expertise Network (ven)
"^DIC",311.101,311.101,"%D",32,0)
http://vistaexpertise.net
"^DIC",311.101,311.101,"%D",33,0)
@copyright: 2017, Vista Expertise Network (ven), all rights reserved
"^DIC",311.101,311.101,"%D",34,0)
@license: Apache 2.0
"^DIC",311.101,311.101,"%D",35,0)
https://www.apache.org/licenses/LICENSE-2.0.html
"^DIC",311.101,311.101,"%D",36,0)
@last-updated: 2017-05-25T20:25Z
"^DIC",311.101,311.101,"%D",37,0)
@application: Screening Applications Management (SAM)
"^DIC",311.101,311.101,"%D",38,0)
@module: Screening Applications Management - IELCAP (SAMI)
"^DIC",311.101,311.101,"%D",39,0)
@suite-of-files: SAMI Forms (311.101-311.199)
"^DIC",311.101,311.101,"%D",40,0)
@version: 18.0T01 (first development version)
"^DIC",311.101,311.101,"%D",41,0)
@release-date: not yet released
"^DIC",311.101,311.101,"%D",42,0)
@patch-list: none yet
"^DIC",311.101,311.101,"%D",43,0)
"^DIC",311.101,311.101,"%D",44,0)
@funding-org: 2017-2018,Bristol-Myers Squibb Foundation (bmsf)
"^DIC",311.101,311.101,"%D",45,0)
"^DIC",311.101,311.101,"%D",46,0)
https://www.bms.com/about-us/responsibility/bristol-myers-squibb-foundatio
"^DIC",311.101,311.101,"%D",47,0)
n.html
"^DIC",311.101,311.101,"%D",48,0)
"^DIC",311.101,311.101,"%D",49,0)
@original-table: I-ELCAP Intake Dictionary, 2000-2017
"^DIC",311.101,311.101,"%D",50,0)
@original-dev: Artit Jirapatnakil (aj)
"^DIC",311.101,311.101,"%D",51,0)
@original-dev-org: International Early Lung Cancer Action Program
"^DIC",311.101,311.101,"%D",52,0)
(ielcap)
"^DIC",311.101,311.101,"%D",53,0)
"^DIC",311.101,311.101,"%D",54,0)
@med-expert: Claudia Ingrid Henschke, MD (cih)
"^DIC",311.101,311.101,"%D",55,0)
@med-expert-org: Mt. Sinai Health System (mshs)
"^DIC",311.101,311.101,"%D",56,0)
"^DIC",311.101,311.101,"%D",57,0)
2000/2017 ielcap/aj versions 1-17: develop original non-Vista I-ELCAP
"^DIC",311.101,311.101,"%D",58,0)
Intake Dictionary and Intake Form.
"^DIC",311.101,311.101,"%D",59,0)
"^DIC",311.101,311.101,"%D",60,0)
2018-08-03/16 ven/toad 18.0T01: develop draft 1 of Vista file SAMI Intake
"^DIC",311.101,311.101,"%D",61,0)
(311.101) based on version 17 Intake Form and Intake Dictionary,
"^DIC",311.101,311.101,"%D",62,0)
w/guidance from ielcap/aj & mshs/cih.
"^DIC",311.101,"B","SAMI INTAKE",311.101)
"^DIC",311.10112,311.10112,0)
SAMI PATIENT STATUS^311.10112
"^DIC",311.10112,311.10112,0,"GL")
^SAMI(311.10112,
"^DIC",311.10112,"B","SAMI PATIENT STATUS",311.10112)
"^DIC",311.102,311.102,0)
SAMI BACKGROUND^311.102
"^DIC",311.102,311.102,0,"GL")
^SAMI(311.102,
"^DIC",311.102,311.102,"%",0)
^1.005^1^1
"^DIC",311.102,311.102,"%",1,0)
SAMI
"^DIC",311.102,311.102,"%","B","SAMI",1)
"^DIC",311.102,"B","SAMI BACKGROUND",311.102)
"^DIC",311.103,311.103,0)
SAMI CT EVAL^311.103
"^DIC",311.103,311.103,0,"GL")
^SAMI(311.103,
"^DIC",311.103,311.103,"%",0)
^1.005^1^1
"^DIC",311.103,311.103,"%",1,0)
SAMI
"^DIC",311.103,311.103,"%","B","SAMI",1)
"^DIC",311.103,"B","SAMI CT EVAL",311.103)
"^DIC",311.10313,311.10313,0)
SAMI CT NODULE NEW^311.10313
"^DIC",311.10313,311.10313,0,"GL")
^SAMI(311.10313,
"^DIC",311.10313,311.10313,"%",0)
^1.005^1^1
"^DIC",311.10313,311.10313,"%",1,0)
SAMI
"^DIC",311.10313,311.10313,"%","B","SAMI",1)
"^DIC",311.10313,"B","SAMI CT NODULE NEW",311.10313)
"^DIC",311.10316,311.10316,0)
SAMI NODULE STATUS^311.10316
"^DIC",311.10316,311.10316,0,"GL")
^SAMI(311.10316,
"^DIC",311.10316,311.10316,"%",0)
^1.005^1^1
"^DIC",311.10316,311.10316,"%",1,0)
SAMI
"^DIC",311.10316,311.10316,"%","B","SAMI",1)
"^DIC",311.10316,"B","SAMI NODULE STATUS",311.10316)
"^DIC",311.10317,311.10317,0)
SAMI PATH DIAGNOSIS^311.10317
"^DIC",311.10317,311.10317,0,"GL")
^SAMI(311.10317,
"^DIC",311.10317,311.10317,"%",0)
^1.005^1^1
"^DIC",311.10317,311.10317,"%",1,0)
SAMI
"^DIC",311.10317,311.10317,"%","B","SAMI",1)
"^DIC",311.10317,"B","SAMI PATH DIAGNOSIS",311.10317)
"^DIC",311.10321,311.10321,0)
SAMI LYMPH NODES^311.10321
"^DIC",311.10321,311.10321,0,"GL")
^SAMI(311.10321,
"^DIC",311.10321,311.10321,"%",0)
^1.005^1^1
"^DIC",311.10321,311.10321,"%",1,0)
SAMI
"^DIC",311.10321,311.10321,"%","B","SAMI",1)
"^DIC",311.10321,"B","SAMI LYMPH NODES",311.10321)
"^DIC",311.10322,311.10322,0)
SAMI FOLLOWUP TYPE^311.10322
"^DIC",311.10322,311.10322,0,"GL")
^SAMI(311.10322,
"^DIC",311.10322,311.10322,"%",0)
^1.005^1^1
"^DIC",311.10322,311.10322,"%",1,0)
SAMI
"^DIC",311.10322,311.10322,"%","B","SAMI",1)
"^DIC",311.10322,"B","SAMI FOLLOWUP TYPE",311.10322)
"^DIC",311.104,311.104,0)
SAMI FOLLOWUP^311.104
"^DIC",311.104,311.104,0,"GL")
^SAMI(311.104,
"^DIC",311.104,"B","SAMI FOLLOWUP",311.104)
"^DIC",311.105,311.105,0)
SAMI BIOPSY^311.105
"^DIC",311.105,311.105,0,"GL")
^SAMI(311.105,
"^DIC",311.105,311.105,"%",0)
^1.005^1^1
"^DIC",311.105,311.105,"%",1,0)
SAMI
"^DIC",311.105,311.105,"%","B","SAMI",1)
"^DIC",311.105,"B","SAMI BIOPSY",311.105)
"^DIC",311.10511,311.10511,0)
SAMI LESION SITE^311.10511
"^DIC",311.10511,311.10511,0,"GL")
^SAMI(311.10511,
"^DIC",311.10511,"B","SAMI LESION SITE",311.10511)
"^DIC",311.106,311.106,0)
SAMI PET EVALUATION^311.106
"^DIC",311.106,311.106,0,"GL")
^SAMI(311.106,
"^DIC",311.106,311.106,"%",0)
^1.005^1^1
"^DIC",311.106,311.106,"%",1,0)
SAMI
"^DIC",311.106,311.106,"%","B","SAMI",1)
"^DIC",311.106,"B","SAMI PET EVALUATION",311.106)
"^DIC",311.10612,311.10612,0)
SAMI NODULE NEW^311.10612
"^DIC",311.10612,311.10612,0,"GL")
^SAMI(311.10612,
"^DIC",311.10612,"B","SAMI NODULE NEW",311.10612)
"^DIC",311.107,311.107,0)
SAMI INTERVENTION^311.107
"^DIC",311.107,311.107,0,"GL")
^SAMI(311.107,
"^DIC",311.107,"B","SAMI INTERVENTION",311.107)
**END**
**END**
| Genshi | 4 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-0/sami-18p0t02.kid | [
"Apache-2.0"
] |
#!/bin/sh
cd ..
while :; do
./camerad &
pid="$!"
sleep 2
kill -2 $pid
wait $pid
done
| Shell | 4 | Neptos/openpilot | selfdrive/camerad/test/stress_restart.sh | [
"MIT"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
# tests the output of the embedding example is correct
using Test
if Sys.iswindows()
# libjulia needs to be in the same directory as the embedding executable or in path
ENV["PATH"] = string(Sys.BINDIR, ";", ENV["PATH"])
end
function checknum(s, rx, cond)
m = match(rx, s)
if m === nothing
return false
else
num = m[1]
return cond(parse(UInt, num))
end
end
@test length(ARGS) == 1
@testset "gcext example" begin
out = Pipe()
err = Pipe()
p = run(pipeline(Cmd(ARGS), stdin=devnull, stdout=out, stderr=err), wait=false)
close(out.in)
close(err.in)
out_task = @async readlines(out)
err_task = @async readlines(err)
# @test success(p)
errlines = fetch(err_task)
lines = fetch(out_task)
@test length(errlines) == 0
@test length(lines) == 6
@test checknum(lines[2], r"([0-9]+) full collections", n -> n >= 10)
@test checknum(lines[3], r"([0-9]+) partial collections", n -> n > 0)
@test checknum(lines[4], r"([0-9]+) object sweeps", n -> n > 0)
@test checknum(lines[5], r"([0-9]+) internal object scan failures",
n -> n == 0)
@test checknum(lines[6], r"([0-9]+) corrupted auxiliary roots",
n -> n == 0)
end
| Julia | 5 | greimel/julia | test/gcext/gcext-test.jl | [
"Zlib"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
Class(IdFunc, DiagFunc, rec(
range := self >> TInt
));
#F fConst(<N>, <c>) - constant diagonal function, <N> values of <c>
#F
Class(idConst, IdFunc, rec(
# def := (N, c) -> Checked(IsPosInt0(N), rec(size:=N)),
def := (N, c) -> rec(size:=N),
inline := true,
lambda := self >> let(i:=Ind(self.size), Lambda(i, self.params[2])),
isReal := self >> IsRealNumber(self.params[2]),
domain := self >> self.params[1],
));
Class(idId, IdFunc, rec(
def := size -> rec(size := size),
lambda := self >> let(i := Ind(self.size), Lambda(i,i)),
#inverse := i->i,
transpose := self >> self,
domain := self >> self.params[1],
));
#NOTE Derive the idTensor from diagTensor
Class(idTensor, fTensorBase, rec(
print := FuncClassOper.print,
# range := self >> UnifyTypes(List(self.children(), x->x.range())),
combine_op := (self, jv, split, f, g) >> f.relaxed_at(jv, split[1]) * g.relaxed_at(jv, split[2]),
updateRange := self >> UnifyTypes(List(self.children(), x->x.range())),
range := self >> self.updateRange(),
# combine_op := (self, split, F, G) >> F.at(split[1]) * G.at(split[2])
# idTensor is something else again ???
# combine_op := (self, split, F, G) >> self.child(2).domain() * F.at(split[1]) + G.at(split[2])
));
#Class(idfTensor, fTensorBase, rec(
# print := FuncClassOper.print,
# updateRange := self >> UnifyTypes(List(self.children(), x->x.range())),
# combine_op := (self, split, F, G) >> self.child(2).domain() * F.at(split[1]) + G.at(split[2])
#));
#
Class(idCompose, fCompose);
Class(Id, Diag, rec(
toAMat := self >> IdentityMatAMat(self.element.domain()),
domain := self >> self.element.domain()
));
| GAP | 4 | sr7cb/spiral-software | namespaces/spiral/paradigms/common/id/id.gi | [
"BSD-2-Clause-FreeBSD"
] |
# If the tm command is called without an argument, open TextMate in the current directory
# If tm is passed a directory, cd to it and open it in TextMate
# If tm is passed anything else (i.e., a list of files and/or options), pass them all along
# This allows easy opening of multiple files.
function tm() {
if [[ -z $1 ]]; then
mate .
elif [[ -d $1 ]]; then
mate $1
cd $1
else
mate "$@"
fi
}
| Shell | 4 | chensanle/ohmyzsh | plugins/textmate/textmate.plugin.zsh | [
"MIT"
] |
[Desktop Entry]
Type=Application
Terminal=false
Exec=czkawka
Name=Czkawka
Comment=Multi functional app to clean OS which allow to find duplicates, empty folders, similar files etc.
Icon=${SNAP}/meta/gui/czkawka.png
Categories=System;
StartupWMClass=czkawka
TryExec=czkawka
| desktop | 1 | jcoffi/czkawka | snap/gui/czkawka.desktop | [
"MIT"
] |
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <sixel.h>
MODULE = Image::LibSIXEL PACKAGE = Image::LibSIXEL::Encoder PREFIX = encoder_
SV *
encoder_new(void)
INIT:
SIXELSTATUS status;
sixel_encoder_t *encoder;
SV *sv;
const char *klass;
CODE:
status = sixel_encoder_new(&encoder, NULL);
if (SIXEL_FAILED(status)) {
croak("libsixel error: %s", sixel_helper_format_error(status));
XSRETURN_UNDEF;
}
klass = SvPV_nolen(ST(0));
sv = newSViv(PTR2IV(encoder));
if (!sv) {
XSRETURN_UNDEF;
}
sv = newRV_noinc(sv);
sv_bless(sv, gv_stashpv(klass, 1));
SvREADONLY_on(sv);
RETVAL = sv;
OUTPUT:
RETVAL
void
encoder_setopt(...)
INIT:
SIXELSTATUS status;
IV iv;
sixel_encoder_t *encoder;
char const *arg;
char const *optarg = NULL;
PPCODE:
if (items != 2 && items != 3) {
croak("Bad argument count: %d", items);
}
iv = SvROK(ST(0)) ? SvIV(SvRV(ST(0))) : SvIV(ST(0));
encoder = INT2PTR(sixel_encoder_t *, iv);
arg = SvPV_nolen(ST(1));
if (sv_len(ST(1)) != 1) {
croak("Bad argument: %s", arg);
}
if (items == 3) {
optarg = SvPV_nolen(ST(2));
}
status = sixel_encoder_setopt(encoder, *arg, optarg);
if (SIXEL_FAILED(status)) {
croak("libsixel error: %s", sixel_helper_format_error(status));
}
void
encoder_encode(...)
INIT:
SIXELSTATUS status;
IV iv;
sixel_encoder_t *encoder;
char const *infile;
PPCODE:
if (items != 2) {
croak("Bad argument count: %d", items);
}
iv = SvROK(ST(0)) ? SvIV(SvRV(ST(0))) : SvIV(ST(0));
encoder = INT2PTR(sixel_encoder_t *, iv);
infile = SvPV_nolen(ST(1));
status = sixel_encoder_encode(encoder, infile);
if (SIXEL_FAILED(status)) {
croak("libsixel error: %s", sixel_helper_format_error(status));
}
void
encoder_DESTROY(...)
INIT:
IV iv;
sixel_encoder_t *encoder;
PPCODE:
iv = SvROK(ST(0)) ? SvIV(SvRV(ST(0))) : SvIV(ST(0));
encoder = INT2PTR(sixel_encoder_t *, iv);
sixel_encoder_unref(encoder);
MODULE = Image::LibSIXEL PACKAGE = Image::LibSIXEL::Decoder PREFIX = decoder_
SV *
decoder_new(void)
INIT:
SIXELSTATUS status;
sixel_decoder_t *decoder;
SV *sv;
const char *klass;
CODE:
status = sixel_decoder_new(&decoder, NULL);
if (SIXEL_FAILED(status)) {
croak("libsixel error: %s", sixel_helper_format_error(status));
XSRETURN_UNDEF;
}
klass = SvPV_nolen(ST(0));
sv = newSViv(PTR2IV(decoder));
if (!sv) {
XSRETURN_UNDEF;
}
sv = newRV_noinc(sv);
sv_bless(sv, gv_stashpv(klass, 1));
SvREADONLY_on(sv);
RETVAL = sv;
OUTPUT:
RETVAL
void
decoder_setopt(...)
INIT:
SIXELSTATUS status;
IV iv;
sixel_decoder_t *decoder;
char const *arg;
char const *optarg = NULL;
PPCODE:
if (items != 2 && items != 3) {
croak("Bad argument count: %d", items);
}
iv = SvROK(ST(0)) ? SvIV(SvRV(ST(0))) : SvIV(ST(0));
decoder = INT2PTR(sixel_decoder_t *, iv);
arg = SvPV_nolen(ST(1));
if (sv_len(ST(1)) != 1) {
croak("Bad argument: %s", arg);
}
if (items == 3) {
optarg = SvPV_nolen(ST(2));
}
status = sixel_decoder_setopt(decoder, *arg, optarg);
if (SIXEL_FAILED(status)) {
croak("libsixel error: %s", sixel_helper_format_error(status));
}
void
decoder_decode(...)
INIT:
SIXELSTATUS status;
IV iv;
sixel_decoder_t *decoder;
PPCODE:
if (items != 1) {
croak("Bad argument count: %d", items);
}
iv = SvROK(ST(0)) ? SvIV(SvRV(ST(0))) : SvIV(ST(0));
decoder = INT2PTR(sixel_decoder_t *, iv);
status = sixel_decoder_decode(decoder);
if (SIXEL_FAILED(status)) {
croak("libsixel error: %s", sixel_helper_format_error(status));
}
void
decoder_DESTROY(...)
INIT:
IV iv;
sixel_decoder_t *decoder;
PPCODE:
iv = SvROK(ST(0)) ? SvIV(SvRV(ST(0))) : SvIV(ST(0));
decoder = INT2PTR(sixel_decoder_t *, iv);
sixel_decoder_unref(decoder);
| XS | 5 | timholy/libsixel | perl/lib/Image/LibSIXEL.xs | [
"MIT"
] |
it("should require entry points fine", function() {
require("./single-entry-point");
});
| JavaScript | 1 | 1shenxi/webpack | test/configCases/entry/single-entry-point/single-entry-point.js | [
"MIT"
] |
require '../lib/parser/runtime'
generic method =
generic method id = 0
with last non nil constructor and index (constructors, block) =
find last non nil constructor index () =
for (n = constructors.length - 1, n >= 0, --n)
if (constructors.(n))
return (n)
last index = find last non nil constructor index ()
last constructor = constructors.(last index)
if (last constructor)
block (last constructor, last index)
for each constructor index next index in (constructors, block) =
find next non nil constructor index after (n) =
for (i = n + 1, i < constructors.length, ++i)
if (constructors.(i))
return (i)
for (n = 0, n < constructors.length - 1, ++n)
constructor = constructors.(n)
if (constructor)
block (constructor, n, find next non nil constructor index after (n))
gm () =
name = "genericMethod$#(++generic method id)"
gm body = "var method = void 0;
for (var n = 0; n < arguments.length; n++) {
if (method = arguments[n][\"#(name)$\" + n]) {
break;
}
}
if (method) {
return method.apply(void 0, arguments);
}
throw new Error(\"no such method for arguments\")"
fn = @new Function (gm body)
fn.add method (constructors, ... , method) =
for each constructor @(constructor) index @(index) next index @(next index) in (constructors)
body = "return arguments[#(next index)][\"#(name)$#(next index)\"].apply(void 0, arguments);"
constructor.prototype."#(name)$#(index)" = @new Function (body)
with last non nil constructor @(constructor) and index @(index) (constructors)
constructor.prototype."#(name)$#(index)" = method
fn
point = class {
to string () = "(#(self.x), #(self.y))"
constructor (x, y) =
self.x = x
self.y = y
}
circle = class {
to string () = "#(self.center) radius #(self.radius)"
constructor (center: center, radius: radius) =
self.center = center
self.radius = radius
}
file = class {
to string () = "`#(self.name)'"
constructor (name) =
self.name = name
}
move to = generic method ()
move to.add method @(w) (circle) @(p) (point)
console.log "moving circle #(w), to point #(p)"
move (@new circle (center: @new point (0, 0), radius: 30)) to (@new point (3, 4))
move to.add method @(f) (file) @(dir) (nil)
console.log "moving file #(f) to dir `#(dir)'"
move (@new file 'stuff.txt') to 'dir'
move to.add method @(a) (nil) @(f) (file)
console.log "moving #(a) into file #(f)"
move (7) to (@new file '7.txt')
// is this a good idea?
| PogoScript | 3 | featurist/pogoscript | examples/multimethods.pogo | [
"BSD-2-Clause"
] |
\documentclass[../../main.tex]{subfiles}
\begin{document}
\section{The first section}
Titling notwithstanding, could this issue be a case of PEBCAC?
\subsection{A subsection}
Hello world.
\end{document}
| TeX | 2 | IngoMeyer441/vimtex | test/test-toc/chapters/sections/first.tex | [
"MIT"
] |
REBOL [
Title: "Information extractor from Red runtime source code"
Author: "Nenad Rakocevic"
File: %extractor.r
Tabs: 4
Rights: "Copyright (C) 2011-2018 Red Foundation. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/master/BSD-3-License.txt"
Notes: {
These utility functions extract types ID and function definitions from Red
runtime source code and make it available to the compiler, before the Red runtime
is actually compiled.
This procedure is required during bootstrapping, as the REBOL compiler can't
examine loaded Red data in memory at runtime.
}
]
context [
scalars: pos: none
definitions: make block! 100
hexa: charset "0123456789ABCDEF"
data: copy read-cache %runtime/macros.reds
parse/case data [any [pos: 2 8 hexa e: #"h" (pos: remove/part pos e) :pos | skip]] ;-- remove unloadable literals
data: load data
currencies: load-cache %environment/system.red
extras: make block! 1
extract-codes: has [codes][
codes: third find (third find currencies/5 quote locale:) quote currencies:
currencies: copy codes/2
]
extract-defs: func [type [word!] /local list index][
list: select data type
index: 0
forall list [
if set-word? list/1 [
list/1: to word! list/1
index: list/2
]
if word? list/1 [
repend definitions [list/1 index]
index: index + 1
]
]
]
extract-defs 'datatypes!
extract-defs 'actions!
extract-defs 'natives!
extract-codes
data: none
set 'typeset! block! ;-- fake a convenient definition
init: func [job [object!] /local src] [
src: preprocessor/expand load-cache %environment/scalars.red job
scalars: make object! copy skip src 2
clear extras
]
] | R | 4 | GalenIvanov/red | utils/extractor.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
// compile-flags:-Z unstable-options --show-coverage --document-private-items
// check-pass
#![allow(unused)]
//! when `--document-private-items` is passed, nothing is safe. everything must have docs or your
//! score will suffer the consequences
mod this_mod {
fn private_fn() {}
}
/// See, our public items have docs!
pub struct SomeStruct {
/// Look, all perfectly documented!
pub field: usize,
other: usize,
}
/// Nothing shady going on here. Just a bunch of well-documented code. (cough)
pub fn public_fn() {}
| Rust | 4 | Eric-Arellano/rust | src/test/rustdoc-ui/coverage/private.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// Copyright 2020 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Local copy of Envoy xDS proto file, used for testing only.
syntax = "proto3";
package envoy.extensions.filters.http.fault.v3;
import "src/proto/grpc/testing/xds/v3/fault_common.proto";
import "src/proto/grpc/testing/xds/v3/route.proto";
import "src/proto/grpc/testing/xds/v3/percent.proto";
import "google/protobuf/wrappers.proto";
// [#protodoc-title: Fault Injection]
// Fault Injection :ref:`configuration overview <config_http_filters_fault_injection>`.
// [#extension: envoy.filters.http.fault]
// [#next-free-field: 6]
message FaultAbort {
// Fault aborts are controlled via an HTTP header (if applicable). See the
// :ref:`HTTP fault filter <config_http_filters_fault_injection_http_header>` documentation for
// more information.
message HeaderAbort {
}
reserved 1;
oneof error_type {
// HTTP status code to use to abort the HTTP request.
uint32 http_status = 2;
// gRPC status code to use to abort the gRPC request.
uint32 grpc_status = 5;
// Fault aborts are controlled via an HTTP header (if applicable).
HeaderAbort header_abort = 4;
}
// The percentage of requests/operations/connections that will be aborted with the error code
// provided.
type.v3.FractionalPercent percentage = 3;
}
// [#next-free-field: 15]
message HTTPFault {
// If specified, the filter will inject delays based on the values in the
// object.
common.fault.v3.FaultDelay delay = 1;
// If specified, the filter will abort requests based on the values in
// the object. At least *abort* or *delay* must be specified.
FaultAbort abort = 2;
// Specifies a set of headers that the filter should match on. The fault
// injection filter can be applied selectively to requests that match a set of
// headers specified in the fault filter config. The chances of actual fault
// injection further depend on the value of the :ref:`percentage
// <envoy_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field.
// The filter will check the request's headers against all the specified
// headers in the filter config. A match will happen if all the headers in the
// config are present in the request with the same values (or based on
// presence if the *value* field is not in the config).
repeated config.route.v3.HeaderMatcher headers = 4;
// The maximum number of faults that can be active at a single time via the configured fault
// filter. Note that because this setting can be overridden at the route level, it's possible
// for the number of active faults to be greater than this value (if injected via a different
// route). If not specified, defaults to unlimited. This setting can be overridden via
// `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected
// due to overflow will be indicated via the `faults_overflow
// <config_http_filters_fault_injection_stats>` stat.
//
// .. attention::
// Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy
// limit. It's possible for the number of active faults to rise slightly above the configured
// amount due to the implementation details.
google.protobuf.UInt32Value max_active_faults = 6;
}
| Protocol Buffer | 5 | warlock135/grpc | src/proto/grpc/testing/xds/v3/fault.proto | [
"Apache-2.0"
] |
1/* comment */ | Objective-J | 0 | justinmann/sj | tests/comment2.sj | [
"Apache-2.0"
] |
export default 'just a string'
| JavaScript | 0 | blomqma/next.js | test/integration/invalid-page-automatic-static-optimization/pages/also-invalid.js | [
"MIT"
] |
//
// Copyright (c) 2013-2021 Winlin
//
// SPDX-License-Identifier: MIT
//
package
{
import flash.events.NetStatusEvent;
import flash.external.ExternalInterface;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.ObjectEncoding;
import flash.utils.clearTimeout;
import flash.utils.setTimeout;
/**
* SRS bandwidth check/test library,
* user can copy this file and use it directly,
* this library will export as callback functions, and js callback functions.
*
* Usage:
* var bandwidth:SrsBandwidth = new SrsBandwidth();
* bandwidth.initialize(......); // required
* bandwidth.check_bandwidth(......); // required
* bandwidth.stop(); // optional
*
* @remark we donot use event, but use callback functions set by initialize.
*/
public class SrsBandwidth
{
/**
* server notice client to do the downloading/play bandwidth test.
*/
public static const StatusSrsBwtcPlayStart:String = "srs.bwtc.play.start";
/**
* server notice client to complete the downloading/play bandwidth test.
*/
public static const StatusSrsBwtcPlayStop:String = "srs.bwtc.play.stop";
/**
* server notice client to do the uploading/publish bandwidth test.
*/
public static const StatusSrsBwtcPublishStart:String = "srs.bwtc.publish.start";
/**
* server notice client to complete the uploading/publish bandwidth test.
*/
public static const StatusSrsBwtcPublishStop:String = "srs.bwtc.publish.stop";
/**
* constructor, do nothing
*/
public function SrsBandwidth()
{
}
/**
* initialize the bandwidth test tool, the callbacks. null to ignore.
*
* the as callbacks.
* @param as_on_ready, function():void, callback when bandwidth tool is ready to run.
* @param as_on_status_change, function(code:String, data:String):void, where:
* code can be:
* "NetConnection.Connect.Failed", see NetStatusEvent(evt.info.code).
* "NetConnection.Connect.Rejected", see NetStatusEvent(evt.info.code).
* "NetConnection.Connect.Success", see NetStatusEvent(evt.info.code).
* "NetConnection.Connect.Closed", see NetStatusEvent(evt.info.code).
* SrsBandwidth.StatusSrsBwtcPlayStart, "srs.bwtc.play.start", when srs start test play bandwidth.
* SrsBandwidth.StatusSrsBwtcPlayStop, "srs.bwtc.play.stop", when srs complete test play bandwidth.
* SrsBandwidth.StatusSrsBwtcPublishStart, "srs.bwtc.publish.start", when srs start test publish bandwidth.
* SrsBandwidth.StatusSrsBwtcPublishStop, "srs.bwtc.publish.stop", when srs complete test publish bandwidth.
* data is extra parameter:
* kbps, for code is SrsBandwidth.StatusSrsBwtcPlayStop or SrsBandwidth.StatusSrsBwtcPublishStop.
* "", otherwise empty string.
* @param as_on_progress_change, function(percent:Number):void, where:
* percent, the progress percent, 0 means 0%, 100 means 100%.
* @param as_on_srs_info, function(srs_server:String, srs_primary:String, srs_authors:String, srs_id:String, srs_pid:String, srs_server_ip:String):void, where:
* srs_server: the srs server info.
* srs_primary: the srs primary authors info.
* srs_authors: the srs authors info.
* srs_id: the tracable log id, to direclty grep the log.
* srs_pid: the srs process id, to direclty grep the log.
* srs_server_ip: the srs server ip, where client connected at.
* @param as_on_complete, function(start_time:Number, end_time:Number, play_kbps:Number, publish_kbps:Number, play_bytes:Number, publish_bytes:Number, play_time:Number, publish_time:Number):void, where
* start_time, the start timestamp, in ms.
* end_time, the finish timestamp, in ms.
* play_kbps, the play/downloading kbps.
* publish_kbps, the publish/uploading kbps.
* play_bytes, the bytes play/download from server, in bytes.
* publish_bytes, the bytes publish/upload to server, in bytes.
* play_time, the play/download duration time, in ms.
* publish_time, the publish/upload duration time, in ms.
*
* the js callback id.
* @param js_id, specifies the id of swfobject, used to identify the bandwidth object.
* for all js callback, the first param always be the js_id, to identify the callback object.
*
* the js callbacks.
* @param js_on_ready, function(js_id:String):void, callback when bandwidth tool is ready to run.
* @param js_on_status_change, function(js_id:String, code:String, data:String):void
* @param as_on_progress_change, function(js_id:String, percent:Number):void
* @param as_on_srs_info, function(js_id:String, srs_server:String, srs_primary:String, srs_authors:String, srs_id:String, srs_pid:String, srs_server_ip:String):void
* @param as_on_complete, function(js_id:String, start_time:Number, end_time:Number, play_kbps:Number, publish_kbps:Number, play_bytes:Number, publish_bytes:Number, play_time:Number, publish_time:Number):void
*
* the js export functions.
* @param js_export_check_bandwidth, function(url:String):void, for js to start bandwidth check, @see: check_bandwidth(url:String):void
* @param js_export_stop, function():void, for js to stop bandwidth check, @see: stop():void
*
* @remark, all parameters can be null.
* @remark, as and js callback use same parameter, except that the js calblack first parameter is js_id:String.
*/
public function initialize(
as_on_ready:Function, as_on_status_change:Function, as_on_progress_change:Function, as_on_srs_info:Function, as_on_complete:Function,
js_id:String, js_on_ready:String, js_on_status_change:String, js_on_progress_change:String, js_on_srs_info:String, js_on_complete:String,
js_export_check_bandwidth:String, js_export_stop:String
):void {
this.as_on_ready = as_on_ready;
this.as_on_srs_info = as_on_srs_info;
this.as_on_status_change = as_on_status_change;
this.as_on_progress_change = as_on_progress_change;
this.as_on_complete = as_on_complete;
this.js_id = js_id;
this.js_on_srs_info = js_on_srs_info;
this.js_on_ready = js_on_ready;
this.js_on_status_change = js_on_status_change;
this.js_on_progress_change = js_on_progress_change;
this.js_on_complete = js_on_complete;
this.js_export_check_bandwidth = js_export_check_bandwidth;
this.js_export_stop = js_export_stop;
flash.utils.setTimeout(this.system_on_js_ready, 0);
}
/**
* start check bandwidth.
* @param url, a String indicates the url to check bandwidth,
* format as: rtmp://server:port/app?key=xxx&&vhost=xxx
* for example, rtmp://dev:1935/app?key=35c9b402c12a7246868752e2878f7e0e&vhost=bandcheck.srs.com
* where the key and vhost must be config in SRS, like:
* vhost bandcheck.srs.com {
* enabled on;
* chunk_size 65000;
* bandcheck {
* enabled on;
* key "35c9b402c12a7246868752e2878f7e0e";
* interval 30;
* limit_kbps 4000;
* }
* }
*
* @remark user must invoke this as method, or js exported method.
*/
public function check_bandwidth(url:String):void {
this.js_call_check_bandwidth(url);
}
/**
* stop check bancwidth.
* @remark it's optional, however, user can abort the bandwidth check.
*/
public function stop():void {
this.js_call_stop();
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// Private Section, ignore please. ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
////////////////////////// ///////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* ***********************************************************************
* private section, including private fields, method and embeded classes.
* ***********************************************************************
*/
/**
* as callback.
*/
private var as_on_ready:Function;
private var as_on_srs_info:Function;
private var as_on_status_change:Function;
private var as_on_progress_change:Function;
private var as_on_complete:Function;
/**
* js callback.
*/
private var js_id:String;
private var js_on_ready:String;
private var js_on_srs_info:String;
private var js_on_status_change:String;
private var js_on_progress_change:String;
private var js_on_complete:String;
/**
* js export functions.
*/
private var js_export_check_bandwidth:String;
private var js_export_stop:String;
/**
* srs debug infos
*/
private var srs_server:String = null;
private var srs_primary:String = null;
private var srs_authors:String = null;
private var srs_id:String = null;
private var srs_pid:String = null;
private var srs_server_ip:String = null;
/**
* the underlayer connection, to send call message to do the bandwidth
* check/test with server.
*/
private var connection:NetConnection = null;
// for bms4, use stream to play then do bandwidth test.
private var stream:NetStream = null;
/**
* use timeout to sendout publish call packets.
* when got stop publish packet from server, stop publish call loop.
*/
private var publish_timeout_handler:uint = 0;
/**
* system callack event, when js ready, register callback for js.
* the actual main function.
*/
private function system_on_js_ready():void {
if (!flash.external.ExternalInterface.available) {
log("js not ready, try later.");
flash.utils.setTimeout(this.system_on_js_ready, 100);
return;
}
if (this.js_export_check_bandwidth != null) {
flash.external.ExternalInterface.addCallback(this.js_export_check_bandwidth, this.js_call_check_bandwidth);
}
if (this.js_export_stop != null) {
flash.external.ExternalInterface.addCallback(this.js_export_stop, this.js_call_stop);
}
if (as_on_ready != null) {
as_on_ready();
}
if (js_on_ready != null) {
flash.external.ExternalInterface.call(this.js_on_ready, this.js_id);
}
}
private function js_call_check_bandwidth(url:String):void {
js_call_stop();
__on_progress_change(0);
// init connection
log("create connection for bandwidth check");
connection = new NetConnection;
connection.objectEncoding = ObjectEncoding.AMF0;
connection.client = {
onStatus: onStatus,
// play
onSrsBandCheckStartPlayBytes: onSrsBandCheckStartPlayBytes,
onSrsBandCheckPlaying: onSrsBandCheckPlaying,
onSrsBandCheckStopPlayBytes: onSrsBandCheckStopPlayBytes,
// publish
onSrsBandCheckStartPublishBytes: onSrsBandCheckStartPublishBytes,
onSrsBandCheckStopPublishBytes: onSrsBandCheckStopPublishBytes,
onSrsBandCheckFinished: onSrsBandCheckFinished
};
connection.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
connection.connect(url);
__on_progress_change(3);
}
private function js_call_stop():void {
if (connection) {
connection.close();
connection = null;
}
}
/**
* NetConnection callback this function, when recv server call "onSrsBandCheckStartPlayBytes"
* then start @updatePlayProgressTimer for updating the progressbar
* */
private function onSrsBandCheckStartPlayBytes(evt:Object):void{
var duration_ms:Number = evt.duration_ms;
var interval_ms:Number = evt.interval_ms;
log("start play test, duration=" + duration_ms + ", interval=" + interval_ms);
connection.call("onSrsBandCheckStartingPlayBytes", null);
__on_status_change(SrsBandwidth.StatusSrsBwtcPlayStart);
__on_progress_change(10);
}
private function onSrsBandCheckPlaying(evt:Object):void{
}
private function onSrsBandCheckStopPlayBytes(evt:Object):void{
var duration_ms:Number = evt.duration_ms;
var interval_ms:Number = evt.interval_ms;
var duration_delta:Number = evt.duration_delta;
var bytes_delta:Number = evt.bytes_delta;
var kbps:Number = 0;
if(duration_delta > 0){
kbps = bytes_delta * 8.0 / duration_delta; // b/ms == kbps
}
kbps = (int(kbps * 10))/10.0;
flash.utils.setTimeout(stopPlayTest, 0);
__on_status_change(SrsBandwidth.StatusSrsBwtcPlayStop, String(kbps));
__on_progress_change(40);
}
private function stopPlayTest():void{
connection.call("onSrsBandCheckStoppedPlayBytes", null);
}
/**
* publishing methods.
*/
private function onSrsBandCheckStartPublishBytes(evt:Object):void{
var duration_ms:Number = evt.duration_ms;
var interval_ms:Number = evt.interval_ms;
connection.call("onSrsBandCheckStartingPublishBytes", null);
flash.utils.setTimeout(publisher, 0);
__on_status_change(SrsBandwidth.StatusSrsBwtcPublishStart);
__on_progress_change(60);
}
private function publisher():void{
var data:Array = new Array();
/**
* the data size cannot too large, it will increase the test time.
* server need atleast got one packet, then timeout to stop the publish.
*
* cannot too small neither, it will limit the max publish kbps.
*
* the test values:
* test_s test_s
* data_size max_publish_kbps (no limit) (limit upload to 5KBps)
* 100 2116 6.5 7.3
* 200 4071 6.5 7.7
* 300 6438 6.5 10.3
* 400 9328 6.5 10.2
* 500 10377 6.5 10.0
* 600 13737 6.5 10.8
* 700 15635 6.5 12.0
* 800 18103 6.5 14.0
* 900 20484 6.5 14.2
* 1000 21447 6.5 16.8
*/
var data_size:int = 900;
for(var i:int; i < data_size; i++) {
data.push("SrS band check data from client's publishing......");
}
connection.call("onSrsBandCheckPublishing", null, data);
publish_timeout_handler = flash.utils.setTimeout(publisher, 0);
}
private function onSrsBandCheckStopPublishBytes(evt:Object):void{
var duration_ms:Number = evt.duration_ms;
var interval_ms:Number = evt.interval_ms;
var duration_delta:Number = evt.duration_delta;
var bytes_delta:Number = evt.bytes_delta;
var kbps:Number = 0;
if(duration_delta > 0){
kbps = bytes_delta * 8.0 / duration_delta; // b/ms == kbps
}
kbps = (int(kbps * 10))/10.0;
stopPublishTest();
__on_progress_change(90);
}
private function stopPublishTest():void{
// the stop publish response packet can not send out, for the queue is full.
//connection.call("onSrsBandCheckStoppedPublishBytes", null);
// clear the timeout to stop the send loop.
if (publish_timeout_handler > 0) {
flash.utils.clearTimeout(publish_timeout_handler);
publish_timeout_handler = 0;
}
}
private function onSrsBandCheckFinished(evt:Object):void{
var start_time:Number = evt.start_time;
var end_time:Number = evt.end_time;
var play_kbps:Number = evt.play_kbps;
var publish_kbps:Number = evt.publish_kbps;
var play_bytes:Number = evt.play_bytes;
var play_time:Number = evt.play_time;
var publish_bytes:Number = evt.publish_bytes;
var publish_time:Number = evt.publish_time;
if (this.as_on_complete != null) {
this.as_on_complete(start_time, end_time, play_kbps, publish_kbps, play_bytes, publish_bytes, play_time, publish_time);
}
if (this.js_on_complete != null) {
flash.external.ExternalInterface.call(this.js_on_complete, this.js_id,
start_time, end_time, play_kbps, publish_kbps, play_bytes, publish_bytes, play_time, publish_time);
}
__on_progress_change(100);
// when got finish packet, directly close connection.
js_call_stop();
// the last final packet can not send out, for the queue is full.
//connection.call("finalClientPacket", null);
}
/**
* get NetConnection NetStatusEvent
*/
private function onStatus(evt:NetStatusEvent): void {
log(evt.info.code);
var srs_version:String = null;
if (evt.info.hasOwnProperty("data") && evt.info.data) {
if (evt.info.data.hasOwnProperty("srs_server")) {
srs_server = evt.info.data.srs_server;
}
if (evt.info.data.hasOwnProperty("srs_primary")) {
srs_primary = evt.info.data.srs_primary;
}
if (evt.info.data.hasOwnProperty("srs_authors")) {
srs_authors = evt.info.data.srs_authors;
}
if (evt.info.data.hasOwnProperty("srs_id")) {
srs_id = evt.info.data.srs_id;
}
if (evt.info.data.hasOwnProperty("srs_pid")) {
srs_pid = evt.info.data.srs_pid;
}
if (evt.info.data.hasOwnProperty("srs_server_ip")) {
srs_server_ip = evt.info.data.srs_server_ip;
}
if (evt.info.data.hasOwnProperty("srs_version")) {
srs_version = evt.info.data.srs_version;
}
if (this.as_on_srs_info != null) {
this.as_on_srs_info(srs_server, srs_primary, srs_authors, srs_id, srs_pid, srs_server_ip);
}
if (this.js_on_srs_info != null) {
flash.external.ExternalInterface.call(this.js_on_srs_info, this.js_id,
srs_server, srs_primary, srs_authors, srs_id, srs_pid, srs_server_ip);
}
}
var e:NetStatusEvent = evt;
var foo:Function = function():void{
var evt:NetStatusEvent = e;
if (evt.info.code) {
__on_status_change(evt.info.code);
}
switch(evt.info.code){
case "NetConnection.Connect.Success":
__on_progress_change(8);
break;
}
};
foo();
// for bms4, play stream to trigger the bandwidth check.
if (evt.info.code != "NetConnection.Connect.Success") {
return;
}
if (stream != null) {
return;
}
var is_bms:Boolean = false;
if (srs_server.indexOf("BMS/") == 0 || srs_server.indexOf("UPYUN/") == 0) {
is_bms = true;
}
if (parseInt(srs_version.charAt(0)) >= 4 && is_bms) {
stream = new NetStream(connection);
stream.addEventListener(NetStatusEvent.NET_STATUS, function(evt:NetStatusEvent):void{
log(evt.info.code);
if (evt.info.code == "NetStream.Play.Start") {
}
});
stream.play("test");
log("play stream for " + srs_server + " " + srs_version);
return;
}
}
/**
* invoke the callback.
*/
private function __on_progress_change(percent:Number):void {
if (this.as_on_progress_change != null) {
this.as_on_progress_change(percent);
}
if (this.js_on_progress_change != null) {
flash.external.ExternalInterface.call(this.js_on_progress_change, this.js_id,
percent);
}
}
private function __on_status_change(code:String, data:String=""):void {
if (this.as_on_status_change != null) {
this.as_on_status_change(code, data);
}
if (this.js_on_status_change != null) {
flash.external.ExternalInterface.call(this.js_on_status_change, this.js_id,
code, data);
}
}
private function log(msg:String):void {
trace(msg);
if (ExternalInterface.available) {
ExternalInterface.call("console.log", msg);
}
}
}
}
| ActionScript | 5 | cameritelabs/srs | trunk/research/players/srs_bwt/src/SrsBandwidth.as | [
"MIT"
] |
#![feature(decl_macro)]
macro modern($a: ident) {
struct Modern {
a: u8,
$a: u8, // OK
}
}
macro_rules! legacy {
($a: ident) => {
struct Legacy {
a: u8,
$a: u8, //~ ERROR field `a` is already declared
}
}
}
modern!(a);
legacy!(a);
fn main() {}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/hygiene/fields-definition.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
require! ramda: {use-with, identity, if-else}
rm-ws = (.replace /\s/g, '')
strip-ws = if-else (~= null), identity, rm-ws
global.sinon = require \sinon
global.assert = require \chai .assert
global.deep-eq = (a, b) --> a `assert.deepEqual` b
global.eq = assert.strict-equal
global.strip-eq = use-with assert.strict-equal, [ strip-ws, strip-ws ]
global.ok = assert.ok
| LiveScript | 3 | mmqmzk/ramda-cli | test/_globals.ls | [
"0BSD"
] |
-- See https://github.com/purescript/purescript/issues/3414
module Ado where
test =
ado x <- 1
in x
where
map f x = f x
| PureScript | 3 | andys8/purescript | tests/purs/docs/src/Ado.purs | [
"BSD-3-Clause"
] |
Class {
#name : #GtMonitorArgumentTypeValidator,
#superclass : #GtMonitorTypeValidator,
#instVars : [
'link',
'pragmas',
'validations'
],
#category : 'GToolkit-Monitor-Type Validator'
}
{ #category : #initialization }
GtMonitorArgumentTypeValidator >> initialize [
super initialize.
pragmas := self pragmas.
validations := self validations
]
{ #category : #installation }
GtMonitorArgumentTypeValidator >> install [
self uninstall.
link := MetaLink new
metaObject: self;
selector: #validateArguments:receiver:method:;
arguments: #(arguments receiver method).
self relevantMethods do: [ :eachMethod | eachMethod ast link: link ]
]
{ #category : #installation }
GtMonitorArgumentTypeValidator >> isInstalled [
^ link notNil
]
{ #category : #initialization }
GtMonitorArgumentTypeValidator >> link [
^ link
]
{ #category : #'private - validation' }
GtMonitorArgumentTypeValidator >> logErrors: theErrors in: aCompiledMethod [
NonInteractiveTranscript stderr
cr; cr;
nextPutAll: '======================================================='; cr; cr;
nextPutAll: 'Arguments type validation failed in ';
nextPutAll: aCompiledMethod printString; cr; cr;
nextPutAll: 'Errors:'; cr.
theErrors do: [ :eachError |
NonInteractiveTranscript stderr
space; space;
nextPutAll: eachError asString; cr ].
NonInteractiveTranscript stderr cr; nextPutAll: '======================================================='; cr; cr; cr.
]
{ #category : #initialization }
GtMonitorArgumentTypeValidator >> pragmas [
^ self validations keys
]
{ #category : #'private - validation' }
GtMonitorArgumentTypeValidator >> relevantMethods [
^ self pragmas flatCollect: [ :eachPragma | eachPragma gtPragmas result collect: #yourself ] as: Set
]
{ #category : #installation }
GtMonitorArgumentTypeValidator >> uninstall [
link
ifNotNil: [ :aMetaLink | aMetaLink uninstall ].
link := nil
]
{ #category : #'private - validation' }
GtMonitorArgumentTypeValidator >> validateArgument: anArgumentObject isKindOf: aClassName [
^ self class environment
at: aClassName
ifPresent: [ :aClass |
(anArgumentObject isKindOf: aClass)
ifTrue: [ GtMonitorTypeValidatorOk uniqueInstance ]
ifFalse: [ GtMonitorTypeValidatorWrongClassError new
expectedClassName: aClassName;
actualClassName: anArgumentObject class name ] ]
ifAbsent: [ GtMonitorTypeValidatorClassTypeDoesNotExistError new argumentClassName: aClassName ]
]
{ #category : #'private - validation' }
GtMonitorArgumentTypeValidator >> validateArgument: anArgumentObject satisfies: aCondition [
| satisfies |
satisfies := [ aCondition isSymbol
ifTrue: [ anArgumentObject perform: aCondition ]
ifFalse: [ (self class evaluate: aCondition asString) value: anArgumentObject ] ]
on: Error
do: [ :anError | false ].
^ satisfies
ifTrue: [ GtMonitorTypeValidatorOk uniqueInstance ]
ifFalse: [ GtMonitorTypeValidatorDoesNotSatisfyConditionError new condition:aCondition ]
]
{ #category : #'private - validation' }
GtMonitorArgumentTypeValidator >> validateArguments: theArguments receiver: aReceiverObject method: aCompiledMethod [
| theInterestingPragmas supportedPragmas theArgumentsDictionary validationResults errors |
supportedPragmas := self pragmas.
theInterestingPragmas := aCompiledMethod pragmas select: [ :eachPragma | supportedPragmas includes: eachPragma selector ].
theArgumentsDictionary := Dictionary new.
aCompiledMethod argumentNames
with: theArguments
do: [ :eachName :eachArgument | theArgumentsDictionary at: eachName put: eachArgument ].
validationResults := theInterestingPragmas collect: [ :eachPragma |
theArgumentsDictionary
at: eachPragma arguments first
ifPresent: [ :anArgumentObject |
validations
at: eachPragma selector
ifPresent: [ :aValidation |
| aResult |
aResult := aValidation value: anArgumentObject value: eachPragma.
aResult isOk
ifFalse: [
aResult
argumentName: eachPragma arguments first;
argumentObject: anArgumentObject;
pragma: eachPragma;
method: aCompiledMethod ].
aResult ]
ifAbsent: [ GtMonitorTypeValidatorOk uniqueInstance ] ]
ifAbsent: [ GtMonitorTypeValidatorOk uniqueInstance ] ].
errors := validationResults reject: [ :eachResult | eachResult isOk ].
errors ifNotEmpty: [ :theErrors |
self logErrors: theErrors in: aCompiledMethod.
self error: (String streamContents: [ :aStream |
theErrors do: [ :eachError | aStream
nextPutAll: eachError argumentName;
space;
nextPut: $(;
nextPutAll: eachError argumentObject class name;
nextPut: $) ] separatedBy: [ aStream nextPut: $,; space ].
aStream
nextPutAll: ' had wrong type(s) in ';
nextPutAll: aCompiledMethod printString ]) ]
]
{ #category : #initialization }
GtMonitorArgumentTypeValidator >> validations [
^ {
#argument:isKindOf: -> [ :anArgumentObject :aPragma | self validateArgument: anArgumentObject isKindOf: aPragma arguments second ].
#argument:satisfies: -> [ :anArgumentObject :aPragma | self validateArgument: anArgumentObject satisfies: aPragma arguments second ].
} asDictionary
]
| Smalltalk | 5 | feenkcom/gtoolk | src/GToolkit-Monitor/GtMonitorArgumentTypeValidator.class.st | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import 'mocha';
import * as vscode from 'vscode';
import { acceptFirstSuggestion, typeCommitCharacter } from '../../test/suggestTestHelpers';
import { assertEditorContents, Config, createTestEditor, enumerateConfig, joinLines, updateConfig, VsCodeConfiguration } from '../../test/testUtils';
import { disposeAll } from '../../utils/dispose';
const testDocumentUri = vscode.Uri.parse('untitled:test.ts');
const insertModes = Object.freeze(['insert', 'replace']);
suite.skip('TypeScript Completions', () => {
const configDefaults = Object.freeze<VsCodeConfiguration>({
[Config.autoClosingBrackets]: 'always',
[Config.typescriptCompleteFunctionCalls]: false,
[Config.insertMode]: 'insert',
[Config.snippetSuggestions]: 'none',
[Config.suggestSelection]: 'first',
[Config.javascriptQuoteStyle]: 'double',
[Config.typescriptQuoteStyle]: 'double',
});
const _disposables: vscode.Disposable[] = [];
let oldConfig: { [key: string]: any } = {};
setup(async () => {
// the tests assume that typescript features are registered
await vscode.extensions.getExtension('vscode.typescript-language-features')!.activate();
// Save off config and apply defaults
oldConfig = await updateConfig(testDocumentUri, configDefaults);
});
teardown(async () => {
disposeAll(_disposables);
// Restore config
await updateConfig(testDocumentUri, oldConfig);
return vscode.commands.executeCommand('workbench.action.closeAllEditors');
});
test('Basic var completion', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`const abcdef = 123;`,
`ab$0;`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`const abcdef = 123;`,
`abcdef;`
),
`config: ${config}`
);
});
});
test('Should treat period as commit character for var completions', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`const abcdef = 123;`,
`ab$0;`
);
await typeCommitCharacter(testDocumentUri, '.', _disposables);
assertEditorContents(editor,
joinLines(
`const abcdef = 123;`,
`abcdef.;`
),
`config: ${config}`);
});
});
test('Should treat paren as commit character for function completions', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`function abcdef() {};`,
`ab$0;`
);
await typeCommitCharacter(testDocumentUri, '(', _disposables);
assertEditorContents(editor,
joinLines(
`function abcdef() {};`,
`abcdef();`
), `config: ${config}`);
});
});
test('Should insert brackets when completing dot properties with spaces in name', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
'const x = { "hello world": 1 };',
'x.$0'
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
'const x = { "hello world": 1 };',
'x["hello world"]'
), `config: ${config}`);
});
});
test('Should allow commit characters for backet completions', async () => {
for (const { char, insert } of [
{ char: '.', insert: '.' },
{ char: '(', insert: '()' },
]) {
const editor = await createTestEditor(testDocumentUri,
'const x = { "hello world2": 1 };',
'x.$0'
);
await typeCommitCharacter(testDocumentUri, char, _disposables);
assertEditorContents(editor,
joinLines(
'const x = { "hello world2": 1 };',
`x["hello world2"]${insert}`
));
disposeAll(_disposables);
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
}
});
test('Should not prioritize bracket accessor completions. #63100', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
// 'a' should be first entry in completion list
const editor = await createTestEditor(testDocumentUri,
'const x = { "z-z": 1, a: 1 };',
'x.$0'
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
'const x = { "z-z": 1, a: 1 };',
'x.a'
),
`config: ${config}`);
});
});
test('Accepting a string completion should replace the entire string. #53962', async () => {
const editor = await createTestEditor(testDocumentUri,
'interface TFunction {',
` (_: 'abc.abc2', __ ?: {}): string;`,
` (_: 'abc.abc', __?: {}): string;`,
`}`,
'const f: TFunction = (() => { }) as any;',
`f('abc.abc$0')`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
'interface TFunction {',
` (_: 'abc.abc2', __ ?: {}): string;`,
` (_: 'abc.abc', __?: {}): string;`,
`}`,
'const f: TFunction = (() => { }) as any;',
`f('abc.abc')`
));
});
test('completeFunctionCalls should complete function parameters when at end of word', async () => {
await updateConfig(testDocumentUri, { [Config.typescriptCompleteFunctionCalls]: true });
// Complete with-in word
const editor = await createTestEditor(testDocumentUri,
`function abcdef(x, y, z) { }`,
`abcdef$0`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`function abcdef(x, y, z) { }`,
`abcdef(x, y, z)`
));
});
test.skip('completeFunctionCalls should complete function parameters when within word', async () => {
await updateConfig(testDocumentUri, { [Config.typescriptCompleteFunctionCalls]: true });
const editor = await createTestEditor(testDocumentUri,
`function abcdef(x, y, z) { }`,
`abcd$0ef`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`function abcdef(x, y, z) { }`,
`abcdef(x, y, z)`
));
});
test('completeFunctionCalls should not complete function parameters at end of word if we are already in something that looks like a function call, #18131', async () => {
await updateConfig(testDocumentUri, { [Config.typescriptCompleteFunctionCalls]: true });
const editor = await createTestEditor(testDocumentUri,
`function abcdef(x, y, z) { }`,
`abcdef$0(1, 2, 3)`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`function abcdef(x, y, z) { }`,
`abcdef(1, 2, 3)`
));
});
test.skip('completeFunctionCalls should not complete function parameters within word if we are already in something that looks like a function call, #18131', async () => {
await updateConfig(testDocumentUri, { [Config.typescriptCompleteFunctionCalls]: true });
const editor = await createTestEditor(testDocumentUri,
`function abcdef(x, y, z) { }`,
`abcd$0ef(1, 2, 3)`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`function abcdef(x, y, z) { }`,
`abcdef(1, 2, 3)`
));
});
test('should not de-prioritize `this.member` suggestion, #74164', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` private detail = '';`,
` foo() {`,
` det$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` private detail = '';`,
` foo() {`,
` this.detail`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Member completions for string property name should insert `this.` and use brackets', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` ['xyz 123'] = 1`,
` foo() {`,
` xyz$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` ['xyz 123'] = 1`,
` foo() {`,
` this["xyz 123"]`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Member completions for string property name already using `this.` should add brackets', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` ['xyz 123'] = 1`,
` foo() {`,
` this.xyz$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` ['xyz 123'] = 1`,
` foo() {`,
` this["xyz 123"]`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Accepting a completion in word using `insert` mode should insert', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'insert' });
const editor = await createTestEditor(testDocumentUri,
`const abc = 123;`,
`ab$0c`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`const abc = 123;`,
`abcc`
));
});
test('Accepting a completion in word using `replace` mode should replace', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'replace' });
const editor = await createTestEditor(testDocumentUri,
`const abc = 123;`,
`ab$0c`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`const abc = 123;`,
`abc`
));
});
test('Accepting a member completion in word using `insert` mode add `this.` and insert', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'insert' });
const editor = await createTestEditor(testDocumentUri,
`class Foo {`,
` abc = 1;`,
` foo() {`,
` ab$0c`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class Foo {`,
` abc = 1;`,
` foo() {`,
` this.abcc`,
` }`,
`}`,
));
});
test('Accepting a member completion in word using `replace` mode should add `this.` and replace', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'replace' });
const editor = await createTestEditor(testDocumentUri,
`class Foo {`,
` abc = 1;`,
` foo() {`,
` ab$0c`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class Foo {`,
` abc = 1;`,
` foo() {`,
` this.abc`,
` }`,
`}`,
));
});
test('Accepting string completion inside string using `insert` mode should insert', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'insert' });
const editor = await createTestEditor(testDocumentUri,
`const abc = { 'xy z': 123 }`,
`abc["x$0y w"]`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`const abc = { 'xy z': 123 }`,
`abc["xy zy w"]`
));
});
// Waiting on https://github.com/microsoft/TypeScript/issues/35602
test.skip('Accepting string completion inside string using insert mode should insert', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'replace' });
const editor = await createTestEditor(testDocumentUri,
`const abc = { 'xy z': 123 }`,
`abc["x$0y w"]`
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`const abc = { 'xy z': 123 }`,
`abc["xy w"]`
));
});
test('Private field completions on `this.#` should work', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` #xyz = 1;`,
` foo() {`,
` this.#$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` #xyz = 1;`,
` foo() {`,
` this.#xyz`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Private field completions on `#` should insert `this.`', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` #xyz = 1;`,
` foo() {`,
` #$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` #xyz = 1;`,
` foo() {`,
` this.#xyz`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Private field completions should not require strict prefix match (#89556)', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` #xyz = 1;`,
` foo() {`,
` this.xyz$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` #xyz = 1;`,
` foo() {`,
` this.#xyz`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Private field completions without `this.` should not require strict prefix match (#89556)', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` #xyz = 1;`,
` foo() {`,
` xyz$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` #xyz = 1;`,
` foo() {`,
` this.#xyz`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Accepting a completion for async property in `insert` mode should insert and add await', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'insert' });
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` xyz = Promise.resolve({ 'abc': 1 });`,
` async foo() {`,
` this.xyz.ab$0c`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` xyz = Promise.resolve({ 'abc': 1 });`,
` async foo() {`,
` (await this.xyz).abcc`,
` }`,
`}`,
));
});
test('Accepting a completion for async property in `replace` mode should replace and add await', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'replace' });
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` xyz = Promise.resolve({ 'abc': 1 });`,
` async foo() {`,
` this.xyz.ab$0c`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` xyz = Promise.resolve({ 'abc': 1 });`,
` async foo() {`,
` (await this.xyz).abc`,
` }`,
`}`,
));
});
test.skip('Accepting a completion for async string property should add await plus brackets', async () => {
await enumerateConfig(testDocumentUri, Config.insertMode, insertModes, async config => {
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` xyz = Promise.resolve({ 'ab c': 1 });`,
` async foo() {`,
` this.xyz.ab$0`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` xyz = Promise.resolve({ 'abc': 1 });`,
` async foo() {`,
` (await this.xyz)["ab c"]`,
` }`,
`}`,
),
`Config: ${config}`);
});
});
test('Replace should work after this. (#91105)', async () => {
await updateConfig(testDocumentUri, { [Config.insertMode]: 'replace' });
const editor = await createTestEditor(testDocumentUri,
`class A {`,
` abc = 1`,
` foo() {`,
` this.$0abc`,
` }`,
`}`,
);
await acceptFirstSuggestion(testDocumentUri, _disposables);
assertEditorContents(editor,
joinLines(
`class A {`,
` abc = 1`,
` foo() {`,
` this.abc`,
` }`,
`}`,
));
});
});
| TypeScript | 5 | KevinAo22/vscode | extensions/typescript-language-features/src/test/smoke/completions.test.ts | [
"MIT"
] |
#include "fbgemm_pack_matrix_cache.h"
#include <map>
#include <memory>
#include <mutex>
using namespace std;
namespace caffe2 {
template <typename ACC_T>
shared_ptr<fbgemm::PackBMatrix<int8_t, ACC_T>> GetOrCreateFbgemmPackBMatrix(
fbgemm::matrix_op_t trans,
int32_t m,
int32_t n,
const void* orig_data,
const int8_t* quantized_data,
int32_t ld) {
static std::map<
std::tuple<int, int, const void*>,
weak_ptr<fbgemm::PackBMatrix<int8_t, ACC_T>>>
cache;
static mutex cache_mutex;
// Create a new packed matrix and compare with cached one if there's any.
// Note that a cache miss is as expensive as a cache hit here, the purpose of
// this cache is only to deduplicate the quantized tensors for improved
// memory bandwidth if different nets share copies of the same operator.
// TODO: make this cheaper by computing hash of fdata.
auto new_packed = make_shared<fbgemm::PackBMatrix<int8_t, ACC_T>>(
trans,
m,
n,
quantized_data,
ld,
nullptr, // pmat
1); // groups
std::tuple<int, int, const void*> key(m, n, orig_data);
std::shared_ptr<fbgemm::PackBMatrix<int8_t, ACC_T>> cache_entry;
{
lock_guard<mutex> lock(cache_mutex);
auto itr = cache.find(key);
if (itr != cache.end()) {
cache_entry = itr->second.lock();
}
} // release lock here during expensive equals()
if (!cache_entry || !cache_entry->metaEquals(*new_packed) ||
!cache_entry->equals(*new_packed)) {
// cache miss
lock_guard<mutex> lock(cache_mutex);
cache[key] = new_packed;
return new_packed;
} else {
return cache_entry;
}
}
template shared_ptr<fbgemm::PackBMatrix<int8_t, int16_t>>
GetOrCreateFbgemmPackBMatrix<int16_t>(
fbgemm::matrix_op_t trans,
int32_t m,
int32_t n,
const void* orig_data,
const int8_t* quantized_data,
int32_t ld);
template shared_ptr<fbgemm::PackBMatrix<int8_t, int32_t>>
GetOrCreateFbgemmPackBMatrix<int32_t>(
fbgemm::matrix_op_t trans,
int32_t m,
int32_t n,
const void* orig_data,
const int8_t* quantized_data,
int32_t ld);
} // namespace caffe2
| C++ | 5 | Hacky-DH/pytorch | caffe2/quantization/server/fbgemm_pack_matrix_cache.cc | [
"Intel"
] |
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Pass/PassRegistry.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes_detail.h"
namespace mlir {
namespace TF {
namespace {
constexpr char kShapeInvariantAttr[] = "shape_invariant";
class DropWhileShapeInvariantPass
: public DropWhileShapeInvariantPassBase<DropWhileShapeInvariantPass> {
void runOnFunction() override;
};
class DropWhileShapeInvariantInDeviceClusterPass
: public DropWhileShapeInvariantInDeviceClusterPassBase<
DropWhileShapeInvariantInDeviceClusterPass> {
void runOnFunction() override;
};
void DropWhileShapeInvariantAttr(Operation* op) {
if (llvm::isa<WhileOp, WhileRegionOp>(op))
op->removeAttr(kShapeInvariantAttr);
}
void DropWhileShapeInvariantPass::runOnFunction() {
getFunction().walk([](Operation* op) { DropWhileShapeInvariantAttr(op); });
}
void DropWhileShapeInvariantInDeviceClusterPass::runOnFunction() {
getFunction().walk([](tf_device::ClusterOp cluster) {
cluster.walk([](Operation* op) { DropWhileShapeInvariantAttr(op); });
});
}
} // namespace
std::unique_ptr<OperationPass<FuncOp>> CreateDropWhileShapeInvariantPass() {
return std::make_unique<DropWhileShapeInvariantPass>();
}
std::unique_ptr<OperationPass<FuncOp>>
CreateDropWhileShapeInvariantInDeviceClusterPass() {
return std::make_unique<DropWhileShapeInvariantInDeviceClusterPass>();
}
} // namespace TF
} // namespace mlir
| C++ | 3 | ashutom/tensorflow-upstream | tensorflow/compiler/mlir/tensorflow/transforms/drop_while_shape_invariant.cc | [
"Apache-2.0"
] |
//line x14.go:4
package main
func F14() {}
| Go | 0 | Havoc-OS/androidprebuilts_go_linux-x86 | test/dwarf/dwarf.dir/z14.go | [
"BSD-3-Clause"
] |
robbery 0.0 0.20362490735958277 0.34820613617069018 0.0 0.0 0.0 0.0 0.24857629522184904 0.68913272314128349 0.0 0.0 0.25626864084500478 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.26119475918106039 1.3822799037012288 0.28366761503311899 0.0 2.7685742648211193 0.37067899202274884 0.0 0.5713496874849 2.0754270842611739 0.0 0.0 0.0 0.68913272314128349 0.0
plough 0.24284562051286399 0.0 0.61057040063818124 0.3654479426051962 0.0 0.0 0.19772518523239427 0.0 0.0 0.0 0.0 0.11316779720433139 0.0 0.57778057781519054 0.0 0.0 0.0 0.48540725768417514 0.0 0.0 0.0 0.0 0.42824884384422651 0.0 0.63304325649023985 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
make_off 0.069826456381222771 0.0 0.25522967971258564 0.0 1.0661598959289142 0.0 0.31238809355253394 0.065987680074057115 0.37301271536896891 0.0545589842504344 0.0 0.0 0.58065208014721348 0.0 0.14986916405475922 0.25522967971258548 0.25522967971258548 0.31238809355253394 0.074967855881641274 0.0 0.0 0.0 0.4093803595398437 0.0 0.27770253556464414 0.0 0.0 0.0 0.50654410799349148 0.0 0.0 0.0 0.0
set_fire 0.0 0.0 0.0 0.87627356637118703 0.0 0.0 1.1140159171065491 0.462150395519908 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.35334753567110877 0.022783735736062266 0.0 1.7500046838265459 0.93907446761021718 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
raid 0.0 0.0 0.0 0.58859149391940602 2.5609349000428749 0.0 0.42086873654660389 0.17446832306812704 0.0 0.0 0.0 0.33631134851854111 2.0754270842611744 0.0 1.6446441681687198 1.0568575032666008 0.0 0.0 0.065665463219327758 0.0 0.0 0.0 0.65139239515843628 0.0 0.0 0.0 0.0 0.0 2.0013191121074518 0.0 0.0 0.0 0.0
smash 0.0 0.0 0.13020398435689912 0.1082250776381239 1.1642777518874377 0.29928031440083314 0.0 0.0 0.0 0.1526768402089578 0.065665463219327966 0.32594856148299456 0.67876993610573688 0.0 0.24798702001328268 0.065665463219327966 0.0 0.2281843927171027 0.055302676183781194 0.0 0.0 0.065665463219327966 0.0 0.0 0.1526768402089578 0.0 0.35334753567110894 0.0 0.60466196395201488 0.065665463219327966 0.0 0.47113057132749225 0.0
ram 0.0 0.0 0.17231546970702616 0.24564674279257581 0.0 0.0 0.0 0.07268562875818485 0.0 0.19478832555908465 0.10777694856945491 0.080377974381340381 0.72088142145586398 0.13952564688403535 0.2900985053634097 0.10777694856945491 0.0 0.047152326753020002 0.0 0.0 1.2063892372375646 0.10777694856945491 0.0 0.0 0.19478832555908465 0.0 0.39545902102123587 0.0 0.64677344930214187 0.0 1.89953641779751 0.51324205667761935 0.0
estimate 0.0 0.0 0.0 0.7709130507133608 0.0 0.0 0.60319029334055874 0.35678987986208183 0.95149698760877444 0.0 0.0 0.0 1.1591363523870191 0.0 1.4215006168545101 0.83371395195239106 0.0 0.48540725768417514 0.53566909246506345 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
investigate 0.0 0.0 0.0 0.7709130507133608 0.0 0.0 1.9894846544604494 0.0 0.0 0.0 0.0 0.0 0.0 0.98324568592335504 0.0 0.0 0.0 0.0 0.0 0.0 4.1295508179567202 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
grab 0.0 0.088694940685605683 0.0 0.0087729986664639263 1.4215006168545101 0.0 0.19772518523239427 0.13364632854787203 0.035206255734619482 1.1030468857359756 1.0160355087463457 0.0 0.93599280107280947 0.0 0.50520988498035513 0.3228883281864004 0.0 0.0 0.31252554115085379 0.0 0.0 0.3228883281864004 0.20510529253001683 0.0 0.0 1.4215006168545101 0.61057040063818147 0.0 0.86188482891908746 0.0 0.0 0.0 0.0
steal 0.34820613617069018 0.41719900765764178 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.39545902102123587 0.0 0.245927287050272 1.6322216481701626 0.99623288145016586 0.0 0.71593091629600758 0.0 1.3445395757183816 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.3445395757183816 0.0 1.7500046838265459 0.0
ablaze 0.0 0.31183849199981556 1.0160355087463457 0.077765870153415462 0.0 0.0 0.60319029334055874 0.35678987986208183 0.0 2.4248027257182949 2.3377913487286652 0.51863290531249584 0.0 0.0 0.0 0.0 0.0 0.0 0.24798702001328252 0.0 0.0 0.0 0.0 0.0 1.0385083645984043 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
hit 0.46598917182707361 0.12951693520586072 0.54603187950061016 0.0 0.0 0.0 0.0 0.040936930443604441 0.48149335836303891 0.0 0.0 0.20277995589401832 0.0 0.33092049988366462 0.0 0.0 0.36371032270665554 0.0 0.0 0.14056677139244572 0.0 0.076028250254874391 0.0 0.0 0.56850473535266877 0.0 0.0 0.0 0.0 0.076028250254874391 0.0 0.48149335836303891 0.0
worth 0.31183849199981528 0.19850980669281221 0.0 0.30090942146762512 0.0 0.15549242160912136 0.0 0.2434611945550785 0.32734267853578058 0.0 0.61502475098756149 0.0 0.0 0.0 0.79734630778151616 0.20955964287939721 0.20955964287939721 0.0 0.0 0.27409816401696829 0.0 0.0 0.497241715331178 0.0 0.0088889474172459942 0.0 0.9027068234393425 0.0 0.0 0.61502475098756149 0.0 0.0 3.0999314007755618
pull_off 0.75367124427885457 0.41719900765764178 0.0 0.0 0.0 0.0 0.70855080899838496 0.462150395519908 0.0 0.0 0.0 0.62399342097032195 0.0 1.088606201581181 0.0 0.0 0.0 0.0 0.35334753567110877 0.022783735736062266 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
home 0.0 0.0 0.0 0.87627356637118703 0.0 0.0 0.70855080899838496 0.462150395519908 0.0 0.0 0.0 0.0 0.0 0.0 1.9323262406205008 1.3445395757183818 0.0 0.0 0.35334753567110877 0.0 0.0 0.0 0.93907446761021718 0.0 0.0 0.0 0.0 0.0 2.2890011845592331 0.0 0.0 0.0 0.0
anonymous 0.14753544070853916 0.50421038464727153 0.0 0.0 0.0 0.0 0.0 0.26147970005775689 0.85618680780444956 1.2308802572458604 1.1438688802562305 0.71100479795995175 0.0 0.0 0.0 0.0 0.0 0.0 0.44035891266073857 0.33293866403990174 0.0 0.0 0.33293866403990158 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
spate 0.0 0.33204119931733478 0.52541259229787451 0.0 0.0 0.28902381423364393 0.0 0.0 0.46087407116030321 0.0 0.0 0.31569206131580535 0.0 0.64677344930214198 0.0 0.0 1.036238216063865 0.0 0.26818972733080182 0.27409816401696829 0.0 0.0 0.0 0.0 0.54788544814993301 0.0 1.036238216063865 0.0 0.0 0.74855614361208411 0.0 0.0 0.0
nab 0.0 0.12951693520586072 0.83371395195239106 0.0 0.0 0.0 0.42086873654660389 0.17446832306812704 0.0 2.24248116892434 2.1554697919347103 1.0294585290784863 0.0 0.0 0.0 0.0 0.0 0.0 0.065665463219327758 0.0 0.0 0.0 0.0 0.0 0.85618680780444956 3.2540820806028203 0.0 0.0 0.0 0.0 0.0 0.0 0.0
flee 0.55300054881670346 0.21652831219549074 0.0 0.0 0.0 1.7829488395459001 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.19478832555908482 0.0 0.0 1.8370160608161759 0.79556218598801487 0.15267684020895764 0.92072532894202075 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
scoop_up 0.0 0.0 0.0 0.9940566020275704 0.0 0.0 0.82633384465476833 0.57993343117629148 0.0 0.0 0.0 0.0 0.0 0.0 2.0501092762768844 1.4623226113747652 0.0 0.0 0.47113057132749225 0.0 0.0 0.0 1.0568575032666008 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
heist 0.42516717730681858 0.16873764835914212 0.0 0.0 0.035206255734619482 0.5565031793679055 0.0 0.0 0.0 0.0 0.0 0.11316779720433139 0.0 0.35463702650098083 0.0 0.0 0.83371395195239106 0.66772881447812982 0.0 0.0 0.0 0.3228883281864004 0.0 0.0 0.0 0.0 0.61057040063818147 0.0 0.0 0.72835343629456484 0.0 0.72835343629456484 0.0
Raid 0.64831072862102834 0.31183849199981556 0.0 0.077765870153415462 0.0 1.8782590193502249 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.2900985053634097 0.0 0.0 0.0 0.89087236579233975 0.0 0.83371395195239106 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.6446441681687198 0.0 0.0 0.0
theft 0.0 0.0 0.0 0.7709130507133608 0.0 0.0 1.9894846544604494 0.0 0.0 0.0 0.0 0.0 0.0 0.98324568592335504 0.0 0.0 0.0 0.0 0.0 0.0 3.4364036373967748 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 4.1295508179567202 0.0 0.0
set 0.0 0.31183849199981556 1.0160355087463457 0.077765870153415462 0.0 0.0 0.60319029334055874 0.35678987986208183 0.0 2.4248027257182949 0.0 0.51863290531249584 0.0 0.0 0.0 0.0 0.0 0.0 0.24798702001328252 0.0 0.0 0.0 0.0 0.0 1.0385083645984043 3.4364036373967748 0.0 0.0 0.0 0.0 0.0 0.0 0.0
reverse 0.0 0.0 0.0 1.127587994652093 0.0 0.0 0.95986523727929096 0.713464823800814 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.5958540039992879 0.0 0.0 0.60466196395201488 0.0 0.0 0.0 1.1903888958911233 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
escape 0.0 0.822664115765806 0.0 0.0 0.0 0.0 1.1140159171065491 0.0 0.0 0.0 0.0 0.0 0.0 0.80092412912940025 0.0 1.7500046838265462 0.0 0.0 0.0 1.1213960244041719 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
crash 0.0 0.21652831219549074 0.92072532894202097 0.0 0.0 0.0 0.50788011353623375 0.26147970005775689 0.0 0.0 2.24248116892434 1.1164699060681162 0.0 0.0 0.0 0.0 0.0 0.0 0.15267684020895764 0.0 0.0 0.0 0.0 0.0 0.94319818479407946 3.34109345759245 0.0 0.0 0.0 0.0 0.0 0.0 0.0
value 0.0 0.0 0.0 0.7709130507133608 0.0 0.0 0.60319029334055874 0.35678987986208183 0.0 0.0 0.0 0.0 2.2577486410551288 0.0 1.8269657249626745 1.2391790600605554 0.0 0.0 0.24798702001328252 0.0 0.0 0.0 0.83371395195239106 0.0 0.0 0.0 0.0 0.0 2.1836406689014067 0.0 0.0 0.0 0.0
wish 0.088694940685605489 0.44536988462433807 1.1495669013708683 0.0 0.0 0.0 0.0 0.20263920003482344 0.79734630778151616 1.1720397572229269 1.085028380233297 0.65216429793701836 0.0 0.0 0.0 0.0 0.0 0.0 0.38151841263780517 0.27409816401696829 0.0 0.0 0.27409816401696813 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
string 0.0 0.53498204331402521 0.0 0.0 0.0 0.0 0.0 0.57993343117629148 0.0 0.0 0.0 0.74177645662670544 0.0 0.51324205667761935 0.0 1.4623226113747652 0.0 1.1140159171065493 0.0 0.14056677139244572 0.0 2.5609349000428749 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
drive 0.49989072350275504 0.0 0.0 0.0 0.0 0.12040110179785127 0.0 0.0 0.29225135872451047 0.66694480816592128 0.57993343117629137 0.55253445698817705 0.0 0.1416785002451364 0.0 0.0 0.86761550362807238 0.0 0.099567014895009215 0.55746057532423277 0.0 0.57993343117629137 0.0 0.0 0.0 0.0 0.86761550362807238 0.0 0.0 0.57993343117629137 0.0 0.0 0.0
Stolen 0.55300054881670346 0.21652831219549074 0.0 0.0 0.0 1.7829488395459001 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.19478832555908482 0.0 0.0 0.0 0.79556218598801487 0.0 0.73840377214806618 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.34109345759245 0.0 1.5493339883643948 0.0 0.0 0.0
Hit 0.0 0.12951693520586072 0.0 0.0 0.0 1.6959374625562702 0.42086873654660389 0.17446832306812704 0.0 0.0 0.0 0.33631134851854111 0.0 0.10777694856945491 0.0 1.0568575032666008 0.0 0.70855080899838496 0.0 0.42824884384422662 0.0 2.1554697919347103 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.5609349000428749 0.0
| DM | 0 | tommasoc80/EventStoryLine | ppmi_events_ecb+_test/24/full_corpus_ppmi.dm | [
"CC-BY-3.0"
] |
--TEST--
odbc_data_source(): Basic test
--EXTENSIONS--
odbc
--SKIPIF--
<?php
include 'skipif.inc';
if (odbc_data_source($conn, SQL_FETCH_FIRST) === NULL) {
die("skip no data sources defined on this system");
}
?>
--FILE--
<?php
include 'config.inc';
$conn = odbc_connect($dsn, $user, $pass);
try {
var_dump(odbc_data_source($conn, NULL));
} catch (\ValueError $e) {
echo $e->getMessage() . \PHP_EOL;
}
var_dump(odbc_data_source($conn, SQL_FETCH_FIRST));
?>
--EXPECTF--
odbc_data_source(): Argument #2 ($fetch_type) must be either SQL_FETCH_FIRST or SQL_FETCH_NEXT
array(%d) {
%a
}
| PHP | 3 | NathanFreeman/php-src | ext/odbc/tests/odbc_data_source_001.phpt | [
"PHP-3.01"
] |
"""Test the Binary Sensor significant change platform."""
from homeassistant.components.binary_sensor.significant_change import (
async_check_significant_change,
)
async def test_significant_change():
"""Detect Binary Sensor significant changes."""
old_attrs = {"attr_1": "value_1"}
new_attrs = {"attr_1": "value_2"}
assert (
async_check_significant_change(None, "on", old_attrs, "on", old_attrs) is False
)
assert (
async_check_significant_change(None, "on", old_attrs, "on", new_attrs) is False
)
assert (
async_check_significant_change(None, "on", old_attrs, "off", old_attrs) is True
)
| Python | 4 | tbarbette/core | tests/components/binary_sensor/test_significant_change.py | [
"Apache-2.0"
] |
fileFormatVersion: 2
guid: 1cf3ef0a332884c299335f3fbe8a21fc
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| Unity3D Asset | 0 | netdrones/ml-agents | Project/Assets/ML-Agents/Examples/Sorter/Prefabs/Area.prefab.meta | [
"Apache-2.0"
] |
/** CSS by Wain. */
body {
background-color: #e9eef3;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
font-size: 12px;
}
td {
font-size: 14px;
}
#header {
background-color: #dde3e9;
border-bottom: 1px solid #f2f7fc;
}
#header h1 {
font-size: 15px;
font-weight: bold;
margin: 0;
padding: 12px;
border-bottom: 1px solid #c8d0d9;
}
#header span {
font-weight: normal;
color: #5e6b75;
}
#footer {
width: 100%;
text-align:center;
padding-top: 12px;
}
#footer a {
text-decoration:none;
color: #5e6b75;
}
| CSS | 4 | tangoblast817/zxing | zxing.appspot.com/src/main/webapp/style.css | [
"Apache-2.0"
] |
CLASS zcl_abapgit_object_ecvo DEFINITION
PUBLIC
INHERITING FROM zcl_abapgit_object_ecatt_super
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
PROTECTED SECTION.
METHODS:
get_object_type REDEFINITION,
get_upload REDEFINITION,
get_download REDEFINITION,
get_lock_object REDEFINITION.
PRIVATE SECTION.
ENDCLASS.
CLASS zcl_abapgit_object_ecvo IMPLEMENTATION.
METHOD get_download.
CREATE OBJECT ro_download TYPE zcl_abapgit_ecatt_val_obj_down.
ENDMETHOD.
METHOD get_lock_object.
rv_lock_object = 'E_ECATT_TD'.
ENDMETHOD.
METHOD get_object_type.
* constant missing in 702, cl_apl_ecatt_const=>obj_type_ecatt_vo
rv_object_type = 'ECVO'.
ENDMETHOD.
METHOD get_upload.
CREATE OBJECT ro_upload TYPE zcl_abapgit_ecatt_val_obj_upl.
ENDMETHOD.
ENDCLASS.
| ABAP | 3 | amit3kumar/ABAP_ALL | src/objects/zcl_abapgit_object_ecvo.clas.abap | [
"MIT"
] |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>no opener</title>
</head>
<body>
<button id="winopen" type="button" onclick="winopen()">Open</button>
<button id="showopener" type="button" onclick="showopener('result')">Show Opener</button>
<script>
function out(id, msg) {
var result = document.createElement('h1');
result.setAttribute('id', id);
result.innerHTML = msg;
document.body.appendChild(result);
}
function winopen() {
window.open('https://localhost:{port}/index.html');
}
function showopener(id) {
out(id, window.opener ? 'success': 'false');
}
</script>
</body>
</html> | Smarty | 3 | namaljayathunga/nw.js | test/remoting/issue4184-no-opener/index.tpl | [
"MIT"
] |
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h"
#include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_context.h"
#include "tensorflow/core/platform/test.h"
namespace tensorflow {
namespace generator {
namespace cpp {
namespace {
TEST(Renderer, typical_usage) {
class TestRenderer : Renderer {
public:
explicit TestRenderer(SourceCode& code)
: Renderer(
{RendererContext::kSource, code, CppConfig(), PathConfig()}) {}
void Render() {
CommentLine("File level comment.");
CodeLine("#include \"header.h\"");
BlankLine();
BlockOpen("void TestFunction()");
{
Statement("int i = 1");
BlankLine();
BlockOpen("while (i == 1)");
{
CommentLine("Do nothing, really....");
CodeLine("#if 0");
Statement("call()");
CodeLine("#endif");
BlockClose();
}
BlockClose(" // comment ending TestFunction");
}
}
};
SourceCode code;
TestRenderer(code).Render();
string expected = R"(// File level comment.
#include "header.h"
void TestFunction() {
int i = 1;
while (i == 1) {
// Do nothing, really....
#if 0
call();
#endif
}
} // comment ending TestFunction
)";
code.SetSpacesPerIndent(3);
EXPECT_EQ(expected, code.Render());
}
} // namespace
} // namespace cpp
} // namespace generator
} // namespace tensorflow
| C++ | 5 | EricRemmerswaal/tensorflow | tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc | [
"Apache-2.0"
] |
package RegTest;
import DReg::*;
module mkTb ();
Reg#(int) cnt <- mkReg(0);
rule up_counter; // rule 每时钟周期都会执行一次
cnt <= cnt + 1;
if(cnt > 9) $finish;
endrule
Reg#(int) reg1 <- mkReg(99); // reg1 初值 = 99
Reg#(int) reg2 <- mkDReg(99); // reg2 默认值 = 99
rule test (cnt%3 == 0); // 只在能整除3的周期执行,相当于每3周期执行一次
reg1 <= -cnt;
reg2 <= -cnt;
endrule
rule show;
$display("cnt=%2d reg1=%2d reg2=%2d", cnt, reg1, reg2);
endrule
endmodule
endpackage
| Bluespec | 4 | Xiefengshang/BSV_Tutorial_cn | src/6.RegTest/RegTest.bsv | [
"MIT"
] |
coforall i in 1..2 {
halt("This should only get printed once");
}
| Chapel | 3 | jhh67/chapel | test/exits/bradc/multipleHalts.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
<xsl:template match='/'>
<refcheck>
<xsl:apply-templates select='//xref' mode='missing'/>
<xsl:apply-templates select='//reference' mode='orphans'/>
<xsl:apply-templates select='//references[@dwdrfc-type = "norm"]' mode='normcheck'/>
<xsl:apply-templates select='//xref[@dwdrfc-type = "norm"]' mode='normrefs'/>
</refcheck>
</xsl:template>
<xsl:template match='xref' mode='missing'>
<xsl:param name='refname'>
<xsl:value-of select='@target'/>
</xsl:param>
<xsl:param name='reftgt'>
<xsl:value-of select='//*[@anchor = $refname]/@anchor'/>
</xsl:param>
<xsl:choose>
<xsl:when test='$reftgt = $refname'/>
<xsl:otherwise>
<missing><xsl:value-of select='$refname'/></missing><xsl:text>
</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match='xref' mode='normrefs'>
<xsl:param name='refname'>
<xsl:value-of select='@target'/>
</xsl:param>
<xsl:param name='reftgt'>
<xsl:value-of select='//references[@dwdrfc-type = "norm"]/*[@anchor = $refname]/@anchor'/>
</xsl:param>
<xsl:choose>
<xsl:when test='$reftgt = $refname'/>
<xsl:otherwise>
<missing-norm><xsl:value-of select='$refname'/></missing-norm><xsl:text>
</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match='reference' mode='orphans'>
<xsl:param name='refname'>
<xsl:value-of select='@anchor'/>
</xsl:param>
<xsl:param name='reftgt'>
<xsl:value-of select='//xref[@target = $refname]/@target'/>
</xsl:param>
<xsl:if test='$reftgt != $refname'>
<orphan><xsl:value-of select='$refname'/></orphan><xsl:text>
</xsl:text>
</xsl:if>
</xsl:template>
<xsl:template match='references' mode='normcheck'>
<xsl:apply-templates mode='normcheck'/>
</xsl:template>
<xsl:template match='*' mode='normcheck'>
<!-- Need to find at least one normative reference -->
<xsl:param name='refname'>
<xsl:value-of select='@anchor'/>
</xsl:param>
<xsl:param name='reftgt'>
<xsl:value-of select='//xref[@dwdrfc-type = "norm" and @target = $refname]/@target'/>
</xsl:param>
<xsl:if test='$refname != $reftgt'>
<normchk><xsl:value-of select='$refname'/></normchk><xsl:text>
</xsl:text>
</xsl:if>
</xsl:template>
<xsl:template match='text()' mode='normcheck'/>
</xsl:stylesheet>
| XSLT | 4 | kraj/memcached | doc/xml2rfc/rfc2629-refchk.xsl | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
import FuzzyCompletions: complete_path, completion_text, score
import Distributed
import .PkgCompat: package_completions
using Markdown
import REPL
###
# RESPONSES FOR AUTOCOMPLETE & DOCS
###
function format_path_completion(completion)
replace(replace(completion_text(completion), "\\ " => " "), "\\\\" => "\\")
end
responses[:completepath] = function response_completepath(🙋::ClientRequest)
path = 🙋.body["query"]
pos = lastindex(path)
results, loc, found = complete_path(path, pos)
isenough(x) = x ≥ -0.1
filter!(isenough ∘ score, results) # too many candiates otherwise. -0.1 instead of 0 to enable autocompletions for paths: `/` or `/asdf/`
start_utf8 = let
# REPLCompletions takes into account that spaces need to be prefixed with `\` in the shell, so it subtracts the number of spaces in the filename from `start`:
# https://github.com/JuliaLang/julia/blob/c54f80c785a3107ae411267427bbca05f5362b0b/stdlib/REPL/src/REPLCompletions.jl#L270
# we don't use prefixes, so we need to reverse this.
# this is from the Julia source code:
# https://github.com/JuliaLang/julia/blob/c54f80c785a3107ae411267427bbca05f5362b0b/stdlib/REPL/src/REPLCompletions.jl#L195-L204
if Base.Sys.isunix() && occursin(r"^~(?:/|$)", path)
# if the path is just "~", don't consider the expanded username as a prefix
if path == "~"
dir, prefix = homedir(), ""
else
dir, prefix = splitdir(homedir() * path[2:end])
end
else
dir, prefix = splitdir(path)
end
loc.start + count(isequal(' '), prefix)
end
stop_utf8 = nextind(path, pos) # advance one unicode char, js uses exclusive upper bound
scores = [max(0.0, score(r)) for r in results]
formatted = format_path_completion.(results)
# sort on score. If a tie (e.g. both score 0.0), sort on dir/file. If a tie, sort alphabetically.
perm = sortperm(collect(zip(.-scores, (!isdirpath).(formatted), formatted)))
msg = UpdateMessage(:completion_result,
Dict(
:start => start_utf8 - 1, # 1-based index (julia) to 0-based index (js)
:stop => stop_utf8 - 1, # idem
:results => formatted[perm]
), 🙋.notebook, nothing, 🙋.initiator)
putclientupdates!(🙋.session, 🙋.initiator, msg)
end
function package_name_to_complete(str)
matches = match(r"(import|using) ([a-zA-Z0-9]+)$", str)
matches === nothing ? nothing : matches[2]
end
responses[:complete] = function response_complete(🙋::ClientRequest)
try require_notebook(🙋) catch; return; end
query = 🙋.body["query"]
pos = lastindex(query) # the query is cut at the cursor position by the front-end, so the cursor position is just the last legal index
workspace = WorkspaceManager.get_workspace((🙋.session, 🙋.notebook))
results, loc, found = if package_name_to_complete(query) !== nothing
p = package_name_to_complete(query)
cs = package_completions(p) |> sort
[(c,"package",true) for c in cs], (nextind(query, pos-length(p)):pos), true
else
if will_run_code(🙋.notebook) && isready(workspace.dowork_token)
# we don't use eval_format_fetch_in_workspace because we don't want the output to be string-formatted.
# This works in this particular case, because the return object, a `Completion`, exists in this scope too.
Distributed.remotecall_eval(Main, workspace.pid, :(PlutoRunner.completion_fetcher(
$query, $pos,
getfield(Main, $(QuoteNode(workspace.module_name))),
)))
else
# We can at least autocomplete general julia things:
PlutoRunner.completion_fetcher(query, pos, Main)
end
end
start_utf8 = loc.start
stop_utf8 = nextind(query, pos) # advance one unicode char, js uses exclusive upper bound
msg = UpdateMessage(:completion_result,
Dict(
:start => start_utf8 - 1, # 1-based index (julia) to 0-based index (js)
:stop => stop_utf8 - 1, # idem
:results => results
), 🙋.notebook, nothing, 🙋.initiator)
putclientupdates!(🙋.session, 🙋.initiator, msg)
end
responses[:docs] = function response_docs(🙋::ClientRequest)
require_notebook(🙋)
query = 🙋.body["query"]
# Expand string macro calls to their macro form:
# `html"` should yield `@html_str` and
# `Markdown.md"` should yield `@Markdown.md_str`. (Ideally `Markdown.@md_str` but the former is easier)
if endswith(query, "\"") && query != "\""
query = "@$(query[begin:end-1])_str"
end
doc_html, status = if REPL.lookup_doc(Symbol(query)) isa Markdown.MD
# available in Base, no need to ask worker
doc_md = REPL.lookup_doc(Symbol(query))
(repr(MIME("text/html"), doc_md), :👍)
else
workspace = WorkspaceManager.get_workspace((🙋.session, 🙋.notebook))
if will_run_code(🙋.notebook) && isready(workspace.dowork_token)
Distributed.remotecall_eval(Main, workspace.pid, :(PlutoRunner.doc_fetcher(
$query,
getfield(Main, $(QuoteNode(workspace.module_name))),
)))
else
(nothing, :⌛)
end
end
msg = UpdateMessage(:doc_result,
Dict(
:status => status,
:doc => doc_html,
), 🙋.notebook, nothing, 🙋.initiator)
putclientupdates!(🙋.session, 🙋.initiator, msg)
end
| Julia | 4 | lucifer1004/Pluto.jl | src/webserver/REPLTools.jl | [
"MIT"
] |
sub main()
aa = createObject("roAssociativeArray")
aa.foo = "foo"
aa.addReplace("bar", 5)
aa.append({ baz: false })
print "AA size: " aa.count() ' => 3
print "AA keys size: " aa.keys().count() ' => 3
print "AA items size: " aa.items().count() ' => 3
print "can delete elements: " aa.delete("baz") ' => true
print "can look up elements: " aa.lookup("foo") = "foo" ' => true
print "can look up elements (brackets): " aa["foo"] = "foo" ' => true
print "can case insensitive look up elements: " aa.lookupCI("foO") = "foo" ' => true
print "can check for existence: " aa.doesExist("bar") ' => true
print "items() example key: " aa.items()[0].key ' => bar
print "items() example value: " aa.items()[0].value ' => 5
' Enable case sentitive mode
aa.setModeCaseSensitive()
aa["KeY1"] = "value1"
print "key is not found if sensitive mode is enabled" aa.doesExist("key1") ' => false
print "key exits with correct casing" aa["KeY1"] ' => value1
print "lookup uses mode case too" aa.lookup("KeY1") ' => value1
print "lookupCI ignore mode case" aa.lookupCI("kEy1") ' => value1
aa.clear()
print "can empty itself: " aa.isEmpty() ' => true
' check mimic of RBI AA keys saving logic
aa = {"dd": 0, "DD":1}
print "saved key: "aa.keys()[0] ' => DD
aa.dd = 2
print "saved key after accessing by dot: "aa.keys()[0] ' => dd
aa["Dd"] = 3
print "saved key after accessing by index: "aa.keys()[0] ' => Dd
print "AA keys size: " aa.keys().count() ' => 1
end sub
| Brightscript | 4 | alimnios72/brs | test/e2e/resources/components/roAssociativeArray.brs | [
"MIT"
] |
# Force SSL immediately to avoid magento module VCL stripping off
# google campaign ids like gclid
if (!req.http.Fastly-SSL) {
error 801 "Force SSL";
}
| VCL | 4 | paliarush/fastly-magento2 | etc/vcl_snippets_force_tls/recv.vcl | [
"BSD-3-Clause"
] |
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/core/debug/debug_callback_registry.h"
namespace tensorflow {
DebugCallbackRegistry::DebugCallbackRegistry() {}
/*static */ DebugCallbackRegistry* DebugCallbackRegistry::instance_ = nullptr;
DebugCallbackRegistry* DebugCallbackRegistry::singleton() {
if (instance_ == nullptr) {
instance_ = new DebugCallbackRegistry();
}
return instance_;
}
void DebugCallbackRegistry::RegisterCallback(const string& key,
EventCallback callback) {
mutex_lock lock(mu_);
keyed_callback_[key] = std::move(callback);
}
DebugCallbackRegistry::EventCallback* DebugCallbackRegistry::GetCallback(
const string& key) {
mutex_lock lock(mu_);
auto iter = keyed_callback_.find(key);
return iter == keyed_callback_.end() ? nullptr : &iter->second;
}
void DebugCallbackRegistry::UnregisterCallback(const string& key) {
mutex_lock lock(mu_);
keyed_callback_.erase(key);
}
} // namespace tensorflow
| C++ | 4 | abhaikollara/tensorflow | tensorflow/core/debug/debug_callback_registry.cc | [
"Apache-2.0"
] |
// POV-Ray file generated from Rhinoceros.
camera {
perspective
location <-23.2305, 63.9274, -61.3886>
right <1.22367, 2.59052e-16, -0.529546>
up <0.262647, 0.750109, 0.606921>
direction <0.297913, -0.661314, 0.688412>
angle 35.9886
/*
// to get an image that's the same as the viewport in Rhino,
// uncomment this section and render with command line options (alt+c):
// +w50 +h34
right <93.5032, 1.97948e-14, -40.4639>
up <18.1594, 51.8625, 41.9625>
direction <0.297913, -0.661314, 0.688412>
*/
look_at <3.29794, 5.03891, -0.0871135>
}
background { color rgb <0.627451, 0.627451, 0.627451> }
global_settings { ambient_light color rgb <0, 0, 0> }
// default light
light_source { <-2359, 5248.92, -5458.84> color rgb <1,1,1> }
// Object1
#declare Object1Material = material {
texture {
pigment { color rgbf <1, 1, 1, 0> }
finish { ambient 1 diffuse 1 }
}
}
#declare Object1 = object {
#include "SA Row3_1.inc"
}
object { Object1 material { Object1Material }}
| POV-Ray SDL | 4 | getclacking/SA-profile-keys-3D-models | SA Row3.pov | [
"MIT"
] |
a { box-shadow: rgb(255, 0, 17) 0 0 1 inset } | CSS | 2 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css | [
"Apache-2.0"
] |
export default function hello() {
return 'A/A.js'
}
| JavaScript | 0 | 1shenxi/webpack | test/cases/side-effects/wrong-module-10146/module/A/A.js | [
"MIT"
] |
;;; app/emms/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +emms/mpd-start-music-daemon ()
(interactive)
(start-process "mpd" nil "mpd")
(+emms/mpc-update-database)
(emms-player-mpd-connect)
(emms-cache-set-from-mpd-all)
(message "MPD Started!"))
;;;###autoload
(defun +emms/mpd-kill-music-daemon ()
(interactive)
(emms-stop)
(call-process "mpd" nil nil nil "--kill")
(message "MPD Killed!"))
;;;###autoload
(defun +emms/mpc-update-database ()
(interactive)
(call-process "mpc" nil nil nil "update")
(message "MPD Database Updated!"))
;;;###autoload
(defun +emms/mpd-restart-music-daemon ()
(interactive)
(+emms/mpd-kill-music-daemon)
(+emms/mpd-start-music-daemon)
(message "MPD Restarted!"))
| Emacs Lisp | 4 | leezu/doom-emacs | modules/app/emms/autoload.el | [
"MIT"
] |
Require Import String.
Eval compute in build_vector 4 "Hello" "how" "are" "you".
| Coq | 2 | LaudateCorpus1/RosettaCodeData | Task/Variadic-function/Coq/variadic-function-9.coq | [
"Info-ZIP"
] |
insert into users(username, password, enabled) values ('spring_user', 'pass', true);
insert into authorities(username, authority) values ('spring_user','ROLE_USER'); | SQL | 3 | zeesh49/tutorials | spring-activiti/src/main/resources/data.sql | [
"MIT"
] |
IMAGE POINT FILE
174
pt_id,val,fid_val,no_obs,l.,s.,sig_l,sig_s,res_l,res_s,fid_x,fid_y
9_8344_8845_4r 1 0 0
1675.436279 -907.831421
0.000000 0.000000
0.108382 -0.032997
0.000000 0.000000
10_8344_8845_4r 1 0 0
1700.584473 -2390.001709
0.000000 0.000000
-0.063695 -1.055619
0.000000 0.000000
11_8344_8845_4r 1 0 0
4985.437988 -1070.364990
0.000000 0.000000
0.239207 1.080801
0.000000 0.000000
12_8344_8845_4r 1 0 0
4856.525391 -2439.154785
0.000000 0.000000
0.133406 0.068024
0.000000 0.000000
13_8344_8845_4r 1 0 0
3186.063232 -1598.743530
0.000000 0.000000
0.019201 0.485372
0.000000 0.000000
14_8344_8845_4r 1 0 0
8131.361816 -902.645325
0.000000 0.000000
-0.469784 0.023018
0.000000 0.000000
15_8344_8845_4r_mt_z 1 0 0
8142.054688 -2364.445557
0.000000 0.000000
-0.072035 -0.832436
0.000000 0.000000
16_8344_8845_4r 1 0 0
6502.070313 -1593.964233
0.000000 0.000000
-0.007916 0.463232
0.000000 0.000000
23_8344_8845_4r_mt_z 1 0 0
1894.176880 -1284.084961
0.000000 0.000000
0.018148 -0.098556
0.000000 0.000000
25_8344_8845_4r_mt_z 1 0 0
8097.187500 -1208.102051
0.000000 0.000000
0.068243 -0.458766
0.000000 0.000000
29_8344_8845_4r_mt_z 1 0 0
6567.632324 -1917.006104
0.000000 0.000000
0.283012 0.479940
0.000000 0.000000
31_2371_1540_2r 1 0 0
10738.494141 2526.196289
0.000000 0.000000
-0.217503 -0.000290
0.000000 0.000000
32_2371_1540_2r_mt_z 1 0 0
10507.304688 2229.895996
0.000000 0.000000
0.247692 0.009723
0.000000 0.000000
33_2371_1540_2r 1 0 0
10735.037109 -2436.234375
0.000000 0.000000
0.164812 0.000142
0.000000 0.000000
34_2371_1540_2r_mt_z 1 0 0
10544.933594 -2073.134277
0.000000 0.000000
0.174777 -0.223522
0.000000 0.000000
35_2371_1540_2r_mt_z 1 0 0
5285.785645 549.630798
0.000000 0.000000
0.236993 -0.087819
0.000000 0.000000
36_2371_1540_2r_mt_z 1 0 0
5828.629395 -115.552528
0.000000 0.000000
0.278416 0.139530
0.000000 0.000000
37_2371_1540_2r_mt_z 1 0 0
449.221252 2461.001953
0.000000 0.000000
-0.373563 -0.055891
0.000000 0.000000
38_2371_1540_2r_mt_z 1 0 0
998.632324 1726.671997
0.000000 0.000000
-0.045773 -0.207118
0.000000 0.000000
39_2371_1540_3r 1 0 0
1286.245728 -2126.841309
0.000000 0.000000
-0.006799 -0.392459
0.000000 0.000000
40_2371_1540_2r 1 0 0
-5163.043945 -253.615952
0.000000 0.000000
-0.045928 -0.000080
0.000000 0.000000
41_2371_1540_2r_mt_z 1 0 0
-4442.895020 -815.729248
0.000000 0.000000
-0.182036 0.091566
0.000000 0.000000
42_2371_1540_2r 1 0 0
-10649.998047 2463.294189
0.000000 0.000000
-0.033691 -0.000067
0.000000 0.000000
43_2371_1540_2r_mt_z 1 0 0
-10356.899414 2001.160400
0.000000 0.000000
0.071506 -0.478811
0.000000 0.000000
44_2371_1540_2r_mt_z 1 0 0
-10678.879883 -2318.630127
0.000000 0.000000
0.074545 -0.066145
0.000000 0.000000
45_2371_1540_2r 1 0 0
-10457.825195 -2081.141602
0.000000 0.000000
-0.003919 -0.000088
0.000000 0.000000
46_2371_1540_2r_mt_xyz 1 0 0
4746.622070 172.587494
0.000000 0.000000
-0.005179 0.072648
0.000000 0.000000
62_8344_8845_4r_mt_z 1 0 0
7787.087891 -1324.682007
0.000000 0.000000
0.042082 0.102302
0.000000 0.000000
64_2371_1888_2r_mt_z 1 0 0
-9351.085938 -1423.860107
0.000000 0.000000
0.190391 -0.167990
0.000000 0.000000
65_8344_8845_4r_mt_z 1 0 0
5069.796875 -1721.191895
0.000000 0.000000
0.047348 0.761253
0.000000 0.000000
P19_008344_1894_XN_09N203W_6 1 0 1
1233.312378 -2211.142090
0.098486 0.098486
-0.146760 -0.378120
0.000000 0.000000
P19_008344_1894_XN_09N203W_7 1 0 1
1754.331055 -1405.113647
0.015780 0.015780
-0.147031 -0.052123
0.000000 0.000000
P19_008344_1894_XN_09N203W_8 1 0 1
2216.807373 -1743.799194
0.013743 0.013743
0.101922 -0.302081
0.000000 0.000000
P19_008344_1894_XN_09N203W_12 1 0 1
3866.175537 -1728.362793
0.052215 0.052215
-0.270404 0.842531
0.000000 0.000000
P19_008344_1894_XN_09N203W_18 1 0 1
7262.140137 -1548.482300
0.104956 0.104956
-0.266366 0.224329
0.000000 0.000000
P19_008344_1894_XN_09N203W_19 1 0 1
7085.287109 -1701.045166
0.006909 0.006909
0.076095 0.252083
0.000000 0.000000
P19_008344_1894_XN_09N203W_20 1 0 1
7097.258789 -1425.202759
0.015592 0.015592
0.128223 0.422110
0.000000 0.000000
P20_008845_1894_XN_09N203W_6 1 0 1
2367.587646 -1849.272095
0.025110 0.025110
-0.040890 -0.136247
0.000000 0.000000
P20_008845_1894_XN_09N203W_7 1 0 1
2367.507813 -1706.241821
0.047435 0.047435
-0.157931 -0.042074
0.000000 0.000000
P20_008845_1894_XN_09N203W_8 1 0 1
2953.094727 -1538.956543
0.023364 0.023364
0.177406 0.403161
0.000000 0.000000
P20_008845_1894_XN_09N203W_16 1 0 1
8611.724609 -1352.647949
0.015722 0.015722
-0.153906 -0.039881
0.000000 0.000000
P20_008845_1894_XN_09N203W_17 1 0 1
8921.941406 -1402.745361
0.017650 0.017650
-0.016220 -0.049595
0.000000 0.000000
P20_008845_1894_XN_09N203W_18 1 0 1
8617.777344 -1818.614380
0.114295 0.114295
-0.500861 -0.252638
0.000000 0.000000
P03_002371_1888_XI_08N204W_1 1 0 1
-10338.000000 -1983.000000
0.000000 0.000000
0.053775 0.000042
0.000000 0.000000
P03_002371_1888_XI_08N204W_2 1 0 1
-10523.000000 -2121.000000
0.000000 0.000000
0.045359 0.000043
0.000000 0.000000
P03_002371_1888_XI_08N204W_3 1 0 1
-10032.000000 -150.000000
0.000000 0.000000
0.022892 -0.000015
0.000000 0.000000
P03_002371_1888_XI_08N204W_4 1 0 1
-10487.000000 1674.000000
0.000000 0.000000
-0.018644 -0.000034
0.000000 0.000000
P03_002371_1888_XI_08N204W_5 1 0 1
-10337.000000 2006.000000
0.000000 0.000000
0.059642 0.000050
0.000000 0.000000
P03_002371_1888_XI_08N204W_6 1 0 1
-8654.000000 -2262.000000
0.000000 0.000000
0.085171 -0.000020
0.000000 0.000000
P03_002371_1888_XI_08N204W_7 1 0 1
-7919.000000 -2132.000000
0.000000 0.000000
-0.007266 -0.000038
0.000000 0.000000
P03_002371_1888_XI_08N204W_8 1 0 1
-8501.000000 -321.000000
0.000000 0.000000
0.135740 0.000062
0.000000 0.000000
P03_002371_1888_XI_08N204W_9 1 0 1
-7897.000000 2.000000
0.000000 0.000000
0.007364 -0.000033
0.000000 0.000000
P03_002371_1888_XI_08N204W_10 1 0 1
-8359.000000 1696.000000
0.000000 0.000000
-0.073637 -0.000113
0.000000 0.000000
P03_002371_1888_XI_08N204W_11 1 0 1
-7888.000000 1983.000000
0.000000 0.000000
0.012633 -0.000037
0.000000 0.000000
P03_002371_1888_XI_08N204W_12 1 0 1
-6521.000000 -2140.000000
0.000000 0.000000
-0.067842 -0.000052
0.000000 0.000000
P03_002371_1888_XI_08N204W_13 1 0 1
-6222.000000 -2128.000000
0.000000 0.000000
0.033697 -0.000023
0.000000 0.000000
P03_002371_1888_XI_08N204W_14 1 0 1
-6389.000000 -2291.000000
0.000000 0.000000
-0.050220 -0.000044
0.000000 0.000000
P03_002371_1888_XI_08N204W_15 1 0 1
-6060.000000 -289.000000
0.000000 0.000000
0.026415 -0.000018
0.000000 0.000000
P03_002371_1888_XI_08N204W_16 1 0 1
-5764.000000 166.000000
0.000000 0.000000
-0.013410 -0.000054
0.000000 0.000000
P03_002371_1888_XI_08N204W_17 1 0 1
-6227.000000 2005.000000
0.000000 0.000000
-0.008644 -0.000060
0.000000 0.000000
P03_002371_1888_XI_08N204W_18 1 0 1
-5933.000000 2002.000000
0.000000 0.000000
-0.027539 -0.000094
0.000000 0.000000
P03_002371_1888_XI_08N204W_19 1 0 1
-5764.000000 1875.000000
0.000000 0.000000
-0.032413 -0.000092
0.000000 0.000000
P03_002371_1888_XI_08N204W_20 1 0 1
-8379.000000 779.000000
0.000000 0.000000
0.106967 0.000081
0.000000 0.000000
P03_002371_1888_XI_08N204W_21 1 0 1
-5160.000000 -2305.000000
0.000000 0.000000
-0.129786 -0.000066
0.000000 0.000000
P03_002371_1888_XI_08N204W_22 1 0 1
-5153.000000 -1815.000000
0.000000 0.000000
-0.069362 -0.000059
0.000000 0.000000
P03_002371_1888_XI_08N204W_23 1 0 1
-4707.000000 -108.000000
0.000000 0.000000
-0.073426 -0.000099
0.000000 0.000000
P03_002371_1888_XI_08N204W_24 1 0 1
-4829.000000 1516.000000
0.000000 0.000000
-0.030952 -0.000089
0.000000 0.000000
P03_002371_1888_XI_08N204W_25 1 0 0
-4860.000000 1713.000000
0.000000 0.000000
-0.158071 -0.000228
0.000000 0.000000
P03_002371_1888_XI_08N204W_26 1 0 1
-2846.000000 -2251.000000
0.000000 0.000000
-0.091913 -0.000051
0.000000 0.000000
P03_002371_1888_XI_08N204W_27 1 0 0
-2391.000000 -1981.000000
0.000000 0.000000
0.037124 -0.000008
0.000000 0.000000
P03_002371_1888_XI_08N204W_28 1 0 1
-3026.000000 -16.000000
0.000000 0.000000
-0.070665 -0.000096
0.000000 0.000000
P03_002371_1888_XI_08N204W_29 1 0 0
-2563.000000 165.000000
0.000000 0.000000
-0.059822 -0.000091
0.000000 0.000000
P03_002371_1888_XI_08N204W_30 1 0 1
-3024.000000 1853.000000
0.000000 0.000000
0.275751 0.000247
0.000000 0.000000
P03_002371_1888_XI_08N204W_31 1 0 1
-2779.000000 1617.000000
0.000000 0.000000
-0.185608 -0.000278
0.000000 0.000000
P03_002371_1888_XI_08N204W_32 1 0 1
-883.000000 -2290.000000
0.000000 0.000000
-0.030863 -0.000031
0.000000 0.000000
P03_002371_1888_XI_08N204W_33 1 0 0
-1250.000000 -2354.000000
0.000000 0.000000
0.283882 0.000052
0.000000 0.000000
P03_002371_1888_XI_08N204W_34 1 0 1
-873.000000 -2135.000000
0.000000 0.000000
-0.009418 -0.000017
0.000000 0.000000
P03_002371_1888_XI_08N204W_35 1 0 1
-867.000000 -291.000000
0.000000 0.000000
-0.068746 -0.000078
0.000000 0.000000
P03_002371_1888_XI_08N204W_36 1 0 1
-1029.000000 -446.000000
0.000000 0.000000
-0.015595 -0.000004
0.000000 0.000000
P03_002371_1888_XI_08N204W_37 1 0 1
-728.000000 1677.000000
0.000000 0.000000
0.019384 -0.000035
0.000000 0.000000
P03_002371_1888_XI_08N204W_38 1 0 1
-389.000000 1671.000000
0.000000 0.000000
0.076316 0.000031
0.000000 0.000000
P03_002371_1888_XI_08N204W_39 1 0 1
-562.000000 1533.000000
0.000000 0.000000
-0.018128 -0.000072
0.000000 0.000000
P03_002371_1888_XI_08N204W_40 1 0 1
-2867.000000 775.000000
0.000000 0.000000
-0.062830 -0.000109
0.000000 0.000000
P03_002371_1888_XI_08N204W_41 1 0 0
265.000000 -2211.000000
0.000000 0.000000
0.114731 0.000006
0.000000 0.000000
P03_002371_1888_XI_08N204W_42 1 0 1
340.000000 -1853.000000
0.000000 0.000000
0.018860 0.000001
0.000000 0.000000
P03_002371_1888_XI_08N204W_43 1 0 0
136.000000 -2366.000000
0.000000 0.000000
-0.143152 -0.000039
0.000000 0.000000
P03_002371_1888_XI_08N204W_44 1 0 1
658.000000 -298.000000
0.000000 0.000000
0.027786 -0.000074
0.000000 0.000000
P03_002371_1888_XI_08N204W_45 1 0 1
810.000000 -297.000000
0.000000 0.000000
-0.003827 -0.000054
0.000000 0.000000
P03_002371_1888_XI_08N204W_46 1 0 1
521.000000 1391.000000
0.000000 0.000000
0.103187 0.000071
0.000000 0.000000
P03_002371_1888_XI_08N204W_47 1 0 1
188.000000 1692.000000
0.000000 0.000000
0.035646 -0.000009
0.000000 0.000000
P03_002371_1888_XI_08N204W_48 1 0 1
833.000000 1713.000000
0.000000 0.000000
-0.064790 -0.000120
0.000000 0.000000
P03_002371_1888_XI_08N204W_49 1 0 3
3116.000000 -2313.000000
0.000000 0.000000
-0.054368 -0.018714
0.000000 0.000000
P03_002371_1888_XI_08N204W_50 1 0 1
2034.000000 174.000000
0.000000 0.000000
-0.007270 -0.000020
0.000000 0.000000
P03_002371_1888_XI_08N204W_51 1 0 1
2659.000000 154.000000
0.000000 0.000000
0.048238 -0.000038
0.000000 0.000000
P03_002371_1888_XI_08N204W_52 1 0 1
2482.000000 2009.000000
0.000000 0.000000
0.014141 -0.000013
0.000000 0.000000
P03_002371_1888_XI_08N204W_53 1 0 1
3106.000000 1689.000000
0.000000 0.000000
0.023932 0.000000
0.000000 0.000000
P03_002371_1888_XI_08N204W_54 1 0 3
4650.000000 -2270.000000
0.000000 0.000000
-0.135741 0.668210
0.000000 0.000000
P03_002371_1888_XI_08N204W_55 1 0 2
4804.000000 -2144.000000
0.000000 0.000000
0.006360 0.499881
0.000000 0.000000
P03_002371_1888_XI_08N204W_56 1 0 3
4647.175293 -1943.715576
0.000000 0.000000
0.121872 0.662174
0.000000 0.000000
P03_002371_1888_XI_08N204W_57 1 0 1
4427.000000 -75.000000
0.000000 0.000000
-0.240405 -0.000200
0.000000 0.000000
P03_002371_1888_XI_08N204W_58 1 0 1
4507.000000 14.000000
0.000000 0.000000
0.121616 0.000101
0.000000 0.000000
P03_002371_1888_XI_08N204W_59 1 0 1
4626.000000 1693.000000
0.000000 0.000000
-0.096636 -0.000142
0.000000 0.000000
P03_002371_1888_XI_08N204W_60 1 0 1
4783.000000 1706.000000
0.000000 0.000000
-0.029513 -0.000048
0.000000 0.000000
P03_002371_1888_XI_08N204W_61 1 0 1
4648.000000 1539.000000
0.000000 0.000000
0.017814 0.000013
0.000000 0.000000
P03_002371_1888_XI_08N204W_62 1 0 1
2331.000000 900.000000
0.000000 0.000000
0.054292 0.000034
0.000000 0.000000
P03_002371_1888_XI_08N204W_63 1 0 3
5866.000000 -2283.000000
0.000000 0.000000
0.254475 0.182357
0.000000 0.000000
P03_002371_1888_XI_08N204W_64 1 0 3
5727.000000 -2122.000000
0.000000 0.000000
0.204810 0.423154
0.000000 0.000000
P03_002371_1888_XI_08N204W_65 1 0 3
5474.000000 -2373.000000
0.000000 0.000000
0.024735 -0.072199
0.000000 0.000000
P03_002371_1888_XI_08N204W_66 1 0 1
5861.000000 4.000000
0.000000 0.000000
0.205554 0.000209
0.000000 0.000000
P03_002371_1888_XI_08N204W_67 1 0 1
6311.000000 -115.000000
0.000000 0.000000
-0.003069 0.000025
0.000000 0.000000
P03_002371_1888_XI_08N204W_68 1 0 1
5709.000000 1381.000000
0.000000 0.000000
0.080977 0.000099
0.000000 0.000000
P03_002371_1888_XI_08N204W_69 1 0 1
5878.000000 2027.000000
0.000000 0.000000
0.206154 0.000320
0.000000 0.000000
P03_002371_1888_XI_08N204W_70 1 0 1
6164.000000 1997.000000
0.000000 0.000000
0.137298 0.000219
0.000000 0.000000
P03_002371_1888_XI_08N204W_71 1 0 3
7540.000000 -1968.000000
0.000000 0.000000
0.076832 -0.159572
0.000000 0.000000
P03_002371_1888_XI_08N204W_72 1 0 1
7713.000000 4.000000
0.000000 0.000000
0.032654 0.000071
0.000000 0.000000
P03_002371_1888_XI_08N204W_73 1 0 1
8331.000000 -140.000000
0.000000 0.000000
0.064171 0.000102
0.000000 0.000000
P03_002371_1888_XI_08N204W_74 1 0 1
7846.000000 1982.000000
0.000000 0.000000
-0.037341 -0.000018
0.000000 0.000000
P03_002371_1888_XI_08N204W_75 1 0 1
8175.000000 1996.000000
0.000000 0.000000
-0.064333 -0.000055
0.000000 0.000000
P03_002371_1888_XI_08N204W_76 1 0 1
9813.068359 -2363.212402
0.000000 0.000000
-0.299423 -1.096935
0.000000 0.000000
P03_002371_1888_XI_08N204W_77 1 0 1
9517.026367 -2344.440186
0.000000 0.000000
0.048134 -0.899033
0.000000 0.000000
P03_002371_1888_XI_08N204W_78 1 0 1
9831.000000 -2114.000000
0.000000 0.000000
0.091831 -0.956809
0.000000 0.000000
P03_002371_1888_XI_08N204W_79 1 0 1
9699.000000 10.000000
0.000000 0.000000
-0.170537 -0.000089
0.000000 0.000000
P03_002371_1888_XI_08N204W_80 1 0 1
9991.000000 -305.000000
0.000000 0.000000
-0.082484 -0.000004
0.000000 0.000000
P03_002371_1888_XI_08N204W_81 1 0 1
9991.000000 1846.000000
0.000000 0.000000
0.003064 0.000024
0.000000 0.000000
P03_002371_1888_XI_08N204W_82 1 0 1
10168.000000 1855.000000
0.000000 0.000000
-0.091115 -0.000057
0.000000 0.000000
P03_002371_1888_XI_08N204W_83 1 0 1
10012.000000 1675.000000
0.000000 0.000000
-0.079647 -0.000090
0.000000 0.000000
P03_002371_1888_XI_08N204W_84 1 0 1
7567.000000 937.000000
0.000000 0.000000
0.126558 0.000171
0.000000 0.000000
P01_001540_1889_XI_08N204W_8 1 0 1
-8903.700195 -391.036591
0.196262 0.196262
0.038680 -0.000007
0.000000 0.000000
P01_001540_1889_XI_08N204W_9 1 0 1
-9045.864258 1786.292847
0.040337 0.040337
0.065093 0.000055
0.000000 0.000000
P01_001540_1889_XI_08N204W_10 1 0 1
-8746.708008 1802.962769
0.178856 0.178856
0.092013 0.000057
0.000000 0.000000
P01_001540_1889_XI_08N204W_11 1 0 1
-6907.949707 -2151.665527
0.031798 0.031798
-0.088927 -0.000058
0.000000 0.000000
P01_001540_1889_XI_08N204W_12 1 0 1
-7052.448730 -394.227478
0.052768 0.052768
-0.003955 -0.000040
0.000000 0.000000
P01_001540_1889_XI_08N204W_13 1 0 1
-6439.294434 132.144318
0.056260 0.056260
-0.010168 -0.000051
0.000000 0.000000
P01_001540_1889_XI_08N204W_14 1 0 1
-6894.753418 1816.150879
0.058853 0.058853
0.040672 -0.000001
0.000000 0.000000
P01_001540_1889_XI_08N204W_15 1 0 1
-6623.591797 1819.854370
0.042479 0.042479
0.043701 -0.000007
0.000000 0.000000
P01_001540_1889_XI_08N204W_16 1 0 1
-6767.327637 1689.669067
0.156130 0.156130
-0.055234 -0.000108
0.000000 0.000000
P01_001540_1889_XI_08N204W_17 1 0 1
-5381.538574 -2168.867920
0.021667 0.021667
-0.068160 -0.000050
0.000000 0.000000
P01_001540_1889_XI_08N204W_18 1 0 1
-5809.757813 -1974.248901
0.040624 0.040624
-0.072464 -0.000052
0.000000 0.000000
P01_001540_1889_XI_08N204W_19 1 0 1
-5679.903809 141.809586
0.061628 0.061628
-0.074023 -0.000105
0.000000 0.000000
P01_001540_1889_XI_08N204W_20 1 0 1
-5534.764648 126.626328
0.050045 0.050045
-0.092232 -0.000120
0.000000 0.000000
P01_001540_1889_XI_08N204W_21 1 0 1
-5538.293457 1652.935547
0.017081 0.017081
-0.020854 -0.000085
0.000000 0.000000
P01_001540_1889_XI_08N204W_22 1 0 1
-5547.141113 1852.116577
0.041283 0.041283
-0.013019 -0.000089
0.000000 0.000000
P01_001540_1889_XI_08N204W_23 1 0 1
-5230.219238 1889.242188
0.056982 0.056982
-0.077271 -0.000144
0.000000 0.000000
P01_001540_1889_XI_08N204W_24 1 0 1
-3694.002686 -2156.142334
0.027419 0.027419
-0.023185 -0.000034
0.000000 0.000000
P01_001540_1889_XI_08N204W_25 1 0 1
-3859.133545 -179.163437
0.064709 0.064709
-0.110908 -0.000128
0.000000 0.000000
P01_001540_1889_XI_08N204W_26 1 0 1
-3864.158447 1874.141724
0.060988 0.060988
-0.052730 -0.000127
0.000000 0.000000
P01_001540_1889_XI_08N204W_27 1 0 1
-913.480408 -2127.659912
0.136148 0.136148
-0.020435 -0.000030
0.000000 0.000000
P01_001540_1889_XI_08N204W_28 1 0 1
-1090.070435 -314.895264
0.081613 0.081613
-0.070244 -0.000065
0.000000 0.000000
P01_001540_1889_XI_08N204W_29 1 0 1
-798.003601 167.509247
0.056535 0.056535
-0.055492 -0.000081
0.000000 0.000000
P01_001540_1889_XI_08N204W_30 1 0 1
-1558.141113 1867.424316
0.077860 0.077860
0.079324 0.000051
0.000000 0.000000
P01_001540_1889_XI_08N204W_31 1 0 1
-1234.941650 1830.704712
0.063051 0.063051
-0.029495 -0.000098
0.000000 0.000000
P01_001540_1889_XI_08N204W_32 1 0 1
-1229.631470 1521.941895
0.226007 0.226007
-0.076328 -0.000131
0.000000 0.000000
P01_001540_1889_XI_08N204W_33 1 0 1
442.715057 -2114.241211
0.049880 0.049880
-0.073886 -0.000037
0.000000 0.000000
P01_001540_1889_XI_08N204W_34 1 0 1
-25.341837 187.680817
0.068166 0.068166
-0.022829 -0.000047
0.000000 0.000000
P01_001540_1889_XI_08N204W_35 1 0 1
437.543365 -324.928925
0.045505 0.045505
0.013310 -0.000074
0.000000 0.000000
P01_001540_1889_XI_08N204W_36 1 0 1
139.869980 1522.283081
0.082616 0.082616
0.113865 0.000080
0.000000 0.000000
P01_001540_1889_XI_08N204W_37 1 0 1
190.589523 1941.957886
0.089384 0.089384
-0.083638 -0.000170
0.000000 0.000000
P01_001540_1889_XI_08N204W_38 1 0 1
-26.570953 1766.757935
0.114548 0.114548
0.023927 -0.000024
0.000000 0.000000
P01_001540_1889_XI_08N204W_39 1 0 1
4577.512695 184.963547
0.156752 0.156752
0.183466 0.000181
0.000000 0.000000
P01_001540_1889_XI_08N204W_40 1 0 1
4557.450684 1878.609619
0.035616 0.035616
0.253634 0.000337
0.000000 0.000000
P01_001540_1889_XI_08N204W_41 1 0 1
4863.760254 1884.081177
0.019788 0.019788
0.275378 0.000391
0.000000 0.000000
P01_001540_1889_XI_08N204W_42 1 0 1
4891.431152 1697.078369
0.061461 0.061461
0.148292 0.000220
0.000000 0.000000
P01_001540_1889_XI_08N204W_43 1 0 1
5976.994629 -2105.991455
0.035934 0.035934
-0.196669 0.197285
0.000000 0.000000
P01_001540_1889_XI_08N204W_44 1 0 1
5799.503906 -2268.432129
0.071831 0.071831
0.198203 0.131993
0.000000 0.000000
P01_001540_1889_XI_08N204W_45 1 0 1
5942.180664 1910.770264
0.067767 0.067767
0.023259 0.000042
0.000000 0.000000
P01_001540_1889_XI_08N204W_46 1 0 1
5804.885254 1715.782837
0.161152 0.161152
-0.028636 -0.000033
0.000000 0.000000
P01_001540_1889_XI_08N204W_47 1 0 1
9960.878906 -2110.173828
0.025231 0.025231
0.051116 0.000022
0.000000 0.000000
P01_001540_1889_XI_08N204W_48 1 0 1
10117.238281 -2118.229736
0.022972 0.022972
0.110658 0.000109
0.000000 0.000000
P01_001540_1889_XI_08N204W_49 1 0 1
9970.791016 -2280.584473
0.062166 0.062166
0.073884 0.000111
0.000000 0.000000
P01_001540_1889_XI_08N204W_50 1 0 1
9788.186523 -298.246216
0.105062 0.105062
-0.090681 -0.000011
0.000000 0.000000
P01_001540_1889_XI_08N204W_51 1 0 1
10113.411133 -280.897125
0.248378 0.248378
-0.128857 -0.000041
0.000000 0.000000
P01_001540_1889_XI_08N204W_52 1 0 1
10078.213867 1882.295166
0.193461 0.193461
-0.204841 -0.000252
0.000000 0.000000
P01_001540_1889_XI_08N204W_53 1 0 1
9926.090820 1708.025513
0.105411 0.105411
-0.119532 -0.000154
0.000000 0.000000
P01_001540_1889_XI_08N204W_54 1 0 1
10090.417969 1686.606934
0.070098 0.070098
-0.101323 -0.000068
0.000000 0.000000
| IGOR Pro | 2 | kaitlyndlee/plio | plio/examples/SocetSet/P03_002371_1888_XI_08N204W.ipf | [
"Unlicense"
] |
/* @generated */
digraph cfg {
"foo.acbd18db4cc2f85cedef654fccc4a4d8_1" [label="1: Start foo\nFormals: my_block1:_fn_(*) my_block2:_fn_(*) a:A*\nLocals: \nAnnotation: <> foo(<_Nullable> <_Nullable> <_Nonnull>) \n " color=yellow style=filled]
"foo.acbd18db4cc2f85cedef654fccc4a4d8_1" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_3" ;
"foo.acbd18db4cc2f85cedef654fccc4a4d8_2" [label="2: Exit foo \n " color=yellow style=filled]
"foo.acbd18db4cc2f85cedef654fccc4a4d8_3" [label="3: Call n$0 \n n$0=*&my_block1:_fn_(*) [line 16, column 3]\n n$1=n$0(22:int) objc_block [line 16, column 3]\n " shape="box"]
"foo.acbd18db4cc2f85cedef654fccc4a4d8_3" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_2" ;
"p.83878c91171338902e0fe0fb97a8c47a_1" [label="1: Start p\nFormals: \nLocals: \n " color=yellow style=filled]
"p.83878c91171338902e0fe0fb97a8c47a_1" -> "p.83878c91171338902e0fe0fb97a8c47a_3" ;
"p.83878c91171338902e0fe0fb97a8c47a_2" [label="2: Exit p \n " color=yellow style=filled]
"p.83878c91171338902e0fe0fb97a8c47a_3" [label="3: Return Stmt \n *&return:int=0 [line 13, column 11]\n " shape="box"]
"p.83878c91171338902e0fe0fb97a8c47a_3" -> "p.83878c91171338902e0fe0fb97a8c47a_2" ;
"objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_1" [label="1: Start objc_blockA.bar2_3\nFormals: self:A* i:int\nLocals: \nCaptured: [by value]self:A* \n " color=yellow style=filled]
"objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_1" -> "objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_3" ;
"objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_2" [label="2: Exit objc_blockA.bar2_3 \n " color=yellow style=filled]
"objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_3" [label="3: BinaryOperatorStmt: Assign \n n$15=*&self:A* [line 41, column 9]\n *n$15.x:int=5 [line 41, column 9]\n " shape="box"]
"objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_3" -> "objc_blockA.bar2_3(class A).d749ef9e4d7f0a45237d8fe9e40fc593_2" ;
"objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_1" [label="1: Start objc_blockA.bar2_4\nFormals: self:A* i:int\nLocals: \nCaptured: [by value]self:A* \n " color=yellow style=filled]
"objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_1" -> "objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_3" ;
"objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_2" [label="2: Exit objc_blockA.bar2_4 \n " color=yellow style=filled]
"objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_3" [label="3: BinaryOperatorStmt: Assign \n n$17=*&self:A* [line 44, column 9]\n *n$17.x:int=5 [line 44, column 9]\n " shape="box"]
"objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_3" -> "objc_blockA.bar2_4(class A).a4f29e420077ca6ce7e44776941a7430_2" ;
"objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_1" [label="1: Start objc_blockA.bar:_1\nFormals: self:A* x:int i:int\nLocals: \nCaptured: [by value]self:A* [by value]x:int \n " color=yellow style=filled]
"objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_1" -> "objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_3" ;
"objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_2" [label="2: Exit objc_blockA.bar:_1 \n " color=yellow style=filled]
"objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_3" [label="3: BinaryOperatorStmt: Assign \n n$5=*&self:A* [line 28, column 9]\n n$6=*&x:int [line 28, column 19]\n *n$5.x:int=n$6 [line 28, column 9]\n " shape="box"]
"objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_3" -> "objc_blockA.bar:_1(class A).3dfd8f5104e9624c9f972777203745e3_2" ;
"objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_1" [label="1: Start objc_blockA.bar:_2\nFormals: self:A* i:int\nLocals: \nCaptured: [by value]self:A* \n " color=yellow style=filled]
"objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_1" -> "objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_3" ;
"objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_2" [label="2: Exit objc_blockA.bar:_2 \n " color=yellow style=filled]
"objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_3" [label="3: BinaryOperatorStmt: Assign \n n$8=*&self:A* [line 31, column 9]\n n$9=*&i:int [line 31, column 19]\n *n$8.x:int=n$9 [line 31, column 9]\n " shape="box"]
"objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_3" -> "objc_blockA.bar:_2(class A).714c02790d023adc163c946a9f0220cd_2" ;
"objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_1" [label="1: Start objc_blockA.call_foo_with_same_param_5\nFormals: self:A* i:int\nLocals: \nCaptured: [by value]self:A* \n " color=yellow style=filled]
"objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_1" -> "objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_3" ;
"objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_2" [label="2: Exit objc_blockA.call_foo_with_same_param_5 \n " color=yellow style=filled]
"objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_3" [label="3: BinaryOperatorStmt: Assign \n n$31=*&self:A* [line 52, column 5]\n *n$31.x:int=5 [line 52, column 5]\n " shape="box"]
"objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_3" -> "objc_blockA.call_foo_with_same_param_5(class A).03c7f776ebd8253258577359808dec16_2" ;
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_1" [label="1: Start A.bar2\nFormals: self:A*\nLocals: \n " color=yellow style=filled]
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_1" -> "bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_5" ;
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_2" [label="2: Exit A.bar2 \n " color=yellow style=filled]
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_3" [label="3: Return Stmt \n n$12=*&self:A* [line 47, column 10]\n n$13=*n$12.x:int [line 47, column 10]\n " shape="box"]
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_3" -> "bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_4" ;
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_4" [label="4: Return Stmt \n *&return:int=n$13 [line 47, column 3]\n " shape="box"]
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_4" -> "bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_2" ;
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_5" [label="5: Compound statement \n n$14=*&self:A* [line 40, column 7]\n n$16=*&self:A* [line 43, column 7]\n n$18=*&self:A* [line 46, column 7]\n n$19=_fun_foo[specialized with blocks](n$14:A*,(_fun_objc_blockA.bar2_4,([by value]n$16 &self:A*)):_fn_(*),(_fun_objc_blockA.bar2_3,([by value]n$14 &self:A*)):_fn_(*),n$18:A*) [line 39, column 3]\n " shape="box"]
"bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_5" -> "bar2#A#instance.413fa5106d6a23f2bf18df99659efb82_3" ;
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_1" [label="1: Start A.bar:\nFormals: self:A* a:A*\nLocals: y:int x:int \n " color=yellow style=filled]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_1" -> "bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_7" ;
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_2" [label="2: Exit A.bar: \n " color=yellow style=filled]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_3" [label="3: Return Stmt \n n$0=*&self:A* [line 35, column 10]\n n$1=*n$0.x:int [line 35, column 10]\n " shape="box"]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_3" -> "bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_4" ;
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_4" [label="4: Return Stmt \n *&return:int=n$1 [line 35, column 3]\n " shape="box"]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_4" -> "bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_2" ;
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_5" [label="5: DeclStmt \n VARIABLE_DECLARED(y:int); [line 34, column 3]\n n$2=_fun_p() [line 34, column 11]\n *&y:int=n$2 [line 34, column 3]\n " shape="box"]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_5" -> "bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_3" ;
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_6" [label="6: Compound statement \n n$3=*&self:A* [line 27, column 7]\n n$4=*&x:int [line 27, column 7]\n n$7=*&self:A* [line 30, column 7]\n n$10=*&a:A* [line 33, column 7]\n n$11=_fun_foo[specialized with blocks](n$4:int,n$3:A*,(_fun_objc_blockA.bar:_2,([by value]n$7 &self:A*)):_fn_(*),(_fun_objc_blockA.bar:_1,([by value]n$3 &self:A*),([by value]n$4 &x:int)):_fn_(*),n$10:A*) [line 26, column 3]\n " shape="box"]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_6" -> "bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_5" ;
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_7" [label="7: DeclStmt \n VARIABLE_DECLARED(x:int); [line 25, column 3]\n *&x:int=0 [line 25, column 3]\n " shape="box"]
"bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_7" -> "bar:#A(class A)#instance.3e4a860660eb436d473f8ceeb9c1a72b_6" ;
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_1" [label="1: Start A.call_foo_with_same_param\nFormals: self:A*\nLocals: b:_fn_(*) \n " color=yellow style=filled]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_1" -> "call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_7" ;
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_2" [label="2: Exit A.call_foo_with_same_param \n " color=yellow style=filled]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_3" [label="3: Return Stmt \n n$20=*&self:A* [line 56, column 10]\n n$21=*n$20.x:int [line 56, column 10]\n " shape="box"]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_3" -> "call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_4" ;
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_4" [label="4: Return Stmt \n *&return:int=n$21 [line 56, column 3]\n " shape="box"]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_4" -> "call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_2" ;
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_5" [label="5: Call _fun_foo \n n$22=*&b:_fn_(*) [line 55, column 7]\n n$23=*&b:_fn_(*) [line 55, column 10]\n n$24=*&self:A* [line 55, column 13]\n n$25=_fun_foo[specialized with blocks](n$30:A*,(_fun_objc_blockA.call_foo_with_same_param_5,([by value]n$30 &self:A*)):_fn_(*),(_fun_objc_blockA.call_foo_with_same_param_5,([by value]n$30 &self:A*)):_fn_(*),n$24:A*) [line 55, column 3]\n " shape="box"]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_5" -> "call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_3" ;
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_6" [label="6: Call _fun_foo \n n$26=*&b:_fn_(*) [line 54, column 7]\n n$27=*&b:_fn_(*) [line 54, column 10]\n n$28=*&self:A* [line 54, column 13]\n n$29=_fun_foo[specialized with blocks](n$30:A*,(_fun_objc_blockA.call_foo_with_same_param_5,([by value]n$30 &self:A*)):_fn_(*),(_fun_objc_blockA.call_foo_with_same_param_5,([by value]n$30 &self:A*)):_fn_(*),n$28:A*) [line 54, column 3]\n " shape="box"]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_6" -> "call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_5" ;
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_7" [label="7: DeclStmt \n VARIABLE_DECLARED(b:_fn_(*)); [line 51, column 3]\n n$30=*&self:A* [line 51, column 20]\n *&b:_fn_(*)=(_fun_objc_blockA.call_foo_with_same_param_5,([by value]n$30 &self:A*)) [line 51, column 3]\n " shape="box"]
"call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_7" -> "call_foo_with_same_param#A#instance.7f01b1476c1662f7ce825ec7b1739a00_6" ;
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_1" [label="1: Start A.dealloc\nFormals: self:A*\nLocals: \n " color=yellow style=filled]
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_1" -> "dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_3" ;
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_2" [label="2: Exit A.dealloc \n " color=yellow style=filled]
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_3" [label="3: Call dealloc \n " shape="box"]
"dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_3" -> "dealloc#A#instance.55ac864e91dcd5d484e8ab7d8eb94fcb_2" ;
}
| Graphviz (DOT) | 4 | gpetiot/infer | infer/tests/codetoanalyze/objc/frontend/block/specialized_method_with_block_params.m.dot | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.