diff --git a/cql-tests-runner.js b/cql-tests-runner.js index 6acf3e9..e40adaf 100644 --- a/cql-tests-runner.js +++ b/cql-tests-runner.js @@ -1,5 +1,6 @@ #!/usr/bin/node +const os = require('os'); const fs = require('fs'); const path = require('path'); const { format } = require('date-fns'); @@ -117,9 +118,11 @@ async function main() { //const onlyTestName = "CeilingNeg1D1"; let results = []; + let groupResults = []; for (const ts of tests) { if (typeof onlyTestsName === 'undefined' || onlyTestsName === ts.name) { console.log('Tests: ' + ts.name); + let groupTests = []; for (const group of ts.group) { if (typeof onlyGroupName === 'undefined' || onlyGroupName === group.name) { console.log(' Group: ' + group.name); @@ -128,7 +131,9 @@ async function main() { for (const t of test) { if (typeof onlyTestName === 'undefined' || onlyTestName === t.name) { console.log(' Test: ' + t.name); - results.push(new Result(ts.name, group.name, t)); + var r = new Result(ts.name, group.name, t); + results.push(r); + groupTests.push(r); } } } @@ -137,21 +142,56 @@ async function main() { } } } + groupResults.push(groupTests); + if (quickTest) { break; // Only load 1 test set for testing } } } + for (let g of groupResults) { + await runGroupTest(g, apiUrl, x); + } + + /* for (let r of results) { await runTest(r, apiUrl, x); } + */ logResults(results, outputPath); }; main(); +async function runGroupTest(group, apiUrl, cvl) { + var testsName = ''; + var body = ''; + for (let r of group) { + if (testsName === '') { + testsName = r.testsName; + } + // TODO: Build a separate library for invalid semantic tests? + if (r.invalid !== 'semantic') { + body += 'define "' + r.groupName + '.' + r.testName + '": ' + r.expression + os.EOL + os.EOL; + } + } + + var body = 'library ' + testsName + ' version \'1.0.000\'' + os.EOL + os.EOL + body; + + const cqlOutputPath = './cql'; + if (!fs.existsSync(cqlOutputPath)) { + fs.mkdirSync(cqlOutputPath, { recursive: true }); + } + + const fileName = testsName + '.cql'; + const filePath = path.join(cqlOutputPath, fileName); + fs.writeFileSync(filePath, body, (error) => { + if (error) throw error; + }); +} + async function runTest(result, apiUrl, cvl) { if (result.testStatus !== 'skip') { const data = { diff --git a/cql/CqlAggregateFunctionsTest.cql b/cql/CqlAggregateFunctionsTest.cql new file mode 100644 index 0000000..9145ca0 --- /dev/null +++ b/cql/CqlAggregateFunctionsTest.cql @@ -0,0 +1,80 @@ +library CqlAggregateFunctionsTest + +define "AllTrue.AllTrueAllTrue": AllTrue({true,true}) + +define "AllTrue.AllTrueTrueFirst": AllTrue({true,false}) + +define "AllTrue.AllTrueFalseFirst": AllTrue({false,true}) + +define "AllTrue.AllTrueAllTrueFalseTrue": AllTrue({true,false,true}) + +define "AllTrue.AllTrueAllFalseTrueFalse": AllTrue({false,true,false}) + +define "AllTrue.AllTrueNullFirst": AllTrue({null,true,true}) + +define "AllTrue.AllTrueEmptyList": AllTrue({}) + +define "AnyTrue.AnyTrueAllTrue": AnyTrue({true,true}) + +define "AnyTrue.AnyTrueAllFalse": AnyTrue({false,false}) + +define "AnyTrue.AnyTrueAllTrueFalseTrue": AnyTrue({true,false,true}) + +define "AnyTrue.AnyTrueAllFalseTrueFalse": AnyTrue({false,true,false}) + +define "AnyTrue.AnyTrueTrueFirst": AnyTrue({true,false}) + +define "AnyTrue.AnyTrueFalseFirst": AnyTrue({false,true}) + +define "AnyTrue.AnyTrueNullFirstThenTrue": AnyTrue({null,true}) + +define "AnyTrue.AnyTrueNullFirstThenFalse": AnyTrue({null,false}) + +define "AnyTrue.AnyTrueEmptyList": AnyTrue({}) + +define "Avg.AvgTest1": Avg({ 1.0, 2.0, 3.0, 6.0 }) + +define "Count.CountTest1": Count({ 15, 5, 99, null, 1 }) + +define "Count.CountTestDateTime": Count({ DateTime(2014), DateTime(2001), DateTime(2010) }) + +define "Count.CountTestTime": Count({ @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 }) + +define "Count.CountTestNull": Count({}) + +define "Max.MaxTestInteger": Max({ 5, 12, 1, 15, 0, 4, 90, 44 }) + +define "Max.MaxTestString": Max({ 'hi', 'bye', 'zebra' }) + +define "Max.MaxTestDateTime": Max({ DateTime(2012, 10, 5), DateTime(2012, 9, 5), DateTime(2012, 10, 6) }) + +define "Max.MaxTestTime": Max({ @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 }) + +define "Median.MedianTestDecimal": Median({6.0, 5.0, 4.0, 3.0, 2.0, 1.0}) + +define "Min.MinTestInteger": Min({5, 12, 1, 15, 0, 4, 90, 44}) + +define "Min.MinTestString": Min({'hi', 'bye', 'zebra'}) + +define "Min.MinTestDateTime": Min({ DateTime(2012, 10, 5), DateTime(2012, 9, 5), DateTime(2012, 10, 6) }) + +define "Min.MinTestTime": Min({ @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 }) + +define "Mode.ModeTestInteger": Mode({ 2, 1, 8, 2, 9, 1, 9, 9 }) + +define "Mode.ModeTestDateTime": Mode({ DateTime(2012, 10, 5), DateTime(2012, 9, 5), DateTime(2012, 10, 6), DateTime(2012, 9, 5) }) + +define "Mode.ModeTestTime": Mode({ @T15:59:59.999, @T05:59:59.999, @T20:59:59.999, @T05:59:59.999 }) + +define "PopulationStdDev.PopStdDevTest1": PopulationStdDev({ 1.0, 2.0, 3.0, 4.0, 5.0 }) + +define "PopulationVariance.PopVarianceTest1": PopulationVariance({ 1.0, 2.0, 3.0, 4.0, 5.0 }) + +define "StdDev.StdDevTest1": StdDev({ 1.0, 2.0, 3.0, 4.0, 5.0 }) + +define "Sum.SumTest1": Sum({ 6.0, 2.0, 3.0, 4.0, 5.0 }) + +define "Sum.SumTestNull": Sum({ null, 1, null }) + +define "Variance.VarianceTest1": Variance({ 1.0, 2.0, 3.0, 4.0, 5.0 }) + diff --git a/cql/CqlAggregateFunctionsTest.json b/cql/CqlAggregateFunctionsTest.json new file mode 100644 index 0000000..47a7fbf --- /dev/null +++ b/cql/CqlAggregateFunctionsTest.json @@ -0,0 +1,3267 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "779", + "s" : [ { + "value" : [ "","library CqlAggregateFunctionsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlAggregateFunctionsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:53", + "name" : "AllTrue.AllTrueAllTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueAllTrue\"",": " ] + }, { + "r" : "213", + "s" : [ { + "value" : [ "AllTrue","(" ] + }, { + "r" : "208", + "s" : [ { + "r" : "209", + "value" : [ "{","true",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "213", + "locator" : "3:34-3:53", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "208", + "locator" : "3:42-3:52", + "type" : "List", + "element" : [ { + "localId" : "209", + "locator" : "3:43-3:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "210", + "locator" : "3:48-3:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "215", + "locator" : "5:1-5:56", + "name" : "AllTrue.AllTrueTrueFirst", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "215", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueTrueFirst\"",": " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "AllTrue","(" ] + }, { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "{","true",",","false","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "221", + "locator" : "5:36-5:56", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "216", + "locator" : "5:44-5:55", + "type" : "List", + "element" : [ { + "localId" : "217", + "locator" : "5:45-5:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "218", + "locator" : "5:50-5:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "223", + "locator" : "7:1-7:57", + "name" : "AllTrue.AllTrueFalseFirst", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueFalseFirst\"",": " ] + }, { + "r" : "229", + "s" : [ { + "value" : [ "AllTrue","(" ] + }, { + "r" : "224", + "s" : [ { + "r" : "225", + "value" : [ "{","false",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "229", + "locator" : "7:37-7:57", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "224", + "locator" : "7:45-7:56", + "type" : "List", + "element" : [ { + "localId" : "225", + "locator" : "7:46-7:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "226", + "locator" : "7:52-7:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "231", + "locator" : "9:1-9:68", + "name" : "AllTrue.AllTrueAllTrueFalseTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "231", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueAllTrueFalseTrue\"",": " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "AllTrue","(" ] + }, { + "r" : "232", + "s" : [ { + "r" : "233", + "value" : [ "{","true",",","false",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "238", + "locator" : "9:43-9:68", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "232", + "locator" : "9:51-9:67", + "type" : "List", + "element" : [ { + "localId" : "233", + "locator" : "9:52-9:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "234", + "locator" : "9:57-9:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "235", + "locator" : "9:63-9:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "240", + "locator" : "11:1-11:70", + "name" : "AllTrue.AllTrueAllFalseTrueFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueAllFalseTrueFalse\"",": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "AllTrue","(" ] + }, { + "r" : "241", + "s" : [ { + "r" : "242", + "value" : [ "{","false",",","true",",","false","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "247", + "locator" : "11:44-11:70", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "241", + "locator" : "11:52-11:69", + "type" : "List", + "element" : [ { + "localId" : "242", + "locator" : "11:53-11:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "243", + "locator" : "11:59-11:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "244", + "locator" : "11:64-11:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "249", + "locator" : "13:1-13:60", + "name" : "AllTrue.AllTrueNullFirst", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "249", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueNullFirst\"",": " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "AllTrue","(" ] + }, { + "r" : "250", + "s" : [ { + "r" : "251", + "value" : [ "{","null",",","true",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "257", + "locator" : "13:36-13:60", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "250", + "locator" : "13:44-13:59", + "type" : "List", + "element" : [ { + "localId" : "254", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "251", + "locator" : "13:45-13:48", + "type" : "Null" + } + }, { + "localId" : "252", + "locator" : "13:50-13:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "253", + "locator" : "13:55-13:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "259", + "locator" : "15:1-15:46", + "name" : "AllTrue.AllTrueEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "259", + "s" : [ { + "value" : [ "","define ","\"AllTrue.AllTrueEmptyList\"",": " ] + }, { + "r" : "268", + "s" : [ { + "r" : "260", + "value" : [ "AllTrue","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "268", + "locator" : "15:36-15:46", + "type" : "AllTrue", + "signature" : [ ], + "source" : { + "localId" : "269", + "type" : "Query", + "source" : [ { + "localId" : "270", + "alias" : "X", + "expression" : { + "localId" : "260", + "locator" : "15:44-15:45", + "type" : "List", + "element" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "271", + "distinct" : false, + "expression" : { + "localId" : "273", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "272", + "name" : "X", + "type" : "AliasRef" + } + } + } + } + } + }, { + "localId" : "275", + "locator" : "17:1-17:53", + "name" : "AnyTrue.AnyTrueAllTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "275", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueAllTrue\"",": " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "276", + "s" : [ { + "r" : "277", + "value" : [ "{","true",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "281", + "locator" : "17:34-17:53", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "276", + "locator" : "17:42-17:52", + "type" : "List", + "element" : [ { + "localId" : "277", + "locator" : "17:43-17:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "278", + "locator" : "17:48-17:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "283", + "locator" : "19:1-19:56", + "name" : "AnyTrue.AnyTrueAllFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueAllFalse\"",": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "284", + "s" : [ { + "r" : "285", + "value" : [ "{","false",",","false","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "289", + "locator" : "19:35-19:56", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "284", + "locator" : "19:43-19:55", + "type" : "List", + "element" : [ { + "localId" : "285", + "locator" : "19:44-19:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "286", + "locator" : "19:50-19:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "291", + "locator" : "21:1-21:68", + "name" : "AnyTrue.AnyTrueAllTrueFalseTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "291", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueAllTrueFalseTrue\"",": " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "292", + "s" : [ { + "r" : "293", + "value" : [ "{","true",",","false",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "298", + "locator" : "21:43-21:68", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "292", + "locator" : "21:51-21:67", + "type" : "List", + "element" : [ { + "localId" : "293", + "locator" : "21:52-21:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "294", + "locator" : "21:57-21:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "295", + "locator" : "21:63-21:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "300", + "locator" : "23:1-23:70", + "name" : "AnyTrue.AnyTrueAllFalseTrueFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "300", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueAllFalseTrueFalse\"",": " ] + }, { + "r" : "307", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "301", + "s" : [ { + "r" : "302", + "value" : [ "{","false",",","true",",","false","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "307", + "locator" : "23:44-23:70", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "301", + "locator" : "23:52-23:69", + "type" : "List", + "element" : [ { + "localId" : "302", + "locator" : "23:53-23:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "303", + "locator" : "23:59-23:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "304", + "locator" : "23:64-23:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "309", + "locator" : "25:1-25:56", + "name" : "AnyTrue.AnyTrueTrueFirst", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueTrueFirst\"",": " ] + }, { + "r" : "315", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "310", + "s" : [ { + "r" : "311", + "value" : [ "{","true",",","false","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "315", + "locator" : "25:36-25:56", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "310", + "locator" : "25:44-25:55", + "type" : "List", + "element" : [ { + "localId" : "311", + "locator" : "25:45-25:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "312", + "locator" : "25:50-25:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "317", + "locator" : "27:1-27:57", + "name" : "AnyTrue.AnyTrueFalseFirst", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "317", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueFalseFirst\"",": " ] + }, { + "r" : "323", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "318", + "s" : [ { + "r" : "319", + "value" : [ "{","false",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "323", + "locator" : "27:37-27:57", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "318", + "locator" : "27:45-27:56", + "type" : "List", + "element" : [ { + "localId" : "319", + "locator" : "27:46-27:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "320", + "locator" : "27:52-27:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "325", + "locator" : "29:1-29:63", + "name" : "AnyTrue.AnyTrueNullFirstThenTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueNullFirstThenTrue\"",": " ] + }, { + "r" : "332", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "value" : [ "{","null",",","true","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "332", + "locator" : "29:44-29:63", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "326", + "locator" : "29:52-29:62", + "type" : "List", + "element" : [ { + "localId" : "329", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "327", + "locator" : "29:53-29:56", + "type" : "Null" + } + }, { + "localId" : "328", + "locator" : "29:58-29:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "334", + "locator" : "31:1-31:65", + "name" : "AnyTrue.AnyTrueNullFirstThenFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueNullFirstThenFalse\"",": " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "AnyTrue","(" ] + }, { + "r" : "335", + "s" : [ { + "r" : "336", + "value" : [ "{","null",",","false","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "341", + "locator" : "31:45-31:65", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "335", + "locator" : "31:53-31:64", + "type" : "List", + "element" : [ { + "localId" : "338", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "336", + "locator" : "31:54-31:57", + "type" : "Null" + } + }, { + "localId" : "337", + "locator" : "31:59-31:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "343", + "locator" : "33:1-33:46", + "name" : "AnyTrue.AnyTrueEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "","define ","\"AnyTrue.AnyTrueEmptyList\"",": " ] + }, { + "r" : "352", + "s" : [ { + "r" : "344", + "value" : [ "AnyTrue","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "352", + "locator" : "33:36-33:46", + "type" : "AnyTrue", + "signature" : [ ], + "source" : { + "localId" : "353", + "type" : "Query", + "source" : [ { + "localId" : "354", + "alias" : "X", + "expression" : { + "localId" : "344", + "locator" : "33:44-33:45", + "type" : "List", + "element" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "355", + "distinct" : false, + "expression" : { + "localId" : "357", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "356", + "name" : "X", + "type" : "AliasRef" + } + } + } + } + } + }, { + "localId" : "359", + "locator" : "35:1-35:50", + "name" : "Avg.AvgTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "359", + "s" : [ { + "value" : [ "","define ","\"Avg.AvgTest1\"",": " ] + }, { + "r" : "369", + "s" : [ { + "value" : [ "Avg","(" ] + }, { + "r" : "360", + "s" : [ { + "r" : "361", + "value" : [ "{ ","1.0",", ","2.0",", ","3.0",", ","6.0"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "369", + "locator" : "35:24-35:50", + "type" : "Avg", + "signature" : [ { + "localId" : "370", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "360", + "locator" : "35:28-35:49", + "type" : "List", + "element" : [ { + "localId" : "361", + "locator" : "35:30-35:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "362", + "locator" : "35:35-35:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "363", + "locator" : "35:40-35:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "364", + "locator" : "35:45-35:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "6.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "373", + "locator" : "37:1-37:56", + "name" : "Count.CountTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "","define ","\"Count.CountTest1\"",": " ] + }, { + "r" : "383", + "s" : [ { + "value" : [ "Count","(" ] + }, { + "r" : "374", + "s" : [ { + "r" : "375", + "value" : [ "{ ","15",", ","5",", ","99",", ","null",", ","1"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "383", + "locator" : "37:28-37:56", + "type" : "Count", + "signature" : [ ], + "source" : { + "localId" : "374", + "locator" : "37:34-37:55", + "type" : "List", + "element" : [ { + "localId" : "375", + "locator" : "37:36-37:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, { + "localId" : "376", + "locator" : "37:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "377", + "locator" : "37:43-37:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "99", + "type" : "Literal" + }, { + "localId" : "380", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "378", + "locator" : "37:47-37:50", + "type" : "Null" + } + }, { + "localId" : "379", + "locator" : "37:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "385", + "locator" : "39:1-39:91", + "name" : "Count.CountTestDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "","define ","\"Count.CountTestDateTime\"",": " ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "Count","(" ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "390", + "s" : [ { + "r" : "387", + "value" : [ "DateTime","(","2014",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "394", + "s" : [ { + "r" : "391", + "value" : [ "DateTime","(","2001",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "398", + "s" : [ { + "r" : "395", + "value" : [ "DateTime","(","2010",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "403", + "locator" : "39:35-39:91", + "type" : "Count", + "signature" : [ { + "localId" : "404", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "386", + "locator" : "39:41-39:90", + "type" : "List", + "element" : [ { + "localId" : "390", + "locator" : "39:43-39:56", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "387", + "locator" : "39:52-39:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "394", + "locator" : "39:59-39:72", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "391", + "locator" : "39:68-39:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + } + }, { + "localId" : "398", + "locator" : "39:75-39:88", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "395", + "locator" : "39:84-39:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "407", + "locator" : "41:1-41:87", + "name" : "Count.CountTestTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "407", + "s" : [ { + "value" : [ "","define ","\"Count.CountTestTime\"",": " ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "Count","(" ] + }, { + "r" : "408", + "s" : [ { + "r" : "409", + "value" : [ "{ ","@T15:59:59.999",", ","@T05:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "428", + "locator" : "41:31-41:87", + "type" : "Count", + "signature" : [ { + "localId" : "429", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "408", + "locator" : "41:37-41:86", + "type" : "List", + "element" : [ { + "localId" : "409", + "locator" : "41:39-41:52", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "410", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "411", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "412", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "413", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "414", + "locator" : "41:55-41:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "415", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "416", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "417", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "418", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "419", + "locator" : "41:71-41:84", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "420", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "421", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "422", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "423", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "432", + "locator" : "43:1-43:39", + "name" : "Count.CountTestNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "432", + "s" : [ { + "value" : [ "","define ","\"Count.CountTestNull\"",": " ] + }, { + "r" : "438", + "s" : [ { + "r" : "433", + "value" : [ "Count","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "438", + "locator" : "43:31-43:39", + "type" : "Count", + "signature" : [ { + "localId" : "439", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "440", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "433", + "locator" : "43:37-43:38", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "442", + "locator" : "45:1-45:64", + "name" : "Max.MaxTestInteger", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "442", + "s" : [ { + "value" : [ "","define ","\"Max.MaxTestInteger\"",": " ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "Max","(" ] + }, { + "r" : "443", + "s" : [ { + "r" : "444", + "value" : [ "{ ","5",", ","12",", ","1",", ","15",", ","0",", ","4",", ","90",", ","44"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "456", + "locator" : "45:30-45:64", + "type" : "Max", + "signature" : [ { + "localId" : "457", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "458", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "443", + "locator" : "45:34-45:63", + "type" : "List", + "element" : [ { + "localId" : "444", + "locator" : "45:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "445", + "locator" : "45:39-45:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, { + "localId" : "446", + "locator" : "45:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "447", + "locator" : "45:46-45:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, { + "localId" : "448", + "locator" : "45:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "449", + "locator" : "45:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "450", + "locator" : "45:56-45:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "90", + "type" : "Literal" + }, { + "localId" : "451", + "locator" : "45:60-45:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "44", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "460", + "locator" : "47:1-47:57", + "name" : "Max.MaxTestString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "460", + "s" : [ { + "value" : [ "","define ","\"Max.MaxTestString\"",": " ] + }, { + "r" : "469", + "s" : [ { + "value" : [ "Max","(" ] + }, { + "r" : "461", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "'bye'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "'zebra'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "469", + "locator" : "47:29-47:57", + "type" : "Max", + "signature" : [ { + "localId" : "470", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "471", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "461", + "locator" : "47:33-47:56", + "type" : "List", + "element" : [ { + "localId" : "462", + "locator" : "47:35-47:38", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + }, { + "localId" : "463", + "locator" : "47:41-47:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bye", + "type" : "Literal" + }, { + "localId" : "464", + "locator" : "47:48-47:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "zebra", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "473", + "locator" : "49:1-49:105", + "name" : "Max.MaxTestDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "473", + "s" : [ { + "value" : [ "","define ","\"Max.MaxTestDateTime\"",": " ] + }, { + "r" : "497", + "s" : [ { + "value" : [ "Max","(" ] + }, { + "r" : "474", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "480", + "s" : [ { + "r" : "475", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "486", + "s" : [ { + "r" : "481", + "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "492", + "s" : [ { + "r" : "487", + "value" : [ "DateTime","(","2012",", ","10",", ","6",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "497", + "locator" : "49:31-49:105", + "type" : "Max", + "signature" : [ { + "localId" : "498", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "499", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "474", + "locator" : "49:35-49:104", + "type" : "List", + "element" : [ { + "localId" : "480", + "locator" : "49:37-49:57", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "475", + "locator" : "49:46-49:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "476", + "locator" : "49:52-49:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "477", + "locator" : "49:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "486", + "locator" : "49:60-49:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "481", + "locator" : "49:69-49:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "482", + "locator" : "49:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "483", + "locator" : "49:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "492", + "locator" : "49:82-49:102", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "487", + "locator" : "49:91-49:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "488", + "locator" : "49:97-49:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "489", + "locator" : "49:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "501", + "locator" : "51:1-51:81", + "name" : "Max.MaxTestTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "501", + "s" : [ { + "value" : [ "","define ","\"Max.MaxTestTime\"",": " ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "Max","(" ] + }, { + "r" : "502", + "s" : [ { + "r" : "503", + "value" : [ "{ ","@T15:59:59.999",", ","@T05:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "522", + "locator" : "51:27-51:81", + "type" : "Max", + "signature" : [ { + "localId" : "523", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "524", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "502", + "locator" : "51:31-51:80", + "type" : "List", + "element" : [ { + "localId" : "503", + "locator" : "51:33-51:46", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "504", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "505", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "506", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "507", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "508", + "locator" : "51:49-51:62", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "509", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "510", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "511", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "512", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "513", + "locator" : "51:65-51:78", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "514", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "515", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "516", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "517", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "526", + "locator" : "53:1-53:73", + "name" : "Median.MedianTestDecimal", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "526", + "s" : [ { + "value" : [ "","define ","\"Median.MedianTestDecimal\"",": " ] + }, { + "r" : "538", + "s" : [ { + "value" : [ "Median","(" ] + }, { + "r" : "527", + "s" : [ { + "r" : "528", + "value" : [ "{","6.0",", ","5.0",", ","4.0",", ","3.0",", ","2.0",", ","1.0","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "538", + "locator" : "53:36-53:73", + "type" : "Median", + "signature" : [ { + "localId" : "539", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "540", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "527", + "locator" : "53:43-53:72", + "type" : "List", + "element" : [ { + "localId" : "528", + "locator" : "53:44-53:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "6.0", + "type" : "Literal" + }, { + "localId" : "529", + "locator" : "53:49-53:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + }, { + "localId" : "530", + "locator" : "53:54-53:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "531", + "locator" : "53:59-53:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "532", + "locator" : "53:64-53:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "533", + "locator" : "53:69-53:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "542", + "locator" : "55:1-55:62", + "name" : "Min.MinTestInteger", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "542", + "s" : [ { + "value" : [ "","define ","\"Min.MinTestInteger\"",": " ] + }, { + "r" : "556", + "s" : [ { + "value" : [ "Min","(" ] + }, { + "r" : "543", + "s" : [ { + "r" : "544", + "value" : [ "{","5",", ","12",", ","1",", ","15",", ","0",", ","4",", ","90",", ","44","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "556", + "locator" : "55:30-55:62", + "type" : "Min", + "signature" : [ { + "localId" : "557", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "558", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "543", + "locator" : "55:34-55:61", + "type" : "List", + "element" : [ { + "localId" : "544", + "locator" : "55:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "545", + "locator" : "55:38-55:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, { + "localId" : "546", + "locator" : "55:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "547", + "locator" : "55:45-55:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, { + "localId" : "548", + "locator" : "55:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "549", + "locator" : "55:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "550", + "locator" : "55:55-55:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "90", + "type" : "Literal" + }, { + "localId" : "551", + "locator" : "55:59-55:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "44", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "560", + "locator" : "57:1-57:55", + "name" : "Min.MinTestString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "560", + "s" : [ { + "value" : [ "","define ","\"Min.MinTestString\"",": " ] + }, { + "r" : "569", + "s" : [ { + "value" : [ "Min","(" ] + }, { + "r" : "561", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "562", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "563", + "s" : [ { + "value" : [ "'bye'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "564", + "s" : [ { + "value" : [ "'zebra'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "569", + "locator" : "57:29-57:55", + "type" : "Min", + "signature" : [ { + "localId" : "570", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "571", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "561", + "locator" : "57:33-57:54", + "type" : "List", + "element" : [ { + "localId" : "562", + "locator" : "57:34-57:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + }, { + "localId" : "563", + "locator" : "57:40-57:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bye", + "type" : "Literal" + }, { + "localId" : "564", + "locator" : "57:47-57:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "zebra", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "573", + "locator" : "59:1-59:105", + "name" : "Min.MinTestDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "573", + "s" : [ { + "value" : [ "","define ","\"Min.MinTestDateTime\"",": " ] + }, { + "r" : "597", + "s" : [ { + "value" : [ "Min","(" ] + }, { + "r" : "574", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "580", + "s" : [ { + "r" : "575", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "586", + "s" : [ { + "r" : "581", + "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "592", + "s" : [ { + "r" : "587", + "value" : [ "DateTime","(","2012",", ","10",", ","6",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "597", + "locator" : "59:31-59:105", + "type" : "Min", + "signature" : [ { + "localId" : "598", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "574", + "locator" : "59:35-59:104", + "type" : "List", + "element" : [ { + "localId" : "580", + "locator" : "59:37-59:57", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "575", + "locator" : "59:46-59:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "576", + "locator" : "59:52-59:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "577", + "locator" : "59:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "586", + "locator" : "59:60-59:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "581", + "locator" : "59:69-59:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "582", + "locator" : "59:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "583", + "locator" : "59:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "592", + "locator" : "59:82-59:102", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "587", + "locator" : "59:91-59:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "588", + "locator" : "59:97-59:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "589", + "locator" : "59:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "601", + "locator" : "61:1-61:81", + "name" : "Min.MinTestTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "601", + "s" : [ { + "value" : [ "","define ","\"Min.MinTestTime\"",": " ] + }, { + "r" : "622", + "s" : [ { + "value" : [ "Min","(" ] + }, { + "r" : "602", + "s" : [ { + "r" : "603", + "value" : [ "{ ","@T15:59:59.999",", ","@T05:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "622", + "locator" : "61:27-61:81", + "type" : "Min", + "signature" : [ { + "localId" : "623", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "602", + "locator" : "61:31-61:80", + "type" : "List", + "element" : [ { + "localId" : "603", + "locator" : "61:33-61:46", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "604", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "605", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "606", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "607", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "608", + "locator" : "61:49-61:62", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "609", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "610", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "611", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "612", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "613", + "locator" : "61:65-61:78", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "614", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "615", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "616", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "617", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "626", + "locator" : "63:1-63:63", + "name" : "Mode.ModeTestInteger", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "626", + "s" : [ { + "value" : [ "","define ","\"Mode.ModeTestInteger\"",": " ] + }, { + "r" : "638", + "s" : [ { + "value" : [ "Mode","(" ] + }, { + "r" : "627", + "s" : [ { + "r" : "628", + "value" : [ "{ ","2",", ","1",", ","8",", ","2",", ","9",", ","1",", ","9",", ","9"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "638", + "locator" : "63:32-63:63", + "type" : "Mode", + "signature" : [ ], + "source" : { + "localId" : "627", + "locator" : "63:37-63:62", + "type" : "List", + "element" : [ { + "localId" : "628", + "locator" : "63:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "629", + "locator" : "63:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "630", + "locator" : "63:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + }, { + "localId" : "631", + "locator" : "63:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "632", + "locator" : "63:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, { + "localId" : "633", + "locator" : "63:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "634", + "locator" : "63:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, { + "localId" : "635", + "locator" : "63:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "640", + "locator" : "65:1-65:130", + "name" : "Mode.ModeTestDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "640", + "s" : [ { + "value" : [ "","define ","\"Mode.ModeTestDateTime\"",": " ] + }, { + "r" : "670", + "s" : [ { + "value" : [ "Mode","(" ] + }, { + "r" : "641", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "647", + "s" : [ { + "r" : "642", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "653", + "s" : [ { + "r" : "648", + "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "659", + "s" : [ { + "r" : "654", + "value" : [ "DateTime","(","2012",", ","10",", ","6",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "665", + "s" : [ { + "r" : "660", + "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "670", + "locator" : "65:33-65:130", + "type" : "Mode", + "signature" : [ { + "localId" : "671", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "641", + "locator" : "65:38-65:129", + "type" : "List", + "element" : [ { + "localId" : "647", + "locator" : "65:40-65:60", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "642", + "locator" : "65:49-65:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "643", + "locator" : "65:55-65:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "644", + "locator" : "65:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "653", + "locator" : "65:63-65:82", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "648", + "locator" : "65:72-65:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "649", + "locator" : "65:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "650", + "locator" : "65:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "659", + "locator" : "65:85-65:105", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "654", + "locator" : "65:94-65:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "655", + "locator" : "65:100-65:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "656", + "locator" : "65:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + } + }, { + "localId" : "665", + "locator" : "65:108-65:127", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "660", + "locator" : "65:117-65:120", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "661", + "locator" : "65:123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "662", + "locator" : "65:126", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "674", + "locator" : "67:1-67:100", + "name" : "Mode.ModeTestTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "674", + "s" : [ { + "value" : [ "","define ","\"Mode.ModeTestTime\"",": " ] + }, { + "r" : "700", + "s" : [ { + "value" : [ "Mode","(" ] + }, { + "r" : "675", + "s" : [ { + "r" : "676", + "value" : [ "{ ","@T15:59:59.999",", ","@T05:59:59.999",", ","@T20:59:59.999",", ","@T05:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "700", + "locator" : "67:29-67:100", + "type" : "Mode", + "signature" : [ { + "localId" : "701", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "675", + "locator" : "67:34-67:99", + "type" : "List", + "element" : [ { + "localId" : "676", + "locator" : "67:36-67:49", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "677", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "678", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "679", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "680", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "681", + "locator" : "67:52-67:65", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "682", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "683", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "684", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "685", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "686", + "locator" : "67:68-67:81", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "687", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "688", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "689", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "690", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "691", + "locator" : "67:84-67:97", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "692", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "693", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "694", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "695", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "704", + "locator" : "69:1-69:87", + "name" : "PopulationStdDev.PopStdDevTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "704", + "s" : [ { + "value" : [ "","define ","\"PopulationStdDev.PopStdDevTest1\"",": " ] + }, { + "r" : "715", + "s" : [ { + "value" : [ "PopulationStdDev","(" ] + }, { + "r" : "705", + "s" : [ { + "r" : "706", + "value" : [ "{ ","1.0",", ","2.0",", ","3.0",", ","4.0",", ","5.0"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "715", + "locator" : "69:43-69:87", + "type" : "PopulationStdDev", + "signature" : [ { + "localId" : "716", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "717", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "705", + "locator" : "69:60-69:86", + "type" : "List", + "element" : [ { + "localId" : "706", + "locator" : "69:62-69:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "707", + "locator" : "69:67-69:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "708", + "locator" : "69:72-69:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "709", + "locator" : "69:77-69:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "710", + "locator" : "69:82-69:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "719", + "locator" : "71:1-71:93", + "name" : "PopulationVariance.PopVarianceTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "719", + "s" : [ { + "value" : [ "","define ","\"PopulationVariance.PopVarianceTest1\"",": " ] + }, { + "r" : "730", + "s" : [ { + "value" : [ "PopulationVariance","(" ] + }, { + "r" : "720", + "s" : [ { + "r" : "721", + "value" : [ "{ ","1.0",", ","2.0",", ","3.0",", ","4.0",", ","5.0"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "730", + "locator" : "71:47-71:93", + "type" : "PopulationVariance", + "signature" : [ { + "localId" : "731", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "732", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "720", + "locator" : "71:66-71:92", + "type" : "List", + "element" : [ { + "localId" : "721", + "locator" : "71:68-71:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "722", + "locator" : "71:73-71:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "723", + "locator" : "71:78-71:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "724", + "locator" : "71:83-71:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "725", + "locator" : "71:88-71:90", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "734", + "locator" : "73:1-73:64", + "name" : "StdDev.StdDevTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "734", + "s" : [ { + "value" : [ "","define ","\"StdDev.StdDevTest1\"",": " ] + }, { + "r" : "745", + "s" : [ { + "value" : [ "StdDev","(" ] + }, { + "r" : "735", + "s" : [ { + "r" : "736", + "value" : [ "{ ","1.0",", ","2.0",", ","3.0",", ","4.0",", ","5.0"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "745", + "locator" : "73:30-73:64", + "type" : "StdDev", + "signature" : [ { + "localId" : "746", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "747", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "735", + "locator" : "73:37-73:63", + "type" : "List", + "element" : [ { + "localId" : "736", + "locator" : "73:39-73:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "737", + "locator" : "73:44-73:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "738", + "locator" : "73:49-73:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "739", + "locator" : "73:54-73:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "740", + "locator" : "73:59-73:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "749", + "locator" : "75:1-75:55", + "name" : "Sum.SumTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "749", + "s" : [ { + "value" : [ "","define ","\"Sum.SumTest1\"",": " ] + }, { + "r" : "760", + "s" : [ { + "value" : [ "Sum","(" ] + }, { + "r" : "750", + "s" : [ { + "r" : "751", + "value" : [ "{ ","6.0",", ","2.0",", ","3.0",", ","4.0",", ","5.0"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "760", + "locator" : "75:24-75:55", + "type" : "Sum", + "signature" : [ { + "localId" : "761", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "762", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "750", + "locator" : "75:28-75:54", + "type" : "List", + "element" : [ { + "localId" : "751", + "locator" : "75:30-75:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "6.0", + "type" : "Literal" + }, { + "localId" : "752", + "locator" : "75:35-75:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "753", + "locator" : "75:40-75:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "754", + "locator" : "75:45-75:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "755", + "locator" : "75:50-75:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "764", + "locator" : "77:1-77:48", + "name" : "Sum.SumTestNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "764", + "s" : [ { + "value" : [ "","define ","\"Sum.SumTestNull\"",": " ] + }, { + "r" : "775", + "s" : [ { + "value" : [ "Sum","(" ] + }, { + "r" : "765", + "s" : [ { + "r" : "766", + "value" : [ "{ ","null",", ","1",", ","null"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "775", + "locator" : "77:27-77:48", + "type" : "Sum", + "signature" : [ { + "localId" : "776", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "777", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "765", + "locator" : "77:31-77:47", + "type" : "List", + "element" : [ { + "localId" : "769", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "766", + "locator" : "77:33-77:36", + "type" : "Null" + } + }, { + "localId" : "767", + "locator" : "77:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "770", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "768", + "locator" : "77:42-77:45", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "779", + "locator" : "79:1-79:70", + "name" : "Variance.VarianceTest1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "779", + "s" : [ { + "value" : [ "","define ","\"Variance.VarianceTest1\"",": " ] + }, { + "r" : "790", + "s" : [ { + "value" : [ "Variance","(" ] + }, { + "r" : "780", + "s" : [ { + "r" : "781", + "value" : [ "{ ","1.0",", ","2.0",", ","3.0",", ","4.0",", ","5.0"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "790", + "locator" : "79:34-79:70", + "type" : "Variance", + "signature" : [ { + "localId" : "791", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } ], + "source" : { + "localId" : "780", + "locator" : "79:43-79:69", + "type" : "List", + "element" : [ { + "localId" : "781", + "locator" : "79:45-79:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "782", + "locator" : "79:50-79:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "783", + "locator" : "79:55-79:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + }, { + "localId" : "784", + "locator" : "79:60-79:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "785", + "locator" : "79:65-79:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + } + } ] + } + } +} + diff --git a/cql/CqlAggregateFunctionsTest.xml b/cql/CqlAggregateFunctionsTest.xml new file mode 100644 index 0000000..20eb0d4 --- /dev/null +++ b/cql/CqlAggregateFunctionsTest.xml @@ -0,0 +1,1117 @@ + + + + + + library CqlAggregateFunctionsTest + + + + + + + + + + + + define "AllTrue.AllTrueAllTrue": + + AllTrue( + + {true,true} + + ) + + + + + + + + + + + + + + define "AllTrue.AllTrueTrueFirst": + + AllTrue( + + {true,false} + + ) + + + + + + + + + + + + + + define "AllTrue.AllTrueFalseFirst": + + AllTrue( + + {false,true} + + ) + + + + + + + + + + + + + + define "AllTrue.AllTrueAllTrueFalseTrue": + + AllTrue( + + {true,false,true} + + ) + + + + + + + + + + + + + + + define "AllTrue.AllTrueAllFalseTrueFalse": + + AllTrue( + + {false,true,false} + + ) + + + + + + + + + + + + + + + define "AllTrue.AllTrueNullFirst": + + AllTrue( + + {null,true,true} + + ) + + + + + + + + + + + + + + + + + define "AllTrue.AllTrueEmptyList": + + AllTrue({}) + + + + + + + + + + + + + + + + + + + + define "AnyTrue.AnyTrueAllTrue": + + AnyTrue( + + {true,true} + + ) + + + + + + + + + + + + + + define "AnyTrue.AnyTrueAllFalse": + + AnyTrue( + + {false,false} + + ) + + + + + + + + + + + + + + define "AnyTrue.AnyTrueAllTrueFalseTrue": + + AnyTrue( + + {true,false,true} + + ) + + + + + + + + + + + + + + + define "AnyTrue.AnyTrueAllFalseTrueFalse": + + AnyTrue( + + {false,true,false} + + ) + + + + + + + + + + + + + + + define "AnyTrue.AnyTrueTrueFirst": + + AnyTrue( + + {true,false} + + ) + + + + + + + + + + + + + + define "AnyTrue.AnyTrueFalseFirst": + + AnyTrue( + + {false,true} + + ) + + + + + + + + + + + + + + define "AnyTrue.AnyTrueNullFirstThenTrue": + + AnyTrue( + + {null,true} + + ) + + + + + + + + + + + + + + + + define "AnyTrue.AnyTrueNullFirstThenFalse": + + AnyTrue( + + {null,false} + + ) + + + + + + + + + + + + + + + + define "AnyTrue.AnyTrueEmptyList": + + AnyTrue({}) + + + + + + + + + + + + + + + + + + + + define "Avg.AvgTest1": + + Avg( + + { 1.0, 2.0, 3.0, 6.0 } + + ) + + + + + + + + + + + + + + + + + + + define "Count.CountTest1": + + Count( + + { 15, 5, 99, null, 1 } + + ) + + + + + + + + + + + + + + + + + + + define "Count.CountTestDateTime": + + Count( + + { + + DateTime(2014) + + , + + DateTime(2001) + + , + + DateTime(2010) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + define "Count.CountTestTime": + + Count( + + { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Count.CountTestNull": + + Count({}) + + + + + + + + + + + + + + define "Max.MaxTestInteger": + + Max( + + { 5, 12, 1, 15, 0, 4, 90, 44 } + + ) + + + + + + + + + + + + + + + + + + + + + + + define "Max.MaxTestString": + + Max( + + { + + 'hi' + + , + + 'bye' + + , + + 'zebra' + + } + + ) + + + + + + + + + + + + + + + + + + define "Max.MaxTestDateTime": + + Max( + + { + + DateTime(2012, 10, 5) + + , + + DateTime(2012, 9, 5) + + , + + DateTime(2012, 10, 6) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Max.MaxTestTime": + + Max( + + { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Median.MedianTestDecimal": + + Median( + + {6.0, 5.0, 4.0, 3.0, 2.0, 1.0} + + ) + + + + + + + + + + + + + + + + + + + + + define "Min.MinTestInteger": + + Min( + + {5, 12, 1, 15, 0, 4, 90, 44} + + ) + + + + + + + + + + + + + + + + + + + + + + + define "Min.MinTestString": + + Min( + + { + + 'hi' + + , + + 'bye' + + , + + 'zebra' + + } + + ) + + + + + + + + + + + + + + + + + + define "Min.MinTestDateTime": + + Min( + + { + + DateTime(2012, 10, 5) + + , + + DateTime(2012, 9, 5) + + , + + DateTime(2012, 10, 6) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Min.MinTestTime": + + Min( + + { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Mode.ModeTestInteger": + + Mode( + + { 2, 1, 8, 2, 9, 1, 9, 9 } + + ) + + + + + + + + + + + + + + + + + + + + define "Mode.ModeTestDateTime": + + Mode( + + { + + DateTime(2012, 10, 5) + + , + + DateTime(2012, 9, 5) + + , + + DateTime(2012, 10, 6) + + , + + DateTime(2012, 9, 5) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Mode.ModeTestTime": + + Mode( + + { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999, @T05:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "PopulationStdDev.PopStdDevTest1": + + PopulationStdDev( + + { 1.0, 2.0, 3.0, 4.0, 5.0 } + + ) + + + + + + + + + + + + + + + + + + + + define "PopulationVariance.PopVarianceTest1": + + PopulationVariance( + + { 1.0, 2.0, 3.0, 4.0, 5.0 } + + ) + + + + + + + + + + + + + + + + + + + + define "StdDev.StdDevTest1": + + StdDev( + + { 1.0, 2.0, 3.0, 4.0, 5.0 } + + ) + + + + + + + + + + + + + + + + + + + + define "Sum.SumTest1": + + Sum( + + { 6.0, 2.0, 3.0, 4.0, 5.0 } + + ) + + + + + + + + + + + + + + + + + + + + define "Sum.SumTestNull": + + Sum( + + { null, 1, null } + + ) + + + + + + + + + + + + + + + + + + + + + + define "Variance.VarianceTest1": + + Variance( + + { 1.0, 2.0, 3.0, 4.0, 5.0 } + + ) + + + + + + + + + + + + + + + + + + + + diff --git a/cql/CqlAggregateTest.cql b/cql/CqlAggregateTest.cql new file mode 100644 index 0000000..eaf9507 --- /dev/null +++ b/cql/CqlAggregateTest.cql @@ -0,0 +1,12 @@ +library CqlAggregateTest + +define "AggregateTests.FactorialOfFive": ({ 1, 2, 3, 4, 5 }) Num aggregate Result starting 1: Result * Num + +define "AggregateTests.RolledOutIntervals": MedicationRequestIntervals M + aggregate R starting (null as List>): R union ({ + M X + let S: Max({ end of Last(R) + 1 day, start of X }), + E: S + duration in days of X + return Interval[S, E] + }) + diff --git a/cql/CqlArithmeticFunctionsTest.cql b/cql/CqlArithmeticFunctionsTest.cql new file mode 100644 index 0000000..8b422c7 --- /dev/null +++ b/cql/CqlArithmeticFunctionsTest.cql @@ -0,0 +1,386 @@ +library CqlArithmeticFunctionsTest + +define "Abs.AbsNull": Abs(null as Integer) + +define "Abs.Abs0": Abs(0) + +define "Abs.AbsNeg1": Abs(-1) + +define "Abs.AbsNeg1Dec": Abs(-1.0) + +define "Abs.Abs0Dec": Abs(0.0) + +define "Abs.Abs1cm": Abs(-1.0'cm') + +define "Abs.AbsLong": Abs(-1L) + +define "Add.AddNull": 1 + null + +define "Add.Add11": 1 + 1 + +define "Add.Add1D1D": 1.0 + 1.0 + +define "Add.Add1Q1Q": 1'g/cm3' + 1'g/cm3' + +define "Add.AddIAndD": 1 + 2.0 + +define "Add.Add1L1L": 1L + 1L + +define "Ceiling.CeilingNull": Ceiling(null as Decimal) + +define "Ceiling.Ceiling1D": Ceiling(1.0) + +define "Ceiling.Ceiling1D1": Ceiling(1.1) + +define "Ceiling.CeilingNegD1": Ceiling(-0.1) + +define "Ceiling.CeilingNeg1": Ceiling(-1.0) + +define "Ceiling.CeilingNeg1D1": Ceiling(-1.1) + +define "Ceiling.Ceiling1I": Ceiling(1) + +define "Divide.DivideNull": 1 / null + +define "Divide.Divide10": 1 / 0 + +define "Divide.Divide01": 0 / 1 + +define "Divide.Divide11": 1 / 1 + +define "Divide.Divide1d1d": 1.0 / 1.0 + +define "Divide.Divide103": Round(10 / 3, 8) + +define "Divide.Divide1Q1": 1'g/cm3' / 1.0 + +define "Divide.Divide1Q1Q": 1'g/cm3' / 1'g/cm3' + +define "Divide.Divide10I5D": 10 / 5.0 + +define "Divide.Divide10I5I": 10 / 5 + +define "Divide.Divide10Q5I": 10.0 'g' / 5 + +define "Floor.FloorNull": Floor(null as Decimal) + +define "Floor.Floor1": Floor(1) + +define "Floor.Floor1D": Floor(1.0) + +define "Floor.Floor1D1": Floor(1.1) + +define "Floor.FloorNegD1": Floor(-0.1) + +define "Floor.FloorNeg1": Floor(-1.0) + +define "Floor.FloorNeg1D1": Floor(-1.1) + +define "Floor.Floor2I": Floor(2) + +define "Exp.ExpNull": Exp(null as Decimal) + +define "Exp.Exp0": Exp(0) + +define "Exp.ExpNeg0": Exp(-0) + +define "Exp.Exp1": Round(Exp(1), 8) + +define "Exp.ExpNeg1": Round(Exp(-1), 8) + +define "Exp.Exp1000": Exp(1000) + +define "Exp.Exp1000D": Exp(1000.0) + +define "HighBoundary.HighBoundaryDecimal": HighBoundary(1.587, 8) + +define "HighBoundary.HighBoundaryDateMonth": HighBoundary(@2014, 6) + +define "HighBoundary.HighBoundaryDateTimeMillisecond": HighBoundary(@2014-01-01T08, 17) + +define "HighBoundary.HighBoundaryTimeMillisecond": HighBoundary(@T10:30, 9) + +define "Log.LogNullNull": Log(null, null) + +define "Log.Log1BaseNull": Log(1, null) + +define "Log.Log1Base1": Log(1, 1) + +define "Log.Log1Base2": Log(1, 2) + +define "Log.Log1Base100": Log(1, 100) + +define "Log.Log16Base2": Log(16, 2) + +define "Log.LogD125Base2": Log(0.125, 2) + +define "LowBoundary.LowBoundaryDecimal": LowBoundary(1.587, 8) + +define "LowBoundary.LowBoundaryDateMonth": LowBoundary(@2014, 6) + +define "LowBoundary.LowBoundaryDateTimeMillisecond": LowBoundary(@2014-01-01T08, 17) + +define "LowBoundary.LowBoundaryTimeMillisecond": LowBoundary(@T10:30, 9) + +define "Ln.LnNull": Ln(null) + +define "Ln.Ln0": Ln(0) + +define "Ln.LnNeg0": Ln(-0) + +define "Ln.Ln1": Ln(1) + +define "Ln.LnNeg1": Ln(-1) + +define "Ln.Ln1000": Round(Ln(1000), 8) + +define "Ln.Ln1000D": Round(Ln(1000.0), 8) + +define "MinValue.IntegerMinValue": minimum Integer + +define "MinValue.LongMinValue": minimum Long + +define "MinValue.DecimalMinValue": minimum Decimal + +define "MinValue.DateTimeMinValue": minimum DateTime + +define "MinValue.DateMinValue": minimum Date + +define "MinValue.TimeMinValue": minimum Time + +define "MaxValue.IntegerMaxValue": maximum Integer + +define "MaxValue.LongMaxValue": maximum Long + +define "MaxValue.DecimalMaxValue": maximum Decimal + +define "MaxValue.DateTimeMaxValue": maximum DateTime + +define "MaxValue.DateMaxValue": maximum Date + +define "MaxValue.TimeMaxValue": maximum Time + +define "Modulo.ModuloNull": 1 mod null + +define "Modulo.Modulo0By0": 0 mod 0 + +define "Modulo.Modulo4By2": 4 mod 2 + +define "Modulo.Modulo4LBy2L": 4L mod 2L + +define "Modulo.Modulo4DBy2D": 4.0 mod 2.0 + +define "Modulo.Modulo10By3": 10 mod 3 + +define "Modulo.Modulo10DBy3D": 10.0 mod 3.0 + +define "Modulo.Modulo10IBy3D": 10 mod 3.0 + +define "Modulo.ModuloDResult": 3.5 mod 3 + +define "Modulo.ModuloQuantity": 3.5 'cm' mod 3 'cm' + +define "Multiply.MultiplyNull": 1 * null + +define "Multiply.Multiply1By1": 1 * 1 + +define "Multiply.Multiply1DBy2D": 1.0 * 2.0 + +define "Multiply.Multiply1By1L": 1 * 1L + +define "Multiply.Multiply1IBy2D": 1 * 2.0 + +define "Multiply.Multiply1CMBy2CM": 1.0 'cm' * 2.0 'cm' + +define "Negate.NegateNull": -(null as Integer) + +define "Negate.Negate0": -0 + +define "Negate.NegateNeg0": -(-0) + +define "Negate.Negate1": -1 + +define "Negate.NegateNeg1": -(-1) + +define "Negate.NegateNeg1L": -(-1L) + +define "Negate.Negate0D": -(0.0) + +define "Negate.NegateNeg0D": -(-0.0) + +define "Negate.Negate1D": -(1.0) + +define "Negate.NegateNeg1D": -(-1.0) + +define "Negate.Negate1CM": -(1'cm') + +define "Precision.PrecisionDecimal": Precision(1.58700) + +define "Precision.PrecisionYear": Precision(@2014) + +define "Precision.PrecisionDateTimeMilliseconds": Precision(@2014-01-05T10:30:00.000) + +define "Precision.PrecisionTimeMinutes": Precision(@T10:30) + +define "Precision.PrecisionTimeMilliseconds": Precision(@T10:30:00.000) + +define "Predecessor.PredecessorNull": predecessor of (null as Integer) + +define "Predecessor.PredecessorOf0": predecessor of 0 + +define "Predecessor.PredecessorOf1": predecessor of 1 + +define "Predecessor.PredecessorOf1L": predecessor of 1L + +define "Predecessor.PredecessorOf1D": predecessor of 1.0 + +define "Predecessor.PredecessorOf101D": predecessor of 1.01 + +define "Predecessor.PredecessorOf1QCM": predecessor of 1.0 'cm' + +define "Predecessor.PredecessorOfJan12000": predecessor of DateTime(2000,1,1) + +define "Predecessor.PredecessorOfNoon": predecessor of @T12:00:00.000 + +define "Predecessor.PredecessorUnderflowDt": predecessor of DateTime(0001, 1, 1, 0, 0, 0, 0) + +define "Predecessor.PredecessorUnderflowT": predecessor of @T00:00:00.000 + +define "Power.PowerNullToNull": Power(null as Integer, null as Integer) + +define "Power.Power0To0": Power(0, 0) + +define "Power.Power2To2": Power(2, 2) + +define "Power.PowerNeg2To2": Power(-2, 2) + +define "Power.Power2ToNeg2": Power(2, -2) + +define "Power.Power2LTo2L": Power(2L, 2L) + +define "Power.Power2DTo2D": Power(2.0, 2.0) + +define "Power.PowerNeg2DTo2D": Power(-2.0, 2.0) + +define "Power.Power2DToNeg2D": Power(2.0, -2.0) + +define "Power.Power2DTo2": Power(2.0, 2) + +define "Power.Power2To2D": Power(2, 2.0) + +define "Power.Power2To4": 2^4 + +define "Power.Power2DTo4D": 2.0^4.0 + +define "Power.Power2DToNeg2DEquivalence": Power(2, -2) ~ 0.25 + +define "Round.RoundNull": Round(null as Decimal) + +define "Round.Round1": Round(1) + +define "Round.Round0D5": Round(0.5) + +define "Round.Round0D4": Round(0.4) + +define "Round.Round3D14159": Round(3.14159, 2) + +define "Round.RoundNeg0D5": Round(-0.5) + +define "Round.RoundNeg0D4": Round(-0.4) + +define "Round.RoundNeg0D6": Round(-0.6) + +define "Round.RoundNeg1D1": Round(-1.1) + +define "Round.RoundNeg1D5": Round(-1.5) + +define "Round.RoundNeg1D6": Round(-1.6) + +define "Subtract.SubtractNull": 1 - null + +define "Subtract.Subtract1And1": 1 - 1 + +define "Subtract.Subtract1LAnd1L": 1L - 1L + +define "Subtract.Subtract1DAnd2D": 1.0 - 2.0 + +define "Subtract.Subtract1CMAnd2CM": 1.0 'cm' - 2.0 'cm' + +define "Subtract.Subtract2And11D": 2 - 1.1 + +define "Successor.SuccessorNull": successor of (null as Integer) + +define "Successor.SuccessorOf0": successor of 0 + +define "Successor.SuccessorOf1": successor of 1 + +define "Successor.SuccessorOf1L": successor of 1L + +define "Successor.SuccessorOf1D": successor of 1.0 + +define "Successor.SuccessorOf101D": successor of 1.01 + +define "Successor.SuccessorOfJan12000": successor of DateTime(2000,1,1) + +define "Successor.SuccessorOfNoon": successor of @T12:00:00.000 + +define "Successor.SuccessorOverflowDt": successor of DateTime(9999, 12, 31, 23, 59, 59, 999) + +define "Successor.SuccessorOverflowT": successor of @T23:59:59.999 + +define "Truncate.TruncateNull": Truncate(null as Decimal) + +define "Truncate.Truncate0": Truncate(0) + +define "Truncate.Truncate0D0": Truncate(0.0) + +define "Truncate.Truncate0D1": Truncate(0.1) + +define "Truncate.Truncate1": Truncate(1) + +define "Truncate.Truncate1D0": Truncate(1.0) + +define "Truncate.Truncate1D1": Truncate(1.1) + +define "Truncate.Truncate1D9": Truncate(1.9) + +define "Truncate.TruncateNeg1": Truncate(-1) + +define "Truncate.TruncateNeg1D0": Truncate(-1.0) + +define "Truncate.TruncateNeg1D1": Truncate(-1.1) + +define "Truncate.TruncateNeg1D9": Truncate(-1.9) + +define "Truncated Divide.TruncatedDivideNull": (null as Integer) div (null as Integer) + +define "Truncated Divide.TruncatedDivide2By1": 2 div 1 + +define "Truncated Divide.TruncatedDivide10By3": 10 div 3 + +define "Truncated Divide.TruncatedDivide10LBy3L": 10L div 3L + +define "Truncated Divide.TruncatedDivide10d1By3D1": 10.1 div 3.1 + +define "Truncated Divide.TruncatedDivideNeg2ByNeg1": -2 div -1 + +define "Truncated Divide.TruncatedDivideNeg10ByNeg3": -10 div -3 + +define "Truncated Divide.TruncatedDivideNeg10d1ByNeg3D1": -10.1 div -3.1 + +define "Truncated Divide.TruncatedDivideNeg2By1": -2 div 1 + +define "Truncated Divide.TruncatedDivideNeg10By3": -10 div 3 + +define "Truncated Divide.TruncatedDivideNeg10d1By3D1": -10.1 div 3.1 + +define "Truncated Divide.TruncatedDivide2ByNeg1": 2 div -1 + +define "Truncated Divide.TruncatedDivide10ByNeg3": 10 div -3 + +define "Truncated Divide.TruncatedDivide10d1ByNeg3D1": 10.1 div -3.1 + +define "Truncated Divide.TruncatedDivide10By5D": 10 div 5.0 + +define "Truncated Divide.TruncatedDivide10d1ByNeg3D1Quantity": 10.1 'cm' div -3.1 'cm' + diff --git a/cql/CqlArithmeticFunctionsTest.json b/cql/CqlArithmeticFunctionsTest.json new file mode 100644 index 0000000..e1fd29d --- /dev/null +++ b/cql/CqlArithmeticFunctionsTest.json @@ -0,0 +1,10095 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "1955", + "s" : [ { + "value" : [ "","library CqlArithmeticFunctionsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlArithmeticFunctionsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:42", + "name" : "Abs.AbsNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"Abs.AbsNull\"",": " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "Abs","(" ] + }, { + "r" : "208", + "s" : [ { + "r" : "209", + "value" : [ "null"," as " ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "214", + "locator" : "3:23-3:42", + "type" : "Abs", + "signature" : [ { + "localId" : "215", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "208", + "locator" : "3:27-3:41", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "209", + "locator" : "3:27-3:30", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "210", + "locator" : "3:35-3:41", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "217", + "locator" : "5:1-5:25", + "name" : "Abs.Abs0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "","define ","\"Abs.Abs0\"",": " ] + }, { + "r" : "222", + "s" : [ { + "r" : "218", + "value" : [ "Abs","(","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "222", + "locator" : "5:20-5:25", + "type" : "Abs", + "signature" : [ { + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "218", + "locator" : "5:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "225", + "locator" : "7:1-7:29", + "name" : "Abs.AbsNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "","define ","\"Abs.AbsNeg1\"",": " ] + }, { + "r" : "232", + "s" : [ { + "value" : [ "Abs","(" ] + }, { + "r" : "226", + "s" : [ { + "r" : "227", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "232", + "locator" : "7:23-7:29", + "type" : "Abs", + "signature" : [ { + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "226", + "locator" : "7:27-7:28", + "type" : "Negate", + "signature" : [ { + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "227", + "locator" : "7:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "235", + "locator" : "9:1-9:34", + "name" : "Abs.AbsNeg1Dec", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "","define ","\"Abs.AbsNeg1Dec\"",": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "Abs","(" ] + }, { + "r" : "236", + "s" : [ { + "r" : "237", + "value" : [ "-","1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "242", + "locator" : "9:26-9:34", + "type" : "Abs", + "signature" : [ { + "localId" : "243", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "236", + "locator" : "9:30-9:33", + "type" : "Negate", + "signature" : [ { + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "237", + "locator" : "9:31-9:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + } + }, { + "localId" : "245", + "locator" : "11:1-11:30", + "name" : "Abs.Abs0Dec", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "","define ","\"Abs.Abs0Dec\"",": " ] + }, { + "r" : "250", + "s" : [ { + "r" : "246", + "value" : [ "Abs","(","0.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "250", + "locator" : "11:23-11:30", + "type" : "Abs", + "signature" : [ { + "localId" : "251", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "246", + "locator" : "11:27-11:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + } + }, { + "localId" : "253", + "locator" : "13:1-13:34", + "name" : "Abs.Abs1cm", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "253", + "s" : [ { + "value" : [ "","define ","\"Abs.Abs1cm\"",": " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "Abs","(" ] + }, { + "r" : "254", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "1.0","'cm'" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "260", + "locator" : "13:22-13:34", + "type" : "Abs", + "signature" : [ { + "localId" : "261", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "254", + "locator" : "13:26-13:33", + "type" : "Negate", + "signature" : [ { + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "255", + "locator" : "13:27-13:33", + "value" : 1.0, + "unit" : "cm", + "type" : "Quantity" + } + } + } + }, { + "localId" : "263", + "locator" : "15:1-15:30", + "name" : "Abs.AbsLong", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "","define ","\"Abs.AbsLong\"",": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "Abs","(" ] + }, { + "r" : "264", + "s" : [ { + "r" : "265", + "value" : [ "-","1L" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "270", + "locator" : "15:23-15:30", + "type" : "Abs", + "signature" : [ { + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "264", + "locator" : "15:27-15:29", + "type" : "Negate", + "signature" : [ { + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "265", + "locator" : "15:28-15:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "273", + "locator" : "17:1-17:30", + "name" : "Add.AddNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "","define ","\"Add.AddNull\"",": " ] + }, { + "r" : "274", + "s" : [ { + "r" : "275", + "value" : [ "1"," + ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "274", + "locator" : "17:23-17:30", + "type" : "Add", + "signature" : [ { + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "279", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "275", + "locator" : "17:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "277", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "276", + "locator" : "17:27-17:30", + "type" : "Null" + } + } ] + } + }, { + "localId" : "281", + "locator" : "19:1-19:25", + "name" : "Add.Add11", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "","define ","\"Add.Add11\"",": " ] + }, { + "r" : "282", + "s" : [ { + "r" : "283", + "value" : [ "1"," + ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "282", + "locator" : "19:21-19:25", + "type" : "Add", + "signature" : [ { + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "283", + "locator" : "19:21", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "284", + "locator" : "19:25", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "288", + "locator" : "21:1-21:31", + "name" : "Add.Add1D1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "","define ","\"Add.Add1D1D\"",": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "290", + "value" : [ "1.0"," + ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "289", + "locator" : "21:23-21:31", + "type" : "Add", + "signature" : [ { + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "293", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "290", + "locator" : "21:23-21:25", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "291", + "locator" : "21:29-21:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "295", + "locator" : "23:1-23:41", + "name" : "Add.Add1Q1Q", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "295", + "s" : [ { + "value" : [ "","define ","\"Add.Add1Q1Q\"",": " ] + }, { + "r" : "296", + "s" : [ { + "r" : "297", + "s" : [ { + "value" : [ "1","'g/cm3'" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "298", + "s" : [ { + "value" : [ "1","'g/cm3'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "296", + "locator" : "23:23-23:41", + "type" : "Add", + "signature" : [ { + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "297", + "locator" : "23:23-23:30", + "value" : 1, + "unit" : "g/cm3", + "type" : "Quantity" + }, { + "localId" : "298", + "locator" : "23:34-23:41", + "value" : 1, + "unit" : "g/cm3", + "type" : "Quantity" + } ] + } + }, { + "localId" : "302", + "locator" : "25:1-25:30", + "name" : "Add.AddIAndD", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "","define ","\"Add.AddIAndD\"",": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "value" : [ "1"," + ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "303", + "locator" : "25:24-25:30", + "type" : "Add", + "signature" : [ { + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "307", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "308", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "304", + "locator" : "25:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "305", + "locator" : "25:28-25:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "312", + "locator" : "27:1-27:29", + "name" : "Add.Add1L1L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "","define ","\"Add.Add1L1L\"",": " ] + }, { + "r" : "313", + "s" : [ { + "r" : "314", + "value" : [ "1L"," + ","1L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "313", + "locator" : "27:23-27:29", + "type" : "Add", + "signature" : [ { + "localId" : "316", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "314", + "locator" : "27:23-27:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "315", + "locator" : "27:28-27:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "319", + "locator" : "29:1-29:54", + "name" : "Ceiling.CeilingNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "319", + "s" : [ { + "value" : [ "","define ","\"Ceiling.CeilingNull\"",": " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "Ceiling","(" ] + }, { + "r" : "320", + "s" : [ { + "r" : "321", + "value" : [ "null"," as " ] + }, { + "r" : "322", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "325", + "locator" : "29:31-29:54", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "320", + "locator" : "29:39-29:53", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "321", + "locator" : "29:39-29:42", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "322", + "locator" : "29:47-29:53", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "327", + "locator" : "31:1-31:40", + "name" : "Ceiling.Ceiling1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "","define ","\"Ceiling.Ceiling1D\"",": " ] + }, { + "r" : "331", + "s" : [ { + "r" : "328", + "value" : [ "Ceiling","(","1.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "331", + "locator" : "31:29-31:40", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "328", + "locator" : "31:37-31:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "333", + "locator" : "33:1-33:41", + "name" : "Ceiling.Ceiling1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "333", + "s" : [ { + "value" : [ "","define ","\"Ceiling.Ceiling1D1\"",": " ] + }, { + "r" : "337", + "s" : [ { + "r" : "334", + "value" : [ "Ceiling","(","1.1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "337", + "locator" : "33:30-33:41", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "334", + "locator" : "33:38-33:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + }, { + "localId" : "339", + "locator" : "35:1-35:44", + "name" : "Ceiling.CeilingNegD1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "","define ","\"Ceiling.CeilingNegD1\"",": " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "Ceiling","(" ] + }, { + "r" : "340", + "s" : [ { + "r" : "341", + "value" : [ "-","0.1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "345", + "locator" : "35:32-35:44", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "340", + "locator" : "35:40-35:43", + "type" : "Negate", + "signature" : [ { + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "341", + "locator" : "35:41-35:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.1", + "type" : "Literal" + } + } + } + }, { + "localId" : "347", + "locator" : "37:1-37:43", + "name" : "Ceiling.CeilingNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "347", + "s" : [ { + "value" : [ "","define ","\"Ceiling.CeilingNeg1\"",": " ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "Ceiling","(" ] + }, { + "r" : "348", + "s" : [ { + "r" : "349", + "value" : [ "-","1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "353", + "locator" : "37:31-37:43", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "348", + "locator" : "37:39-37:42", + "type" : "Negate", + "signature" : [ { + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "349", + "locator" : "37:40-37:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + } + }, { + "localId" : "355", + "locator" : "39:1-39:45", + "name" : "Ceiling.CeilingNeg1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "355", + "s" : [ { + "value" : [ "","define ","\"Ceiling.CeilingNeg1D1\"",": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Ceiling","(" ] + }, { + "r" : "356", + "s" : [ { + "r" : "357", + "value" : [ "-","1.1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "361", + "locator" : "39:33-39:45", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "356", + "locator" : "39:41-39:44", + "type" : "Negate", + "signature" : [ { + "localId" : "358", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "357", + "locator" : "39:42-39:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + } + }, { + "localId" : "363", + "locator" : "41:1-41:38", + "name" : "Ceiling.Ceiling1I", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "363", + "s" : [ { + "value" : [ "","define ","\"Ceiling.Ceiling1I\"",": " ] + }, { + "r" : "370", + "s" : [ { + "r" : "364", + "value" : [ "Ceiling","(","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "370", + "locator" : "41:29-41:38", + "type" : "Ceiling", + "signature" : [ ], + "operand" : { + "localId" : "372", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "364", + "locator" : "41:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "375", + "locator" : "43:1-43:36", + "name" : "Divide.DivideNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "375", + "s" : [ { + "value" : [ "","define ","\"Divide.DivideNull\"",": " ] + }, { + "r" : "376", + "s" : [ { + "r" : "377", + "value" : [ "1"," / ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "376", + "locator" : "43:29-43:36", + "type" : "Divide", + "signature" : [ { + "localId" : "383", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "384", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "380", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "377", + "locator" : "43:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "382", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "378", + "locator" : "43:33-43:36", + "type" : "Null" + } + } ] + } + }, { + "localId" : "386", + "locator" : "45:1-45:31", + "name" : "Divide.Divide10", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "386", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide10\"",": " ] + }, { + "r" : "387", + "s" : [ { + "r" : "388", + "value" : [ "1"," / ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "387", + "locator" : "45:27-45:31", + "type" : "Divide", + "signature" : [ { + "localId" : "396", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "397", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "391", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "388", + "locator" : "45:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "394", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "395", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "389", + "locator" : "45:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "399", + "locator" : "47:1-47:31", + "name" : "Divide.Divide01", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "399", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide01\"",": " ] + }, { + "r" : "400", + "s" : [ { + "r" : "401", + "value" : [ "0"," / ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "400", + "locator" : "47:27-47:31", + "type" : "Divide", + "signature" : [ { + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "410", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "404", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "405", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "401", + "locator" : "47:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "407", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "408", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "402", + "locator" : "47:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "412", + "locator" : "49:1-49:31", + "name" : "Divide.Divide11", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "412", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide11\"",": " ] + }, { + "r" : "413", + "s" : [ { + "r" : "414", + "value" : [ "1"," / ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "413", + "locator" : "49:27-49:31", + "type" : "Divide", + "signature" : [ { + "localId" : "422", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "417", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "418", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "414", + "locator" : "49:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "420", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "421", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "415", + "locator" : "49:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "425", + "locator" : "51:1-51:37", + "name" : "Divide.Divide1d1d", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "425", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide1d1d\"",": " ] + }, { + "r" : "426", + "s" : [ { + "r" : "427", + "value" : [ "1.0"," / ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "426", + "locator" : "51:29-51:37", + "type" : "Divide", + "signature" : [ { + "localId" : "429", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "430", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "427", + "locator" : "51:29-51:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "428", + "locator" : "51:35-51:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "432", + "locator" : "53:1-53:43", + "name" : "Divide.Divide103", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "432", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide103\"",": " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "433", + "s" : [ { + "r" : "434", + "value" : [ "10"," / ","3" ] + } ] + }, { + "r" : "444", + "value" : [ ", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "447", + "locator" : "53:28-53:43", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "433", + "locator" : "53:34-53:39", + "type" : "Divide", + "signature" : [ { + "localId" : "442", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "437", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "438", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "434", + "locator" : "53:34-53:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "440", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "435", + "locator" : "53:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } ] + }, + "precision" : { + "localId" : "444", + "locator" : "53:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + } + }, { + "localId" : "449", + "locator" : "55:1-55:41", + "name" : "Divide.Divide1Q1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "449", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide1Q1\"",": " ] + }, { + "r" : "450", + "s" : [ { + "r" : "451", + "s" : [ { + "value" : [ "1","'g/cm3'" ] + } ] + }, { + "r" : "452", + "value" : [ " / ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "450", + "locator" : "55:28-55:41", + "type" : "Divide", + "signature" : [ { + "localId" : "456", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "457", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "451", + "locator" : "55:28-55:35", + "value" : 1, + "unit" : "g/cm3", + "type" : "Quantity" + }, { + "localId" : "454", + "type" : "ToQuantity", + "signature" : [ { + "localId" : "455", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "452", + "locator" : "55:39-55:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "459", + "locator" : "57:1-57:47", + "name" : "Divide.Divide1Q1Q", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "459", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide1Q1Q\"",": " ] + }, { + "r" : "460", + "s" : [ { + "r" : "461", + "s" : [ { + "value" : [ "1","'g/cm3'" ] + } ] + }, { + "value" : [ " / " ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "1","'g/cm3'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "460", + "locator" : "57:29-57:47", + "type" : "Divide", + "signature" : [ { + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "461", + "locator" : "57:29-57:36", + "value" : 1, + "unit" : "g/cm3", + "type" : "Quantity" + }, { + "localId" : "462", + "locator" : "57:40-57:47", + "value" : 1, + "unit" : "g/cm3", + "type" : "Quantity" + } ] + } + }, { + "localId" : "466", + "locator" : "59:1-59:37", + "name" : "Divide.Divide10I5D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "466", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide10I5D\"",": " ] + }, { + "r" : "467", + "s" : [ { + "r" : "468", + "value" : [ "10"," / ","5.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "467", + "locator" : "59:30-59:37", + "type" : "Divide", + "signature" : [ { + "localId" : "473", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "474", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "471", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "472", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "468", + "locator" : "59:30-59:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "469", + "locator" : "59:35-59:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "476", + "locator" : "61:1-61:35", + "name" : "Divide.Divide10I5I", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "476", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide10I5I\"",": " ] + }, { + "r" : "477", + "s" : [ { + "r" : "478", + "value" : [ "10"," / ","5" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "477", + "locator" : "61:30-61:35", + "type" : "Divide", + "signature" : [ { + "localId" : "486", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "487", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "481", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "478", + "locator" : "61:30-61:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "484", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "479", + "locator" : "61:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "489", + "locator" : "63:1-63:41", + "name" : "Divide.Divide10Q5I", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "489", + "s" : [ { + "value" : [ "","define ","\"Divide.Divide10Q5I\"",": " ] + }, { + "r" : "490", + "s" : [ { + "r" : "491", + "s" : [ { + "value" : [ "10.0 ","'g'" ] + } ] + }, { + "r" : "492", + "value" : [ " / ","5" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "490", + "locator" : "63:30-63:41", + "type" : "Divide", + "signature" : [ { + "localId" : "496", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "497", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "491", + "locator" : "63:30-63:37", + "value" : 10.0, + "unit" : "g", + "type" : "Quantity" + }, { + "localId" : "494", + "type" : "ToQuantity", + "signature" : [ { + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "492", + "locator" : "63:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "499", + "locator" : "65:1-65:48", + "name" : "Floor.FloorNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "499", + "s" : [ { + "value" : [ "","define ","\"Floor.FloorNull\"",": " ] + }, { + "r" : "505", + "s" : [ { + "value" : [ "Floor","(" ] + }, { + "r" : "500", + "s" : [ { + "r" : "501", + "value" : [ "null"," as " ] + }, { + "r" : "502", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "505", + "locator" : "65:27-65:48", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "500", + "locator" : "65:33-65:47", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "501", + "locator" : "65:33-65:36", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "502", + "locator" : "65:41-65:47", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "507", + "locator" : "67:1-67:31", + "name" : "Floor.Floor1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "507", + "s" : [ { + "value" : [ "","define ","\"Floor.Floor1\"",": " ] + }, { + "r" : "514", + "s" : [ { + "r" : "508", + "value" : [ "Floor","(","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "514", + "locator" : "67:24-67:31", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "516", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "517", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "508", + "locator" : "67:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "519", + "locator" : "69:1-69:34", + "name" : "Floor.Floor1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "519", + "s" : [ { + "value" : [ "","define ","\"Floor.Floor1D\"",": " ] + }, { + "r" : "523", + "s" : [ { + "r" : "520", + "value" : [ "Floor","(","1.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "523", + "locator" : "69:25-69:34", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "520", + "locator" : "69:31-69:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "525", + "locator" : "71:1-71:35", + "name" : "Floor.Floor1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "525", + "s" : [ { + "value" : [ "","define ","\"Floor.Floor1D1\"",": " ] + }, { + "r" : "529", + "s" : [ { + "r" : "526", + "value" : [ "Floor","(","1.1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "529", + "locator" : "71:26-71:35", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "526", + "locator" : "71:32-71:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + }, { + "localId" : "531", + "locator" : "73:1-73:38", + "name" : "Floor.FloorNegD1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "531", + "s" : [ { + "value" : [ "","define ","\"Floor.FloorNegD1\"",": " ] + }, { + "r" : "537", + "s" : [ { + "value" : [ "Floor","(" ] + }, { + "r" : "532", + "s" : [ { + "r" : "533", + "value" : [ "-","0.1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "537", + "locator" : "73:28-73:38", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "532", + "locator" : "73:34-73:37", + "type" : "Negate", + "signature" : [ { + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "533", + "locator" : "73:35-73:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.1", + "type" : "Literal" + } + } + } + }, { + "localId" : "539", + "locator" : "75:1-75:37", + "name" : "Floor.FloorNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "539", + "s" : [ { + "value" : [ "","define ","\"Floor.FloorNeg1\"",": " ] + }, { + "r" : "545", + "s" : [ { + "value" : [ "Floor","(" ] + }, { + "r" : "540", + "s" : [ { + "r" : "541", + "value" : [ "-","1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "545", + "locator" : "75:27-75:37", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "540", + "locator" : "75:33-75:36", + "type" : "Negate", + "signature" : [ { + "localId" : "542", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "541", + "locator" : "75:34-75:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + } + }, { + "localId" : "547", + "locator" : "77:1-77:39", + "name" : "Floor.FloorNeg1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "547", + "s" : [ { + "value" : [ "","define ","\"Floor.FloorNeg1D1\"",": " ] + }, { + "r" : "553", + "s" : [ { + "value" : [ "Floor","(" ] + }, { + "r" : "548", + "s" : [ { + "r" : "549", + "value" : [ "-","1.1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "553", + "locator" : "77:29-77:39", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "548", + "locator" : "77:35-77:38", + "type" : "Negate", + "signature" : [ { + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "549", + "locator" : "77:36-77:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + } + }, { + "localId" : "555", + "locator" : "79:1-79:32", + "name" : "Floor.Floor2I", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "555", + "s" : [ { + "value" : [ "","define ","\"Floor.Floor2I\"",": " ] + }, { + "r" : "562", + "s" : [ { + "r" : "556", + "value" : [ "Floor","(","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "562", + "locator" : "79:25-79:32", + "type" : "Floor", + "signature" : [ ], + "operand" : { + "localId" : "564", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "556", + "locator" : "79:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } + } + }, { + "localId" : "567", + "locator" : "81:1-81:42", + "name" : "Exp.ExpNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "567", + "s" : [ { + "value" : [ "","define ","\"Exp.ExpNull\"",": " ] + }, { + "r" : "573", + "s" : [ { + "value" : [ "Exp","(" ] + }, { + "r" : "568", + "s" : [ { + "r" : "569", + "value" : [ "null"," as " ] + }, { + "r" : "570", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "573", + "locator" : "81:23-81:42", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "568", + "locator" : "81:27-81:41", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "569", + "locator" : "81:27-81:30", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "570", + "locator" : "81:35-81:41", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "575", + "locator" : "83:1-83:25", + "name" : "Exp.Exp0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "575", + "s" : [ { + "value" : [ "","define ","\"Exp.Exp0\"",": " ] + }, { + "r" : "582", + "s" : [ { + "r" : "576", + "value" : [ "Exp","(","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "582", + "locator" : "83:20-83:25", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "584", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "576", + "locator" : "83:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "587", + "locator" : "85:1-85:29", + "name" : "Exp.ExpNeg0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "587", + "s" : [ { + "value" : [ "","define ","\"Exp.ExpNeg0\"",": " ] + }, { + "r" : "596", + "s" : [ { + "value" : [ "Exp","(" ] + }, { + "r" : "588", + "s" : [ { + "r" : "589", + "value" : [ "-","0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "596", + "locator" : "85:23-85:29", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "598", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "599", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "588", + "locator" : "85:27-85:28", + "type" : "Negate", + "signature" : [ { + "localId" : "590", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "589", + "locator" : "85:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + } + }, { + "localId" : "601", + "locator" : "87:1-87:35", + "name" : "Exp.Exp1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "601", + "s" : [ { + "value" : [ "","define ","\"Exp.Exp1\"",": " ] + }, { + "r" : "615", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "608", + "s" : [ { + "r" : "602", + "value" : [ "Exp","(","1",")" ] + } ] + }, { + "r" : "612", + "value" : [ ", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "615", + "locator" : "87:20-87:35", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "608", + "locator" : "87:26-87:31", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "610", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "602", + "locator" : "87:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, + "precision" : { + "localId" : "612", + "locator" : "87:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + } + }, { + "localId" : "617", + "locator" : "89:1-89:39", + "name" : "Exp.ExpNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "617", + "s" : [ { + "value" : [ "","define ","\"Exp.ExpNeg1\"",": " ] + }, { + "r" : "633", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "626", + "s" : [ { + "value" : [ "Exp","(" ] + }, { + "r" : "618", + "s" : [ { + "r" : "619", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "630", + "value" : [ ", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "633", + "locator" : "89:23-89:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "626", + "locator" : "89:29-89:35", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "628", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "629", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "618", + "locator" : "89:33-89:34", + "type" : "Negate", + "signature" : [ { + "localId" : "620", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "619", + "locator" : "89:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, + "precision" : { + "localId" : "630", + "locator" : "89:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + } + }, { + "localId" : "635", + "locator" : "91:1-91:31", + "name" : "Exp.Exp1000", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "635", + "s" : [ { + "value" : [ "","define ","\"Exp.Exp1000\"",": " ] + }, { + "r" : "642", + "s" : [ { + "r" : "636", + "value" : [ "Exp","(","1000",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "642", + "locator" : "91:23-91:31", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "644", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "645", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "636", + "locator" : "91:27-91:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "type" : "Literal" + } + } + } + }, { + "localId" : "647", + "locator" : "93:1-93:34", + "name" : "Exp.Exp1000D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "647", + "s" : [ { + "value" : [ "","define ","\"Exp.Exp1000D\"",": " ] + }, { + "r" : "651", + "s" : [ { + "r" : "648", + "value" : [ "Exp","(","1000.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "651", + "locator" : "93:24-93:34", + "type" : "Exp", + "signature" : [ ], + "operand" : { + "localId" : "648", + "locator" : "93:28-93:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1000.0", + "type" : "Literal" + } + } + }, { + "localId" : "653", + "locator" : "95:1-95:65", + "name" : "HighBoundary.HighBoundaryDecimal", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "653", + "s" : [ { + "value" : [ "","define ","\"HighBoundary.HighBoundaryDecimal\"",": " ] + }, { + "r" : "660", + "s" : [ { + "r" : "654", + "value" : [ "HighBoundary","(","1.587",", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "660", + "locator" : "95:44-95:65", + "type" : "HighBoundary", + "signature" : [ { + "localId" : "661", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "662", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "654", + "locator" : "95:57-95:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.587", + "type" : "Literal" + }, { + "localId" : "655", + "locator" : "95:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } ] + } + }, { + "localId" : "664", + "locator" : "97:1-97:67", + "name" : "HighBoundary.HighBoundaryDateMonth", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "664", + "s" : [ { + "value" : [ "","define ","\"HighBoundary.HighBoundaryDateMonth\"",": " ] + }, { + "r" : "673", + "s" : [ { + "r" : "667", + "value" : [ "HighBoundary","(","@2014",", ","6",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "673", + "locator" : "97:46-97:67", + "type" : "HighBoundary", + "signature" : [ { + "localId" : "674", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "675", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "667", + "locator" : "97:59-97:63", + "type" : "Date", + "signature" : [ ], + "year" : { + "localId" : "666", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "668", + "locator" : "97:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + } ] + } + }, { + "localId" : "677", + "locator" : "99:1-99:87", + "name" : "HighBoundary.HighBoundaryDateTimeMillisecond", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "677", + "s" : [ { + "value" : [ "","define ","\"HighBoundary.HighBoundaryDateTimeMillisecond\"",": " ] + }, { + "r" : "688", + "s" : [ { + "r" : "678", + "value" : [ "HighBoundary","(","@2014-01-01T08",", ","17",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "688", + "locator" : "99:56-99:87", + "type" : "HighBoundary", + "signature" : [ { + "localId" : "689", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "690", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "678", + "locator" : "99:69-99:82", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "679", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "680", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "681", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "682", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + }, { + "localId" : "683", + "locator" : "99:85-99:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "17", + "type" : "Literal" + } ] + } + }, { + "localId" : "692", + "locator" : "101:1-101:75", + "name" : "HighBoundary.HighBoundaryTimeMillisecond", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "692", + "s" : [ { + "value" : [ "","define ","\"HighBoundary.HighBoundaryTimeMillisecond\"",": " ] + }, { + "r" : "701", + "s" : [ { + "r" : "693", + "value" : [ "HighBoundary","(","@T10:30",", ","9",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "701", + "locator" : "101:52-101:75", + "type" : "HighBoundary", + "signature" : [ { + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "703", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "693", + "locator" : "101:65-101:71", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "694", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "695", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + } + }, { + "localId" : "696", + "locator" : "101:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + } ] + } + }, { + "localId" : "705", + "locator" : "103:1-103:41", + "name" : "Log.LogNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "705", + "s" : [ { + "value" : [ "","define ","\"Log.LogNullNull\"",": " ] + }, { + "r" : "712", + "s" : [ { + "r" : "706", + "value" : [ "Log","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "712", + "locator" : "103:27-103:41", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "713", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "706", + "locator" : "103:31-103:34", + "type" : "Null" + } + }, { + "localId" : "714", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "707", + "locator" : "103:37-103:40", + "type" : "Null" + } + } ] + } + }, { + "localId" : "716", + "locator" : "105:1-105:39", + "name" : "Log.Log1BaseNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "716", + "s" : [ { + "value" : [ "","define ","\"Log.Log1BaseNull\"",": " ] + }, { + "r" : "725", + "s" : [ { + "r" : "717", + "value" : [ "Log","(","1",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "725", + "locator" : "105:28-105:39", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "727", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "728", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "717", + "locator" : "105:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "729", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "718", + "locator" : "105:35-105:38", + "type" : "Null" + } + } ] + } + }, { + "localId" : "731", + "locator" : "107:1-107:33", + "name" : "Log.Log1Base1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "731", + "s" : [ { + "value" : [ "","define ","\"Log.Log1Base1\"",": " ] + }, { + "r" : "742", + "s" : [ { + "r" : "732", + "value" : [ "Log","(","1",", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "742", + "locator" : "107:25-107:33", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "744", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "745", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "732", + "locator" : "107:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "747", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "748", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "733", + "locator" : "107:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "750", + "locator" : "109:1-109:33", + "name" : "Log.Log1Base2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "750", + "s" : [ { + "value" : [ "","define ","\"Log.Log1Base2\"",": " ] + }, { + "r" : "761", + "s" : [ { + "r" : "751", + "value" : [ "Log","(","1",", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "761", + "locator" : "109:25-109:33", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "763", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "764", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "751", + "locator" : "109:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "766", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "767", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "752", + "locator" : "109:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "769", + "locator" : "111:1-111:37", + "name" : "Log.Log1Base100", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "769", + "s" : [ { + "value" : [ "","define ","\"Log.Log1Base100\"",": " ] + }, { + "r" : "780", + "s" : [ { + "r" : "770", + "value" : [ "Log","(","1",", ","100",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "780", + "locator" : "111:27-111:37", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "782", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "783", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "770", + "locator" : "111:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "785", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "786", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "771", + "locator" : "111:34-111:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "100", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "788", + "locator" : "113:1-113:35", + "name" : "Log.Log16Base2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "788", + "s" : [ { + "value" : [ "","define ","\"Log.Log16Base2\"",": " ] + }, { + "r" : "799", + "s" : [ { + "r" : "789", + "value" : [ "Log","(","16",", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "799", + "locator" : "113:26-113:35", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "801", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "802", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "789", + "locator" : "113:30-113:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "type" : "Literal" + } + }, { + "localId" : "804", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "790", + "locator" : "113:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "807", + "locator" : "115:1-115:40", + "name" : "Log.LogD125Base2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "807", + "s" : [ { + "value" : [ "","define ","\"Log.LogD125Base2\"",": " ] + }, { + "r" : "815", + "s" : [ { + "r" : "808", + "value" : [ "Log","(","0.125",", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "815", + "locator" : "115:28-115:40", + "type" : "Log", + "signature" : [ ], + "operand" : [ { + "localId" : "808", + "locator" : "115:32-115:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.125", + "type" : "Literal" + }, { + "localId" : "817", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "818", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "809", + "locator" : "115:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "820", + "locator" : "117:1-117:62", + "name" : "LowBoundary.LowBoundaryDecimal", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "820", + "s" : [ { + "value" : [ "","define ","\"LowBoundary.LowBoundaryDecimal\"",": " ] + }, { + "r" : "827", + "s" : [ { + "r" : "821", + "value" : [ "LowBoundary","(","1.587",", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "827", + "locator" : "117:42-117:62", + "type" : "LowBoundary", + "signature" : [ { + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "821", + "locator" : "117:54-117:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.587", + "type" : "Literal" + }, { + "localId" : "822", + "locator" : "117:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } ] + } + }, { + "localId" : "831", + "locator" : "119:1-119:64", + "name" : "LowBoundary.LowBoundaryDateMonth", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "831", + "s" : [ { + "value" : [ "","define ","\"LowBoundary.LowBoundaryDateMonth\"",": " ] + }, { + "r" : "840", + "s" : [ { + "r" : "834", + "value" : [ "LowBoundary","(","@2014",", ","6",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "840", + "locator" : "119:44-119:64", + "type" : "LowBoundary", + "signature" : [ { + "localId" : "841", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "834", + "locator" : "119:56-119:60", + "type" : "Date", + "signature" : [ ], + "year" : { + "localId" : "833", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "835", + "locator" : "119:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + } ] + } + }, { + "localId" : "844", + "locator" : "121:1-121:84", + "name" : "LowBoundary.LowBoundaryDateTimeMillisecond", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "844", + "s" : [ { + "value" : [ "","define ","\"LowBoundary.LowBoundaryDateTimeMillisecond\"",": " ] + }, { + "r" : "855", + "s" : [ { + "r" : "845", + "value" : [ "LowBoundary","(","@2014-01-01T08",", ","17",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "855", + "locator" : "121:54-121:84", + "type" : "LowBoundary", + "signature" : [ { + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "845", + "locator" : "121:66-121:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "846", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "847", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "848", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "849", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + }, { + "localId" : "850", + "locator" : "121:82-121:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "17", + "type" : "Literal" + } ] + } + }, { + "localId" : "859", + "locator" : "123:1-123:72", + "name" : "LowBoundary.LowBoundaryTimeMillisecond", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "859", + "s" : [ { + "value" : [ "","define ","\"LowBoundary.LowBoundaryTimeMillisecond\"",": " ] + }, { + "r" : "868", + "s" : [ { + "r" : "860", + "value" : [ "LowBoundary","(","@T10:30",", ","9",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "868", + "locator" : "123:50-123:72", + "type" : "LowBoundary", + "signature" : [ { + "localId" : "869", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "860", + "locator" : "123:62-123:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "861", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "862", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + } + }, { + "localId" : "863", + "locator" : "123:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + } ] + } + }, { + "localId" : "872", + "locator" : "125:1-125:28", + "name" : "Ln.LnNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "872", + "s" : [ { + "value" : [ "","define ","\"Ln.LnNull\"",": " ] + }, { + "r" : "877", + "s" : [ { + "r" : "873", + "value" : [ "Ln","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "877", + "locator" : "125:21-125:28", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "878", + "asType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "873", + "locator" : "125:24-125:27", + "type" : "Null" + } + } + } + }, { + "localId" : "880", + "locator" : "127:1-127:22", + "name" : "Ln.Ln0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "880", + "s" : [ { + "value" : [ "","define ","\"Ln.Ln0\"",": " ] + }, { + "r" : "887", + "s" : [ { + "r" : "881", + "value" : [ "Ln","(","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "887", + "locator" : "127:18-127:22", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "889", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "890", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "881", + "locator" : "127:21", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "892", + "locator" : "129:1-129:26", + "name" : "Ln.LnNeg0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "892", + "s" : [ { + "value" : [ "","define ","\"Ln.LnNeg0\"",": " ] + }, { + "r" : "901", + "s" : [ { + "value" : [ "Ln","(" ] + }, { + "r" : "893", + "s" : [ { + "r" : "894", + "value" : [ "-","0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "901", + "locator" : "129:21-129:26", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "903", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "893", + "locator" : "129:24-129:25", + "type" : "Negate", + "signature" : [ { + "localId" : "895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "894", + "locator" : "129:25", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + } + }, { + "localId" : "906", + "locator" : "131:1-131:22", + "name" : "Ln.Ln1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "906", + "s" : [ { + "value" : [ "","define ","\"Ln.Ln1\"",": " ] + }, { + "r" : "913", + "s" : [ { + "r" : "907", + "value" : [ "Ln","(","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "913", + "locator" : "131:18-131:22", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "915", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "916", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "907", + "locator" : "131:21", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "918", + "locator" : "133:1-133:26", + "name" : "Ln.LnNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "918", + "s" : [ { + "value" : [ "","define ","\"Ln.LnNeg1\"",": " ] + }, { + "r" : "927", + "s" : [ { + "value" : [ "Ln","(" ] + }, { + "r" : "919", + "s" : [ { + "r" : "920", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "927", + "locator" : "133:21-133:26", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "929", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "919", + "locator" : "133:24-133:25", + "type" : "Negate", + "signature" : [ { + "localId" : "921", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "920", + "locator" : "133:25", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + } + }, { + "localId" : "932", + "locator" : "135:1-135:38", + "name" : "Ln.Ln1000", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "932", + "s" : [ { + "value" : [ "","define ","\"Ln.Ln1000\"",": " ] + }, { + "r" : "946", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "939", + "s" : [ { + "r" : "933", + "value" : [ "Ln","(","1000",")" ] + } ] + }, { + "r" : "943", + "value" : [ ", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "946", + "locator" : "135:21-135:38", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "939", + "locator" : "135:27-135:34", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "941", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "942", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "933", + "locator" : "135:30-135:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000", + "type" : "Literal" + } + } + }, + "precision" : { + "localId" : "943", + "locator" : "135:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + } + }, { + "localId" : "948", + "locator" : "137:1-137:41", + "name" : "Ln.Ln1000D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "948", + "s" : [ { + "value" : [ "","define ","\"Ln.Ln1000D\"",": " ] + }, { + "r" : "956", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "952", + "s" : [ { + "r" : "949", + "value" : [ "Ln","(","1000.0",")" ] + } ] + }, { + "r" : "953", + "value" : [ ", ","8",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "956", + "locator" : "137:22-137:41", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "952", + "locator" : "137:28-137:37", + "type" : "Ln", + "signature" : [ ], + "operand" : { + "localId" : "949", + "locator" : "137:31-137:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1000.0", + "type" : "Literal" + } + }, + "precision" : { + "localId" : "953", + "locator" : "137:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + } + } + }, { + "localId" : "958", + "locator" : "139:1-139:50", + "name" : "MinValue.IntegerMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "958", + "s" : [ { + "value" : [ "","define ","\"MinValue.IntegerMinValue\"",": " ] + }, { + "r" : "960", + "s" : [ { + "value" : [ "minimum"," " ] + }, { + "r" : "959", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "960", + "locator" : "139:36-139:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "MinValue" + } + }, { + "localId" : "962", + "locator" : "141:1-141:44", + "name" : "MinValue.LongMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "962", + "s" : [ { + "value" : [ "","define ","\"MinValue.LongMinValue\"",": " ] + }, { + "r" : "964", + "s" : [ { + "value" : [ "minimum"," " ] + }, { + "r" : "963", + "s" : [ { + "value" : [ "Long" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "964", + "locator" : "141:33-141:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "MinValue" + } + }, { + "localId" : "966", + "locator" : "143:1-143:50", + "name" : "MinValue.DecimalMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "966", + "s" : [ { + "value" : [ "","define ","\"MinValue.DecimalMinValue\"",": " ] + }, { + "r" : "968", + "s" : [ { + "value" : [ "minimum"," " ] + }, { + "r" : "967", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "968", + "locator" : "143:36-143:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "MinValue" + } + }, { + "localId" : "970", + "locator" : "145:1-145:52", + "name" : "MinValue.DateTimeMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "970", + "s" : [ { + "value" : [ "","define ","\"MinValue.DateTimeMinValue\"",": " ] + }, { + "r" : "972", + "s" : [ { + "value" : [ "minimum"," " ] + }, { + "r" : "971", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "972", + "locator" : "145:37-145:52", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "MinValue" + } + }, { + "localId" : "974", + "locator" : "147:1-147:44", + "name" : "MinValue.DateMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "974", + "s" : [ { + "value" : [ "","define ","\"MinValue.DateMinValue\"",": " ] + }, { + "r" : "976", + "s" : [ { + "value" : [ "minimum"," " ] + }, { + "r" : "975", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "976", + "locator" : "147:33-147:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "MinValue" + } + }, { + "localId" : "978", + "locator" : "149:1-149:44", + "name" : "MinValue.TimeMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "978", + "s" : [ { + "value" : [ "","define ","\"MinValue.TimeMinValue\"",": " ] + }, { + "r" : "980", + "s" : [ { + "value" : [ "minimum"," " ] + }, { + "r" : "979", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "980", + "locator" : "149:33-149:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "MinValue" + } + }, { + "localId" : "982", + "locator" : "151:1-151:50", + "name" : "MaxValue.IntegerMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "982", + "s" : [ { + "value" : [ "","define ","\"MaxValue.IntegerMaxValue\"",": " ] + }, { + "r" : "984", + "s" : [ { + "value" : [ "maximum"," " ] + }, { + "r" : "983", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "984", + "locator" : "151:36-151:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "MaxValue" + } + }, { + "localId" : "986", + "locator" : "153:1-153:44", + "name" : "MaxValue.LongMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "986", + "s" : [ { + "value" : [ "","define ","\"MaxValue.LongMaxValue\"",": " ] + }, { + "r" : "988", + "s" : [ { + "value" : [ "maximum"," " ] + }, { + "r" : "987", + "s" : [ { + "value" : [ "Long" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "988", + "locator" : "153:33-153:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "MaxValue" + } + }, { + "localId" : "990", + "locator" : "155:1-155:50", + "name" : "MaxValue.DecimalMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "990", + "s" : [ { + "value" : [ "","define ","\"MaxValue.DecimalMaxValue\"",": " ] + }, { + "r" : "992", + "s" : [ { + "value" : [ "maximum"," " ] + }, { + "r" : "991", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "992", + "locator" : "155:36-155:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "MaxValue" + } + }, { + "localId" : "994", + "locator" : "157:1-157:52", + "name" : "MaxValue.DateTimeMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "","define ","\"MaxValue.DateTimeMaxValue\"",": " ] + }, { + "r" : "996", + "s" : [ { + "value" : [ "maximum"," " ] + }, { + "r" : "995", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "996", + "locator" : "157:37-157:52", + "valueType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "MaxValue" + } + }, { + "localId" : "998", + "locator" : "159:1-159:44", + "name" : "MaxValue.DateMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "998", + "s" : [ { + "value" : [ "","define ","\"MaxValue.DateMaxValue\"",": " ] + }, { + "r" : "1000", + "s" : [ { + "value" : [ "maximum"," " ] + }, { + "r" : "999", + "s" : [ { + "value" : [ "Date" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1000", + "locator" : "159:33-159:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "MaxValue" + } + }, { + "localId" : "1002", + "locator" : "161:1-161:44", + "name" : "MaxValue.TimeMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1002", + "s" : [ { + "value" : [ "","define ","\"MaxValue.TimeMaxValue\"",": " ] + }, { + "r" : "1004", + "s" : [ { + "value" : [ "maximum"," " ] + }, { + "r" : "1003", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1004", + "locator" : "161:33-161:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "MaxValue" + } + }, { + "localId" : "1006", + "locator" : "163:1-163:38", + "name" : "Modulo.ModuloNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1006", + "s" : [ { + "value" : [ "","define ","\"Modulo.ModuloNull\"",": " ] + }, { + "r" : "1007", + "s" : [ { + "r" : "1008", + "value" : [ "1"," mod ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1007", + "locator" : "163:29-163:38", + "type" : "Modulo", + "signature" : [ { + "localId" : "1011", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1012", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1008", + "locator" : "163:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1010", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1009", + "locator" : "163:35-163:38", + "type" : "Null" + } + } ] + } + }, { + "localId" : "1014", + "locator" : "165:1-165:35", + "name" : "Modulo.Modulo0By0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1014", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo0By0\"",": " ] + }, { + "r" : "1015", + "s" : [ { + "r" : "1016", + "value" : [ "0"," mod ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1015", + "locator" : "165:29-165:35", + "type" : "Modulo", + "signature" : [ { + "localId" : "1018", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1019", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1016", + "locator" : "165:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1017", + "locator" : "165:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1021", + "locator" : "167:1-167:35", + "name" : "Modulo.Modulo4By2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1021", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo4By2\"",": " ] + }, { + "r" : "1022", + "s" : [ { + "r" : "1023", + "value" : [ "4"," mod ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1022", + "locator" : "167:29-167:35", + "type" : "Modulo", + "signature" : [ { + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1023", + "locator" : "167:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "1024", + "locator" : "167:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1028", + "locator" : "169:1-169:39", + "name" : "Modulo.Modulo4LBy2L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1028", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo4LBy2L\"",": " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1030", + "value" : [ "4L"," mod ","2L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1029", + "locator" : "169:31-169:39", + "type" : "Modulo", + "signature" : [ { + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1033", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1030", + "locator" : "169:31-169:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "1031", + "locator" : "169:38-169:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1035", + "locator" : "171:1-171:41", + "name" : "Modulo.Modulo4DBy2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1035", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo4DBy2D\"",": " ] + }, { + "r" : "1036", + "s" : [ { + "r" : "1037", + "value" : [ "4.0"," mod ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1036", + "locator" : "171:31-171:41", + "type" : "Modulo", + "signature" : [ { + "localId" : "1039", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1040", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1037", + "locator" : "171:31-171:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + }, { + "localId" : "1038", + "locator" : "171:39-171:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1042", + "locator" : "173:1-173:37", + "name" : "Modulo.Modulo10By3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1042", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo10By3\"",": " ] + }, { + "r" : "1043", + "s" : [ { + "r" : "1044", + "value" : [ "10"," mod ","3" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1043", + "locator" : "173:30-173:37", + "type" : "Modulo", + "signature" : [ { + "localId" : "1046", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1047", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1044", + "locator" : "173:30-173:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "1045", + "locator" : "173:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } + }, { + "localId" : "1049", + "locator" : "175:1-175:43", + "name" : "Modulo.Modulo10DBy3D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1049", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo10DBy3D\"",": " ] + }, { + "r" : "1050", + "s" : [ { + "r" : "1051", + "value" : [ "10.0"," mod ","3.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1050", + "locator" : "175:32-175:43", + "type" : "Modulo", + "signature" : [ { + "localId" : "1053", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1054", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1051", + "locator" : "175:32-175:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.0", + "type" : "Literal" + }, { + "localId" : "1052", + "locator" : "175:41-175:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1056", + "locator" : "177:1-177:41", + "name" : "Modulo.Modulo10IBy3D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1056", + "s" : [ { + "value" : [ "","define ","\"Modulo.Modulo10IBy3D\"",": " ] + }, { + "r" : "1057", + "s" : [ { + "r" : "1058", + "value" : [ "10"," mod ","3.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1057", + "locator" : "177:32-177:41", + "type" : "Modulo", + "signature" : [ { + "localId" : "1063", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1064", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1061", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1062", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1058", + "locator" : "177:32-177:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1059", + "locator" : "177:39-177:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1066", + "locator" : "179:1-179:40", + "name" : "Modulo.ModuloDResult", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1066", + "s" : [ { + "value" : [ "","define ","\"Modulo.ModuloDResult\"",": " ] + }, { + "r" : "1067", + "s" : [ { + "r" : "1068", + "value" : [ "3.5"," mod ","3" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1067", + "locator" : "179:32-179:40", + "type" : "Modulo", + "signature" : [ { + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1074", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1068", + "locator" : "179:32-179:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.5", + "type" : "Literal" + }, { + "localId" : "1071", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1069", + "locator" : "179:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1076", + "locator" : "181:1-181:51", + "name" : "Modulo.ModuloQuantity", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1076", + "s" : [ { + "value" : [ "","define ","\"Modulo.ModuloQuantity\"",": " ] + }, { + "r" : "1077", + "s" : [ { + "r" : "1078", + "s" : [ { + "value" : [ "3.5 ","'cm'" ] + } ] + }, { + "value" : [ " mod " ] + }, { + "r" : "1079", + "s" : [ { + "value" : [ "3 ","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1077", + "locator" : "181:33-181:51", + "type" : "Modulo", + "signature" : [ { + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1081", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1078", + "locator" : "181:33-181:40", + "value" : 3.5, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1079", + "locator" : "181:46-181:51", + "value" : 3, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1083", + "locator" : "183:1-183:40", + "name" : "Multiply.MultiplyNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1083", + "s" : [ { + "value" : [ "","define ","\"Multiply.MultiplyNull\"",": " ] + }, { + "r" : "1084", + "s" : [ { + "r" : "1085", + "value" : [ "1"," * ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1084", + "locator" : "183:33-183:40", + "type" : "Multiply", + "signature" : [ { + "localId" : "1088", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1089", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1085", + "locator" : "183:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1087", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1086", + "locator" : "183:37-183:40", + "type" : "Null" + } + } ] + } + }, { + "localId" : "1091", + "locator" : "185:1-185:37", + "name" : "Multiply.Multiply1By1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1091", + "s" : [ { + "value" : [ "","define ","\"Multiply.Multiply1By1\"",": " ] + }, { + "r" : "1092", + "s" : [ { + "r" : "1093", + "value" : [ "1"," * ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1092", + "locator" : "185:33-185:37", + "type" : "Multiply", + "signature" : [ { + "localId" : "1095", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1096", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1093", + "locator" : "185:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1094", + "locator" : "185:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1098", + "locator" : "187:1-187:43", + "name" : "Multiply.Multiply1DBy2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1098", + "s" : [ { + "value" : [ "","define ","\"Multiply.Multiply1DBy2D\"",": " ] + }, { + "r" : "1099", + "s" : [ { + "r" : "1100", + "value" : [ "1.0"," * ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1099", + "locator" : "187:35-187:43", + "type" : "Multiply", + "signature" : [ { + "localId" : "1102", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1103", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1100", + "locator" : "187:35-187:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1101", + "locator" : "187:41-187:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1105", + "locator" : "189:1-189:39", + "name" : "Multiply.Multiply1By1L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1105", + "s" : [ { + "value" : [ "","define ","\"Multiply.Multiply1By1L\"",": " ] + }, { + "r" : "1106", + "s" : [ { + "r" : "1107", + "value" : [ "1"," * ","1L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1106", + "locator" : "189:34-189:39", + "type" : "Multiply", + "signature" : [ { + "localId" : "1112", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1113", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1110", + "type" : "ToLong", + "signature" : [ { + "localId" : "1111", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1107", + "locator" : "189:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "1108", + "locator" : "189:38-189:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1115", + "locator" : "191:1-191:41", + "name" : "Multiply.Multiply1IBy2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1115", + "s" : [ { + "value" : [ "","define ","\"Multiply.Multiply1IBy2D\"",": " ] + }, { + "r" : "1116", + "s" : [ { + "r" : "1117", + "value" : [ "1"," * ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1116", + "locator" : "191:35-191:41", + "type" : "Multiply", + "signature" : [ { + "localId" : "1122", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1123", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1120", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1121", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1117", + "locator" : "191:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "1118", + "locator" : "191:39-191:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1125", + "locator" : "193:1-193:55", + "name" : "Multiply.Multiply1CMBy2CM", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1125", + "s" : [ { + "value" : [ "","define ","\"Multiply.Multiply1CMBy2CM\"",": " ] + }, { + "r" : "1126", + "s" : [ { + "r" : "1127", + "s" : [ { + "value" : [ "1.0 ","'cm'" ] + } ] + }, { + "value" : [ " * " ] + }, { + "r" : "1128", + "s" : [ { + "value" : [ "2.0 ","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1126", + "locator" : "193:37-193:55", + "type" : "Multiply", + "signature" : [ { + "localId" : "1129", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1130", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1127", + "locator" : "193:37-193:44", + "value" : 1.0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1128", + "locator" : "193:48-193:55", + "value" : 2.0, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1132", + "locator" : "195:1-195:46", + "name" : "Negate.NegateNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1132", + "s" : [ { + "value" : [ "","define ","\"Negate.NegateNull\"",": " ] + }, { + "r" : "1133", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1134", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1134", + "s" : [ { + "r" : "1135", + "value" : [ "null"," as " ] + }, { + "r" : "1136", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1133", + "locator" : "195:29-195:46", + "type" : "Negate", + "signature" : [ { + "localId" : "1137", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1134", + "locator" : "195:30-195:46", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1135", + "locator" : "195:31-195:34", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1136", + "locator" : "195:39-195:45", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "1139", + "locator" : "197:1-197:27", + "name" : "Negate.Negate0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1139", + "s" : [ { + "value" : [ "","define ","\"Negate.Negate0\"",": " ] + }, { + "r" : "1140", + "s" : [ { + "r" : "1141", + "value" : [ "-","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1140", + "locator" : "197:26-197:27", + "type" : "Negate", + "signature" : [ { + "localId" : "1142", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1141", + "locator" : "197:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "1144", + "locator" : "199:1-199:33", + "name" : "Negate.NegateNeg0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1144", + "s" : [ { + "value" : [ "","define ","\"Negate.NegateNeg0\"",": " ] + }, { + "r" : "1145", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1146", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1146", + "s" : [ { + "r" : "1147", + "value" : [ "-","0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1145", + "locator" : "199:29-199:33", + "type" : "Negate", + "signature" : [ { + "localId" : "1149", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1146", + "locator" : "199:30-199:33", + "type" : "Negate", + "signature" : [ { + "localId" : "1148", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1147", + "locator" : "199:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1151", + "locator" : "201:1-201:27", + "name" : "Negate.Negate1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1151", + "s" : [ { + "value" : [ "","define ","\"Negate.Negate1\"",": " ] + }, { + "r" : "1152", + "s" : [ { + "r" : "1153", + "value" : [ "-","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1152", + "locator" : "201:26-201:27", + "type" : "Negate", + "signature" : [ { + "localId" : "1154", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1153", + "locator" : "201:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "1156", + "locator" : "203:1-203:33", + "name" : "Negate.NegateNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1156", + "s" : [ { + "value" : [ "","define ","\"Negate.NegateNeg1\"",": " ] + }, { + "r" : "1157", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1158", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1158", + "s" : [ { + "r" : "1159", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1157", + "locator" : "203:29-203:33", + "type" : "Negate", + "signature" : [ { + "localId" : "1161", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1158", + "locator" : "203:30-203:33", + "type" : "Negate", + "signature" : [ { + "localId" : "1160", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1159", + "locator" : "203:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1163", + "locator" : "205:1-205:35", + "name" : "Negate.NegateNeg1L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1163", + "s" : [ { + "value" : [ "","define ","\"Negate.NegateNeg1L\"",": " ] + }, { + "r" : "1164", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1165", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1165", + "s" : [ { + "r" : "1166", + "value" : [ "-","1L" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1164", + "locator" : "205:30-205:35", + "type" : "Negate", + "signature" : [ { + "localId" : "1168", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1165", + "locator" : "205:31-205:35", + "type" : "Negate", + "signature" : [ { + "localId" : "1167", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1166", + "locator" : "205:33-205:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1170", + "locator" : "207:1-207:32", + "name" : "Negate.Negate0D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1170", + "s" : [ { + "value" : [ "","define ","\"Negate.Negate0D\"",": " ] + }, { + "r" : "1171", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1172", + "s" : [ { + "r" : "1172", + "value" : [ "(","0.0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1171", + "locator" : "207:27-207:32", + "type" : "Negate", + "signature" : [ { + "localId" : "1173", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1172", + "locator" : "207:28-207:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + } + }, { + "localId" : "1175", + "locator" : "209:1-209:36", + "name" : "Negate.NegateNeg0D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1175", + "s" : [ { + "value" : [ "","define ","\"Negate.NegateNeg0D\"",": " ] + }, { + "r" : "1176", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1177", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1177", + "s" : [ { + "r" : "1178", + "value" : [ "-","0.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1176", + "locator" : "209:30-209:36", + "type" : "Negate", + "signature" : [ { + "localId" : "1180", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1177", + "locator" : "209:31-209:36", + "type" : "Negate", + "signature" : [ { + "localId" : "1179", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1178", + "locator" : "209:33-209:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1182", + "locator" : "211:1-211:32", + "name" : "Negate.Negate1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1182", + "s" : [ { + "value" : [ "","define ","\"Negate.Negate1D\"",": " ] + }, { + "r" : "1183", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1184", + "s" : [ { + "r" : "1184", + "value" : [ "(","1.0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1183", + "locator" : "211:27-211:32", + "type" : "Negate", + "signature" : [ { + "localId" : "1185", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1184", + "locator" : "211:28-211:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "1187", + "locator" : "213:1-213:36", + "name" : "Negate.NegateNeg1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1187", + "s" : [ { + "value" : [ "","define ","\"Negate.NegateNeg1D\"",": " ] + }, { + "r" : "1188", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1189", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1189", + "s" : [ { + "r" : "1190", + "value" : [ "-","1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1188", + "locator" : "213:30-213:36", + "type" : "Negate", + "signature" : [ { + "localId" : "1192", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1189", + "locator" : "213:31-213:36", + "type" : "Negate", + "signature" : [ { + "localId" : "1191", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1190", + "locator" : "213:33-213:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1194", + "locator" : "215:1-215:35", + "name" : "Negate.Negate1CM", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1194", + "s" : [ { + "value" : [ "","define ","\"Negate.Negate1CM\"",": " ] + }, { + "r" : "1195", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1196", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1196", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1195", + "locator" : "215:28-215:35", + "type" : "Negate", + "signature" : [ { + "localId" : "1197", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1196", + "locator" : "215:29-215:35", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } + } + }, { + "localId" : "1199", + "locator" : "217:1-217:55", + "name" : "Precision.PrecisionDecimal", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1199", + "s" : [ { + "value" : [ "","define ","\"Precision.PrecisionDecimal\"",": " ] + }, { + "r" : "1204", + "s" : [ { + "r" : "1200", + "value" : [ "Precision","(","1.58700",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1204", + "locator" : "217:38-217:55", + "type" : "Precision", + "signature" : [ { + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1200", + "locator" : "217:48-217:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.58700", + "type" : "Literal" + } + } + }, { + "localId" : "1207", + "locator" : "219:1-219:50", + "name" : "Precision.PrecisionYear", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1207", + "s" : [ { + "value" : [ "","define ","\"Precision.PrecisionYear\"",": " ] + }, { + "r" : "1214", + "s" : [ { + "r" : "1210", + "value" : [ "Precision","(","@2014",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1214", + "locator" : "219:35-219:50", + "type" : "Precision", + "signature" : [ { + "localId" : "1215", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1210", + "locator" : "219:45-219:49", + "type" : "Date", + "signature" : [ ], + "year" : { + "localId" : "1209", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + } + } + }, { + "localId" : "1217", + "locator" : "221:1-221:85", + "name" : "Precision.PrecisionDateTimeMilliseconds", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1217", + "s" : [ { + "value" : [ "","define ","\"Precision.PrecisionDateTimeMilliseconds\"",": " ] + }, { + "r" : "1229", + "s" : [ { + "r" : "1218", + "value" : [ "Precision","(","@2014-01-05T10:30:00.000",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1229", + "locator" : "221:51-221:85", + "type" : "Precision", + "signature" : [ { + "localId" : "1230", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1218", + "locator" : "221:61-221:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "1221", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "1222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + }, + "second" : { + "localId" : "1224", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1225", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1232", + "locator" : "223:1-223:59", + "name" : "Precision.PrecisionTimeMinutes", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1232", + "s" : [ { + "value" : [ "","define ","\"Precision.PrecisionTimeMinutes\"",": " ] + }, { + "r" : "1239", + "s" : [ { + "r" : "1233", + "value" : [ "Precision","(","@T10:30",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1239", + "locator" : "223:42-223:59", + "type" : "Precision", + "signature" : [ { + "localId" : "1240", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1233", + "locator" : "223:52-223:58", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1234", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1235", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + } + } + } + }, { + "localId" : "1242", + "locator" : "225:1-225:71", + "name" : "Precision.PrecisionTimeMilliseconds", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1242", + "s" : [ { + "value" : [ "","define ","\"Precision.PrecisionTimeMilliseconds\"",": " ] + }, { + "r" : "1251", + "s" : [ { + "r" : "1243", + "value" : [ "Precision","(","@T10:30:00.000",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1251", + "locator" : "225:47-225:71", + "type" : "Precision", + "signature" : [ { + "localId" : "1252", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1243", + "locator" : "225:57-225:70", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1244", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1245", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + }, + "second" : { + "localId" : "1246", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1247", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1254", + "locator" : "227:1-227:70", + "name" : "Predecessor.PredecessorNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1254", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorNull\"",": " ] + }, { + "r" : "1258", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "1255", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1255", + "s" : [ { + "r" : "1256", + "value" : [ "null"," as " ] + }, { + "r" : "1257", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1258", + "locator" : "227:39-227:70", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1255", + "locator" : "227:54-227:70", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1256", + "locator" : "227:55-227:58", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1257", + "locator" : "227:63-227:69", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "1261", + "locator" : "229:1-229:53", + "name" : "Predecessor.PredecessorOf0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1261", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOf0\"",": " ] + }, { + "r" : "1263", + "s" : [ { + "r" : "1262", + "value" : [ "predecessor of ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1263", + "locator" : "229:38-229:53", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1264", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1262", + "locator" : "229:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "1266", + "locator" : "231:1-231:53", + "name" : "Predecessor.PredecessorOf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1266", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOf1\"",": " ] + }, { + "r" : "1268", + "s" : [ { + "r" : "1267", + "value" : [ "predecessor of ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1268", + "locator" : "231:38-231:53", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1267", + "locator" : "231:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "1271", + "locator" : "233:1-233:55", + "name" : "Predecessor.PredecessorOf1L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1271", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOf1L\"",": " ] + }, { + "r" : "1273", + "s" : [ { + "r" : "1272", + "value" : [ "predecessor of ","1L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1273", + "locator" : "233:39-233:55", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1274", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1272", + "locator" : "233:54-233:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "1276", + "locator" : "235:1-235:56", + "name" : "Predecessor.PredecessorOf1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1276", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOf1D\"",": " ] + }, { + "r" : "1278", + "s" : [ { + "r" : "1277", + "value" : [ "predecessor of ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1278", + "locator" : "235:39-235:56", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1277", + "locator" : "235:54-235:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "1281", + "locator" : "237:1-237:59", + "name" : "Predecessor.PredecessorOf101D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1281", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOf101D\"",": " ] + }, { + "r" : "1283", + "s" : [ { + "r" : "1282", + "value" : [ "predecessor of ","1.01" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1283", + "locator" : "237:41-237:59", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1284", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1282", + "locator" : "237:56-237:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.01", + "type" : "Literal" + } + } + }, { + "localId" : "1286", + "locator" : "239:1-239:63", + "name" : "Predecessor.PredecessorOf1QCM", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1286", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOf1QCM\"",": " ] + }, { + "r" : "1288", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "1287", + "s" : [ { + "value" : [ "1.0 ","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1288", + "locator" : "239:41-239:63", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1289", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1287", + "locator" : "239:56-239:63", + "value" : 1.0, + "unit" : "cm", + "type" : "Quantity" + } + } + }, { + "localId" : "1291", + "locator" : "241:1-241:77", + "name" : "Predecessor.PredecessorOfJan12000", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1291", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOfJan12000\"",": " ] + }, { + "r" : "1298", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "1297", + "s" : [ { + "r" : "1292", + "value" : [ "DateTime","(","2000",",","1",",","1",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1298", + "locator" : "241:45-241:77", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1299", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1297", + "locator" : "241:60-241:77", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1292", + "locator" : "241:69-241:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "type" : "Literal" + }, + "month" : { + "localId" : "1293", + "locator" : "241:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "1294", + "locator" : "241:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1301", + "locator" : "243:1-243:69", + "name" : "Predecessor.PredecessorOfNoon", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1301", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorOfNoon\"",": " ] + }, { + "r" : "1307", + "s" : [ { + "r" : "1302", + "value" : [ "predecessor of ","@T12:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1307", + "locator" : "243:41-243:69", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1308", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1302", + "locator" : "243:56-243:69", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1303", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "minute" : { + "localId" : "1304", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1305", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1306", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1310", + "locator" : "245:1-245:92", + "name" : "Predecessor.PredecessorUnderflowDt", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1310", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorUnderflowDt\"",": " ] + }, { + "r" : "1321", + "s" : [ { + "value" : [ "predecessor of " ] + }, { + "r" : "1320", + "s" : [ { + "r" : "1311", + "value" : [ "DateTime","(","0001",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1321", + "locator" : "245:46-245:92", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1322", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1320", + "locator" : "245:61-245:92", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1311", + "locator" : "245:70-245:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0001", + "type" : "Literal" + }, + "month" : { + "localId" : "1312", + "locator" : "245:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "1313", + "locator" : "245:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "1314", + "locator" : "245:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1315", + "locator" : "245:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1316", + "locator" : "245:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1317", + "locator" : "245:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1324", + "locator" : "247:1-247:73", + "name" : "Predecessor.PredecessorUnderflowT", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1324", + "s" : [ { + "value" : [ "","define ","\"Predecessor.PredecessorUnderflowT\"",": " ] + }, { + "r" : "1330", + "s" : [ { + "r" : "1325", + "value" : [ "predecessor of ","@T00:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1330", + "locator" : "247:45-247:73", + "type" : "Predecessor", + "signature" : [ { + "localId" : "1331", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1325", + "locator" : "247:60-247:73", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1326", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1327", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1328", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1329", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1333", + "locator" : "249:1-249:71", + "name" : "Power.PowerNullToNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1333", + "s" : [ { + "value" : [ "","define ","\"Power.PowerNullToNull\"",": " ] + }, { + "r" : "1344", + "s" : [ { + "value" : [ "Power","(" ] + }, { + "r" : "1334", + "s" : [ { + "r" : "1335", + "value" : [ "null"," as " ] + }, { + "r" : "1336", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1337", + "s" : [ { + "r" : "1338", + "value" : [ "null"," as " ] + }, { + "r" : "1339", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1344", + "locator" : "249:33-249:71", + "type" : "Power", + "signature" : [ { + "localId" : "1345", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1346", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1334", + "locator" : "249:39-249:53", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1335", + "locator" : "249:39-249:42", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1336", + "locator" : "249:47-249:53", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1337", + "locator" : "249:56-249:70", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1338", + "locator" : "249:56-249:59", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1339", + "locator" : "249:64-249:70", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ] + } + }, { + "localId" : "1348", + "locator" : "251:1-251:37", + "name" : "Power.Power0To0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1348", + "s" : [ { + "value" : [ "","define ","\"Power.Power0To0\"",": " ] + }, { + "r" : "1355", + "s" : [ { + "r" : "1349", + "value" : [ "Power","(","0",", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1355", + "locator" : "251:27-251:37", + "type" : "Power", + "signature" : [ { + "localId" : "1356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1349", + "locator" : "251:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1350", + "locator" : "251:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1359", + "locator" : "253:1-253:37", + "name" : "Power.Power2To2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1359", + "s" : [ { + "value" : [ "","define ","\"Power.Power2To2\"",": " ] + }, { + "r" : "1366", + "s" : [ { + "r" : "1360", + "value" : [ "Power","(","2",", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1366", + "locator" : "253:27-253:37", + "type" : "Power", + "signature" : [ { + "localId" : "1367", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1368", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1360", + "locator" : "253:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1361", + "locator" : "253:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1370", + "locator" : "255:1-255:41", + "name" : "Power.PowerNeg2To2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1370", + "s" : [ { + "value" : [ "","define ","\"Power.PowerNeg2To2\"",": " ] + }, { + "r" : "1379", + "s" : [ { + "value" : [ "Power","(" ] + }, { + "r" : "1371", + "s" : [ { + "r" : "1372", + "value" : [ "-","2" ] + } ] + }, { + "r" : "1374", + "value" : [ ", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1379", + "locator" : "255:30-255:41", + "type" : "Power", + "signature" : [ { + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1381", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1371", + "locator" : "255:36-255:37", + "type" : "Negate", + "signature" : [ { + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1372", + "locator" : "255:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "1374", + "locator" : "255:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1383", + "locator" : "257:1-257:41", + "name" : "Power.Power2ToNeg2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1383", + "s" : [ { + "value" : [ "","define ","\"Power.Power2ToNeg2\"",": " ] + }, { + "r" : "1392", + "s" : [ { + "r" : "1384", + "value" : [ "Power","(","2",", " ] + }, { + "r" : "1385", + "s" : [ { + "r" : "1386", + "value" : [ "-","2" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1392", + "locator" : "257:30-257:41", + "type" : "Power", + "signature" : [ { + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1394", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1384", + "locator" : "257:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1385", + "locator" : "257:39-257:40", + "type" : "Negate", + "signature" : [ { + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1386", + "locator" : "257:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1396", + "locator" : "259:1-259:41", + "name" : "Power.Power2LTo2L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1396", + "s" : [ { + "value" : [ "","define ","\"Power.Power2LTo2L\"",": " ] + }, { + "r" : "1403", + "s" : [ { + "r" : "1397", + "value" : [ "Power","(","2L",", ","2L",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1403", + "locator" : "259:29-259:41", + "type" : "Power", + "signature" : [ { + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1405", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1397", + "locator" : "259:35-259:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1398", + "locator" : "259:39-259:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1407", + "locator" : "261:1-261:43", + "name" : "Power.Power2DTo2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1407", + "s" : [ { + "value" : [ "","define ","\"Power.Power2DTo2D\"",": " ] + }, { + "r" : "1414", + "s" : [ { + "r" : "1408", + "value" : [ "Power","(","2.0",", ","2.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1414", + "locator" : "261:29-261:43", + "type" : "Power", + "signature" : [ { + "localId" : "1415", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1416", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1408", + "locator" : "261:35-261:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "1409", + "locator" : "261:40-261:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1418", + "locator" : "263:1-263:47", + "name" : "Power.PowerNeg2DTo2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1418", + "s" : [ { + "value" : [ "","define ","\"Power.PowerNeg2DTo2D\"",": " ] + }, { + "r" : "1427", + "s" : [ { + "value" : [ "Power","(" ] + }, { + "r" : "1419", + "s" : [ { + "r" : "1420", + "value" : [ "-","2.0" ] + } ] + }, { + "r" : "1422", + "value" : [ ", ","2.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1427", + "locator" : "263:32-263:47", + "type" : "Power", + "signature" : [ { + "localId" : "1428", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1429", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1419", + "locator" : "263:38-263:41", + "type" : "Negate", + "signature" : [ { + "localId" : "1421", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1420", + "locator" : "263:39-263:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } + }, { + "localId" : "1422", + "locator" : "263:44-263:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1431", + "locator" : "265:1-265:47", + "name" : "Power.Power2DToNeg2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1431", + "s" : [ { + "value" : [ "","define ","\"Power.Power2DToNeg2D\"",": " ] + }, { + "r" : "1440", + "s" : [ { + "r" : "1432", + "value" : [ "Power","(","2.0",", " ] + }, { + "r" : "1433", + "s" : [ { + "r" : "1434", + "value" : [ "-","2.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1440", + "locator" : "265:32-265:47", + "type" : "Power", + "signature" : [ { + "localId" : "1441", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1442", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1432", + "locator" : "265:38-265:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "1433", + "locator" : "265:43-265:46", + "type" : "Negate", + "signature" : [ { + "localId" : "1435", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1434", + "locator" : "265:44-265:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1444", + "locator" : "267:1-267:40", + "name" : "Power.Power2DTo2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1444", + "s" : [ { + "value" : [ "","define ","\"Power.Power2DTo2\"",": " ] + }, { + "r" : "1454", + "s" : [ { + "r" : "1445", + "value" : [ "Power","(","2.0",", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1454", + "locator" : "267:28-267:40", + "type" : "Power", + "signature" : [ { + "localId" : "1458", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1459", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1445", + "locator" : "267:34-267:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "1456", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1457", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1446", + "locator" : "267:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1461", + "locator" : "269:1-269:40", + "name" : "Power.Power2To2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1461", + "s" : [ { + "value" : [ "","define ","\"Power.Power2To2D\"",": " ] + }, { + "r" : "1471", + "s" : [ { + "r" : "1462", + "value" : [ "Power","(","2",", ","2.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1471", + "locator" : "269:28-269:40", + "type" : "Power", + "signature" : [ { + "localId" : "1475", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1476", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1473", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1474", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1462", + "locator" : "269:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "1463", + "locator" : "269:37-269:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1478", + "locator" : "271:1-271:29", + "name" : "Power.Power2To4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1478", + "s" : [ { + "value" : [ "","define ","\"Power.Power2To4\"",": " ] + }, { + "r" : "1479", + "s" : [ { + "r" : "1480", + "value" : [ "2","^","4" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1479", + "locator" : "271:27-271:29", + "type" : "Power", + "signature" : [ { + "localId" : "1482", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1480", + "locator" : "271:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1481", + "locator" : "271:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } + }, { + "localId" : "1485", + "locator" : "273:1-273:35", + "name" : "Power.Power2DTo4D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1485", + "s" : [ { + "value" : [ "","define ","\"Power.Power2DTo4D\"",": " ] + }, { + "r" : "1486", + "s" : [ { + "r" : "1487", + "value" : [ "2.0","^","4.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1486", + "locator" : "273:29-273:35", + "type" : "Power", + "signature" : [ { + "localId" : "1489", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1490", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1487", + "locator" : "273:29-273:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + }, { + "localId" : "1488", + "locator" : "273:33-273:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "4.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1492", + "locator" : "275:1-275:61", + "name" : "Power.Power2DToNeg2DEquivalence", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1492", + "s" : [ { + "value" : [ "","define ","\"Power.Power2DToNeg2DEquivalence\"",": " ] + }, { + "r" : "1493", + "s" : [ { + "r" : "1502", + "s" : [ { + "r" : "1494", + "value" : [ "Power","(","2",", " ] + }, { + "r" : "1495", + "s" : [ { + "r" : "1496", + "value" : [ "-","2" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1505", + "value" : [ " ","~"," ","0.25" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1493", + "locator" : "275:43-275:61", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1509", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1510", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1507", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1502", + "locator" : "275:43-275:54", + "type" : "Power", + "signature" : [ { + "localId" : "1503", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1504", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1494", + "locator" : "275:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1495", + "locator" : "275:52-275:53", + "type" : "Negate", + "signature" : [ { + "localId" : "1497", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1496", + "locator" : "275:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1505", + "locator" : "275:58-275:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.25", + "type" : "Literal" + } ] + } + }, { + "localId" : "1512", + "locator" : "277:1-277:48", + "name" : "Round.RoundNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1512", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNull\"",": " ] + }, { + "r" : "1518", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1513", + "s" : [ { + "r" : "1514", + "value" : [ "null"," as " ] + }, { + "r" : "1515", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1518", + "locator" : "277:27-277:48", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1513", + "locator" : "277:33-277:47", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1514", + "locator" : "277:33-277:36", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1515", + "locator" : "277:41-277:47", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "1520", + "locator" : "279:1-279:31", + "name" : "Round.Round1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1520", + "s" : [ { + "value" : [ "","define ","\"Round.Round1\"",": " ] + }, { + "r" : "1527", + "s" : [ { + "r" : "1521", + "value" : [ "Round","(","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1527", + "locator" : "279:24-279:31", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1529", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1521", + "locator" : "279:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1532", + "locator" : "281:1-281:35", + "name" : "Round.Round0D5", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1532", + "s" : [ { + "value" : [ "","define ","\"Round.Round0D5\"",": " ] + }, { + "r" : "1536", + "s" : [ { + "r" : "1533", + "value" : [ "Round","(","0.5",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1536", + "locator" : "281:26-281:35", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1533", + "locator" : "281:32-281:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "type" : "Literal" + } + } + }, { + "localId" : "1538", + "locator" : "283:1-283:35", + "name" : "Round.Round0D4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1538", + "s" : [ { + "value" : [ "","define ","\"Round.Round0D4\"",": " ] + }, { + "r" : "1542", + "s" : [ { + "r" : "1539", + "value" : [ "Round","(","0.4",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1542", + "locator" : "283:26-283:35", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1539", + "locator" : "283:32-283:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.4", + "type" : "Literal" + } + } + }, { + "localId" : "1544", + "locator" : "285:1-285:46", + "name" : "Round.Round3D14159", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1544", + "s" : [ { + "value" : [ "","define ","\"Round.Round3D14159\"",": " ] + }, { + "r" : "1549", + "s" : [ { + "r" : "1545", + "value" : [ "Round","(","3.14159",", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1549", + "locator" : "285:30-285:46", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1545", + "locator" : "285:36-285:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.14159", + "type" : "Literal" + }, + "precision" : { + "localId" : "1546", + "locator" : "285:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } + }, { + "localId" : "1551", + "locator" : "287:1-287:39", + "name" : "Round.RoundNeg0D5", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1551", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNeg0D5\"",": " ] + }, { + "r" : "1557", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1552", + "s" : [ { + "r" : "1553", + "value" : [ "-","0.5" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1557", + "locator" : "287:29-287:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1552", + "locator" : "287:35-287:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1553", + "locator" : "287:36-287:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.5", + "type" : "Literal" + } + } + } + }, { + "localId" : "1559", + "locator" : "289:1-289:39", + "name" : "Round.RoundNeg0D4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1559", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNeg0D4\"",": " ] + }, { + "r" : "1565", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1560", + "s" : [ { + "r" : "1561", + "value" : [ "-","0.4" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1565", + "locator" : "289:29-289:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1560", + "locator" : "289:35-289:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1562", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1561", + "locator" : "289:36-289:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.4", + "type" : "Literal" + } + } + } + }, { + "localId" : "1567", + "locator" : "291:1-291:39", + "name" : "Round.RoundNeg0D6", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1567", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNeg0D6\"",": " ] + }, { + "r" : "1573", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1568", + "s" : [ { + "r" : "1569", + "value" : [ "-","0.6" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1573", + "locator" : "291:29-291:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1568", + "locator" : "291:35-291:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1570", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1569", + "locator" : "291:36-291:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.6", + "type" : "Literal" + } + } + } + }, { + "localId" : "1575", + "locator" : "293:1-293:39", + "name" : "Round.RoundNeg1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1575", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNeg1D1\"",": " ] + }, { + "r" : "1581", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1576", + "s" : [ { + "r" : "1577", + "value" : [ "-","1.1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1581", + "locator" : "293:29-293:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1576", + "locator" : "293:35-293:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1578", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1577", + "locator" : "293:36-293:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1583", + "locator" : "295:1-295:39", + "name" : "Round.RoundNeg1D5", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1583", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNeg1D5\"",": " ] + }, { + "r" : "1589", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1584", + "s" : [ { + "r" : "1585", + "value" : [ "-","1.5" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1589", + "locator" : "295:29-295:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1584", + "locator" : "295:35-295:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1585", + "locator" : "295:36-295:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.5", + "type" : "Literal" + } + } + } + }, { + "localId" : "1591", + "locator" : "297:1-297:39", + "name" : "Round.RoundNeg1D6", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1591", + "s" : [ { + "value" : [ "","define ","\"Round.RoundNeg1D6\"",": " ] + }, { + "r" : "1597", + "s" : [ { + "value" : [ "Round","(" ] + }, { + "r" : "1592", + "s" : [ { + "r" : "1593", + "value" : [ "-","1.6" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1597", + "locator" : "297:29-297:39", + "type" : "Round", + "signature" : [ ], + "operand" : { + "localId" : "1592", + "locator" : "297:35-297:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1594", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1593", + "locator" : "297:36-297:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.6", + "type" : "Literal" + } + } + } + }, { + "localId" : "1599", + "locator" : "299:1-299:40", + "name" : "Subtract.SubtractNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1599", + "s" : [ { + "value" : [ "","define ","\"Subtract.SubtractNull\"",": " ] + }, { + "r" : "1600", + "s" : [ { + "r" : "1601", + "value" : [ "1"," - ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1600", + "locator" : "299:33-299:40", + "type" : "Subtract", + "signature" : [ { + "localId" : "1604", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1605", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1601", + "locator" : "299:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1603", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1602", + "locator" : "299:37-299:40", + "type" : "Null" + } + } ] + } + }, { + "localId" : "1607", + "locator" : "301:1-301:38", + "name" : "Subtract.Subtract1And1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1607", + "s" : [ { + "value" : [ "","define ","\"Subtract.Subtract1And1\"",": " ] + }, { + "r" : "1608", + "s" : [ { + "r" : "1609", + "value" : [ "1"," - ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1608", + "locator" : "301:34-301:38", + "type" : "Subtract", + "signature" : [ { + "localId" : "1611", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1612", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1609", + "locator" : "301:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1610", + "locator" : "301:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1614", + "locator" : "303:1-303:42", + "name" : "Subtract.Subtract1LAnd1L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1614", + "s" : [ { + "value" : [ "","define ","\"Subtract.Subtract1LAnd1L\"",": " ] + }, { + "r" : "1615", + "s" : [ { + "r" : "1616", + "value" : [ "1L"," - ","1L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1615", + "locator" : "303:36-303:42", + "type" : "Subtract", + "signature" : [ { + "localId" : "1618", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1619", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1616", + "locator" : "303:36-303:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1617", + "locator" : "303:41-303:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1621", + "locator" : "305:1-305:44", + "name" : "Subtract.Subtract1DAnd2D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1621", + "s" : [ { + "value" : [ "","define ","\"Subtract.Subtract1DAnd2D\"",": " ] + }, { + "r" : "1622", + "s" : [ { + "r" : "1623", + "value" : [ "1.0"," - ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1622", + "locator" : "305:36-305:44", + "type" : "Subtract", + "signature" : [ { + "localId" : "1625", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1626", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1623", + "locator" : "305:36-305:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1624", + "locator" : "305:42-305:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1628", + "locator" : "307:1-307:56", + "name" : "Subtract.Subtract1CMAnd2CM", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1628", + "s" : [ { + "value" : [ "","define ","\"Subtract.Subtract1CMAnd2CM\"",": " ] + }, { + "r" : "1629", + "s" : [ { + "r" : "1630", + "s" : [ { + "value" : [ "1.0 ","'cm'" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "1631", + "s" : [ { + "value" : [ "2.0 ","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1629", + "locator" : "307:38-307:56", + "type" : "Subtract", + "signature" : [ { + "localId" : "1632", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1633", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1630", + "locator" : "307:38-307:45", + "value" : 1.0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1631", + "locator" : "307:49-307:56", + "value" : 2.0, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1635", + "locator" : "309:1-309:42", + "name" : "Subtract.Subtract2And11D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1635", + "s" : [ { + "value" : [ "","define ","\"Subtract.Subtract2And11D\"",": " ] + }, { + "r" : "1636", + "s" : [ { + "r" : "1637", + "value" : [ "2"," - ","1.1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1636", + "locator" : "309:36-309:42", + "type" : "Subtract", + "signature" : [ { + "localId" : "1642", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1643", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1640", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1637", + "locator" : "309:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "1638", + "locator" : "309:40-309:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1645", + "locator" : "311:1-311:64", + "name" : "Successor.SuccessorNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1645", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorNull\"",": " ] + }, { + "r" : "1649", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "1646", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1646", + "s" : [ { + "r" : "1647", + "value" : [ "null"," as " ] + }, { + "r" : "1648", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1649", + "locator" : "311:35-311:64", + "type" : "Successor", + "signature" : [ { + "localId" : "1650", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1646", + "locator" : "311:48-311:64", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1647", + "locator" : "311:49-311:52", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1648", + "locator" : "311:57-311:63", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "1652", + "locator" : "313:1-313:47", + "name" : "Successor.SuccessorOf0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1652", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOf0\"",": " ] + }, { + "r" : "1654", + "s" : [ { + "r" : "1653", + "value" : [ "successor of ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1654", + "locator" : "313:34-313:47", + "type" : "Successor", + "signature" : [ { + "localId" : "1655", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1653", + "locator" : "313:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "1657", + "locator" : "315:1-315:47", + "name" : "Successor.SuccessorOf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1657", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOf1\"",": " ] + }, { + "r" : "1659", + "s" : [ { + "r" : "1658", + "value" : [ "successor of ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1659", + "locator" : "315:34-315:47", + "type" : "Successor", + "signature" : [ { + "localId" : "1660", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1658", + "locator" : "315:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "1662", + "locator" : "317:1-317:49", + "name" : "Successor.SuccessorOf1L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1662", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOf1L\"",": " ] + }, { + "r" : "1664", + "s" : [ { + "r" : "1663", + "value" : [ "successor of ","1L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1664", + "locator" : "317:35-317:49", + "type" : "Successor", + "signature" : [ { + "localId" : "1665", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1663", + "locator" : "317:48-317:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "1667", + "locator" : "319:1-319:50", + "name" : "Successor.SuccessorOf1D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1667", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOf1D\"",": " ] + }, { + "r" : "1669", + "s" : [ { + "r" : "1668", + "value" : [ "successor of ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1669", + "locator" : "319:35-319:50", + "type" : "Successor", + "signature" : [ { + "localId" : "1670", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1668", + "locator" : "319:48-319:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "1672", + "locator" : "321:1-321:53", + "name" : "Successor.SuccessorOf101D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1672", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOf101D\"",": " ] + }, { + "r" : "1674", + "s" : [ { + "r" : "1673", + "value" : [ "successor of ","1.01" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1674", + "locator" : "321:37-321:53", + "type" : "Successor", + "signature" : [ { + "localId" : "1675", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1673", + "locator" : "321:50-321:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.01", + "type" : "Literal" + } + } + }, { + "localId" : "1677", + "locator" : "323:1-323:71", + "name" : "Successor.SuccessorOfJan12000", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1677", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOfJan12000\"",": " ] + }, { + "r" : "1684", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "1683", + "s" : [ { + "r" : "1678", + "value" : [ "DateTime","(","2000",",","1",",","1",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1684", + "locator" : "323:41-323:71", + "type" : "Successor", + "signature" : [ { + "localId" : "1685", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1683", + "locator" : "323:54-323:71", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1678", + "locator" : "323:63-323:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "type" : "Literal" + }, + "month" : { + "localId" : "1679", + "locator" : "323:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "1680", + "locator" : "323:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1687", + "locator" : "325:1-325:63", + "name" : "Successor.SuccessorOfNoon", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1687", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOfNoon\"",": " ] + }, { + "r" : "1693", + "s" : [ { + "r" : "1688", + "value" : [ "successor of ","@T12:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1693", + "locator" : "325:37-325:63", + "type" : "Successor", + "signature" : [ { + "localId" : "1694", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1688", + "locator" : "325:50-325:63", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1689", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "minute" : { + "localId" : "1690", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1691", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1692", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1696", + "locator" : "327:1-327:92", + "name" : "Successor.SuccessorOverflowDt", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1696", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOverflowDt\"",": " ] + }, { + "r" : "1707", + "s" : [ { + "value" : [ "successor of " ] + }, { + "r" : "1706", + "s" : [ { + "r" : "1697", + "value" : [ "DateTime","(","9999",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1707", + "locator" : "327:41-327:92", + "type" : "Successor", + "signature" : [ { + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1706", + "locator" : "327:54-327:92", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1697", + "locator" : "327:63-327:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9999", + "type" : "Literal" + }, + "month" : { + "localId" : "1698", + "locator" : "327:69-327:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1699", + "locator" : "327:73-327:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "type" : "Literal" + }, + "hour" : { + "localId" : "1700", + "locator" : "327:77-327:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "type" : "Literal" + }, + "minute" : { + "localId" : "1701", + "locator" : "327:81-327:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1702", + "locator" : "327:85-327:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1703", + "locator" : "327:89-327:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } + } + }, { + "localId" : "1710", + "locator" : "329:1-329:66", + "name" : "Successor.SuccessorOverflowT", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1710", + "s" : [ { + "value" : [ "","define ","\"Successor.SuccessorOverflowT\"",": " ] + }, { + "r" : "1716", + "s" : [ { + "r" : "1711", + "value" : [ "successor of ","@T23:59:59.999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1716", + "locator" : "329:40-329:66", + "type" : "Successor", + "signature" : [ { + "localId" : "1717", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1711", + "locator" : "329:53-329:66", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1712", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "type" : "Literal" + }, + "minute" : { + "localId" : "1713", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1714", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1715", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } + } + }, { + "localId" : "1719", + "locator" : "331:1-331:57", + "name" : "Truncate.TruncateNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1719", + "s" : [ { + "value" : [ "","define ","\"Truncate.TruncateNull\"",": " ] + }, { + "r" : "1725", + "s" : [ { + "value" : [ "Truncate","(" ] + }, { + "r" : "1720", + "s" : [ { + "r" : "1721", + "value" : [ "null"," as " ] + }, { + "r" : "1722", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1725", + "locator" : "331:33-331:57", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1720", + "locator" : "331:42-331:56", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1721", + "locator" : "331:42-331:45", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1722", + "locator" : "331:50-331:56", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "1727", + "locator" : "333:1-333:40", + "name" : "Truncate.Truncate0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1727", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate0\"",": " ] + }, { + "r" : "1734", + "s" : [ { + "r" : "1728", + "value" : [ "Truncate","(","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1734", + "locator" : "333:30-333:40", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1736", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1737", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1728", + "locator" : "333:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1739", + "locator" : "335:1-335:44", + "name" : "Truncate.Truncate0D0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1739", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate0D0\"",": " ] + }, { + "r" : "1743", + "s" : [ { + "r" : "1740", + "value" : [ "Truncate","(","0.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1743", + "locator" : "335:32-335:44", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1740", + "locator" : "335:41-335:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + } + }, { + "localId" : "1745", + "locator" : "337:1-337:44", + "name" : "Truncate.Truncate0D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1745", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate0D1\"",": " ] + }, { + "r" : "1749", + "s" : [ { + "r" : "1746", + "value" : [ "Truncate","(","0.1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1749", + "locator" : "337:32-337:44", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1746", + "locator" : "337:41-337:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.1", + "type" : "Literal" + } + } + }, { + "localId" : "1751", + "locator" : "339:1-339:40", + "name" : "Truncate.Truncate1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1751", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate1\"",": " ] + }, { + "r" : "1758", + "s" : [ { + "r" : "1752", + "value" : [ "Truncate","(","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1758", + "locator" : "339:30-339:40", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1760", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1761", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1752", + "locator" : "339:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1763", + "locator" : "341:1-341:44", + "name" : "Truncate.Truncate1D0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1763", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate1D0\"",": " ] + }, { + "r" : "1767", + "s" : [ { + "r" : "1764", + "value" : [ "Truncate","(","1.0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1767", + "locator" : "341:32-341:44", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1764", + "locator" : "341:41-341:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "1769", + "locator" : "343:1-343:44", + "name" : "Truncate.Truncate1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1769", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate1D1\"",": " ] + }, { + "r" : "1773", + "s" : [ { + "r" : "1770", + "value" : [ "Truncate","(","1.1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1773", + "locator" : "343:32-343:44", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1770", + "locator" : "343:41-343:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + }, { + "localId" : "1775", + "locator" : "345:1-345:44", + "name" : "Truncate.Truncate1D9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1775", + "s" : [ { + "value" : [ "","define ","\"Truncate.Truncate1D9\"",": " ] + }, { + "r" : "1779", + "s" : [ { + "r" : "1776", + "value" : [ "Truncate","(","1.9",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1779", + "locator" : "345:32-345:44", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1776", + "locator" : "345:41-345:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.9", + "type" : "Literal" + } + } + }, { + "localId" : "1781", + "locator" : "347:1-347:44", + "name" : "Truncate.TruncateNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1781", + "s" : [ { + "value" : [ "","define ","\"Truncate.TruncateNeg1\"",": " ] + }, { + "r" : "1790", + "s" : [ { + "value" : [ "Truncate","(" ] + }, { + "r" : "1782", + "s" : [ { + "r" : "1783", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1790", + "locator" : "347:33-347:44", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1792", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1782", + "locator" : "347:42-347:43", + "type" : "Negate", + "signature" : [ { + "localId" : "1784", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1783", + "locator" : "347:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + } + }, { + "localId" : "1795", + "locator" : "349:1-349:48", + "name" : "Truncate.TruncateNeg1D0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1795", + "s" : [ { + "value" : [ "","define ","\"Truncate.TruncateNeg1D0\"",": " ] + }, { + "r" : "1801", + "s" : [ { + "value" : [ "Truncate","(" ] + }, { + "r" : "1796", + "s" : [ { + "r" : "1797", + "value" : [ "-","1.0" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1801", + "locator" : "349:35-349:48", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1796", + "locator" : "349:44-349:47", + "type" : "Negate", + "signature" : [ { + "localId" : "1798", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1797", + "locator" : "349:45-349:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + } + }, { + "localId" : "1803", + "locator" : "351:1-351:48", + "name" : "Truncate.TruncateNeg1D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1803", + "s" : [ { + "value" : [ "","define ","\"Truncate.TruncateNeg1D1\"",": " ] + }, { + "r" : "1809", + "s" : [ { + "value" : [ "Truncate","(" ] + }, { + "r" : "1804", + "s" : [ { + "r" : "1805", + "value" : [ "-","1.1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1809", + "locator" : "351:35-351:48", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1804", + "locator" : "351:44-351:47", + "type" : "Negate", + "signature" : [ { + "localId" : "1806", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1805", + "locator" : "351:45-351:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.1", + "type" : "Literal" + } + } + } + }, { + "localId" : "1811", + "locator" : "353:1-353:48", + "name" : "Truncate.TruncateNeg1D9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1811", + "s" : [ { + "value" : [ "","define ","\"Truncate.TruncateNeg1D9\"",": " ] + }, { + "r" : "1817", + "s" : [ { + "value" : [ "Truncate","(" ] + }, { + "r" : "1812", + "s" : [ { + "r" : "1813", + "value" : [ "-","1.9" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1817", + "locator" : "353:35-353:48", + "type" : "Truncate", + "signature" : [ ], + "operand" : { + "localId" : "1812", + "locator" : "353:44-353:47", + "type" : "Negate", + "signature" : [ { + "localId" : "1814", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1813", + "locator" : "353:45-353:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.9", + "type" : "Literal" + } + } + } + }, { + "localId" : "1819", + "locator" : "355:1-355:86", + "name" : "Truncated Divide.TruncatedDivideNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1819", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNull\"",": " ] + }, { + "r" : "1820", + "s" : [ { + "r" : "1821", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1821", + "s" : [ { + "r" : "1822", + "value" : [ "null"," as " ] + }, { + "r" : "1823", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " div " ] + }, { + "r" : "1824", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1824", + "s" : [ { + "r" : "1825", + "value" : [ "null"," as " ] + }, { + "r" : "1826", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1820", + "locator" : "355:48-355:86", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1827", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1828", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1821", + "locator" : "355:48-355:64", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1822", + "locator" : "355:49-355:52", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1823", + "locator" : "355:57-355:63", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1824", + "locator" : "355:70-355:86", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1825", + "locator" : "355:71-355:74", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1826", + "locator" : "355:79-355:85", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ] + } + }, { + "localId" : "1830", + "locator" : "357:1-357:54", + "name" : "Truncated Divide.TruncatedDivide2By1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1830", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide2By1\"",": " ] + }, { + "r" : "1831", + "s" : [ { + "r" : "1832", + "value" : [ "2"," div ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1831", + "locator" : "357:48-357:54", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1834", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1835", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1832", + "locator" : "357:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1833", + "locator" : "357:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1837", + "locator" : "359:1-359:56", + "name" : "Truncated Divide.TruncatedDivide10By3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1837", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10By3\"",": " ] + }, { + "r" : "1838", + "s" : [ { + "r" : "1839", + "value" : [ "10"," div ","3" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1838", + "locator" : "359:49-359:56", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1841", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1842", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1839", + "locator" : "359:49-359:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "1840", + "locator" : "359:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } + }, { + "localId" : "1844", + "locator" : "361:1-361:60", + "name" : "Truncated Divide.TruncatedDivide10LBy3L", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1844", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10LBy3L\"",": " ] + }, { + "r" : "1845", + "s" : [ { + "r" : "1846", + "value" : [ "10L"," div ","3L" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1845", + "locator" : "361:51-361:60", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1848", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1849", + "name" : "{urn:hl7-org:elm-types:r1}Long", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1846", + "locator" : "361:51-361:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "1847", + "locator" : "361:59-361:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Long", + "value" : "3", + "type" : "Literal" + } ] + } + }, { + "localId" : "1851", + "locator" : "363:1-363:64", + "name" : "Truncated Divide.TruncatedDivide10d1By3D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1851", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10d1By3D1\"",": " ] + }, { + "r" : "1852", + "s" : [ { + "r" : "1853", + "value" : [ "10.1"," div ","3.1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1852", + "locator" : "363:53-363:64", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1855", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1856", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1853", + "locator" : "363:53-363:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "type" : "Literal" + }, { + "localId" : "1854", + "locator" : "363:62-363:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1858", + "locator" : "365:1-365:62", + "name" : "Truncated Divide.TruncatedDivideNeg2ByNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1858", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNeg2ByNeg1\"",": " ] + }, { + "r" : "1859", + "s" : [ { + "r" : "1860", + "s" : [ { + "r" : "1861", + "value" : [ "-","2" ] + } ] + }, { + "value" : [ " div " ] + }, { + "r" : "1863", + "s" : [ { + "r" : "1864", + "value" : [ "-","1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1859", + "locator" : "365:54-365:62", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1866", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1867", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1860", + "locator" : "365:54-365:55", + "type" : "Negate", + "signature" : [ { + "localId" : "1862", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1861", + "locator" : "365:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "1863", + "locator" : "365:61-365:62", + "type" : "Negate", + "signature" : [ { + "localId" : "1865", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1864", + "locator" : "365:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1869", + "locator" : "367:1-367:64", + "name" : "Truncated Divide.TruncatedDivideNeg10ByNeg3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1869", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNeg10ByNeg3\"",": " ] + }, { + "r" : "1870", + "s" : [ { + "r" : "1871", + "s" : [ { + "r" : "1872", + "value" : [ "-","10" ] + } ] + }, { + "value" : [ " div " ] + }, { + "r" : "1874", + "s" : [ { + "r" : "1875", + "value" : [ "-","3" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1870", + "locator" : "367:55-367:64", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1871", + "locator" : "367:55-367:57", + "type" : "Negate", + "signature" : [ { + "localId" : "1873", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1872", + "locator" : "367:56-367:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1874", + "locator" : "367:63-367:64", + "type" : "Negate", + "signature" : [ { + "localId" : "1876", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1875", + "locator" : "367:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1880", + "locator" : "369:1-369:72", + "name" : "Truncated Divide.TruncatedDivideNeg10d1ByNeg3D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1880", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNeg10d1ByNeg3D1\"",": " ] + }, { + "r" : "1881", + "s" : [ { + "r" : "1882", + "s" : [ { + "r" : "1883", + "value" : [ "-","10.1" ] + } ] + }, { + "value" : [ " div " ] + }, { + "r" : "1885", + "s" : [ { + "r" : "1886", + "value" : [ "-","3.1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1881", + "locator" : "369:59-369:72", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1888", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1889", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1882", + "locator" : "369:59-369:63", + "type" : "Negate", + "signature" : [ { + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1883", + "locator" : "369:60-369:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "type" : "Literal" + } + }, { + "localId" : "1885", + "locator" : "369:69-369:72", + "type" : "Negate", + "signature" : [ { + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1886", + "locator" : "369:70-369:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1891", + "locator" : "371:1-371:58", + "name" : "Truncated Divide.TruncatedDivideNeg2By1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1891", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNeg2By1\"",": " ] + }, { + "r" : "1892", + "s" : [ { + "r" : "1893", + "s" : [ { + "r" : "1894", + "value" : [ "-","2" ] + } ] + }, { + "r" : "1896", + "value" : [ " div ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1892", + "locator" : "371:51-371:58", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1897", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1893", + "locator" : "371:51-371:52", + "type" : "Negate", + "signature" : [ { + "localId" : "1895", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1894", + "locator" : "371:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "1896", + "locator" : "371:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1900", + "locator" : "373:1-373:60", + "name" : "Truncated Divide.TruncatedDivideNeg10By3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1900", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNeg10By3\"",": " ] + }, { + "r" : "1901", + "s" : [ { + "r" : "1902", + "s" : [ { + "r" : "1903", + "value" : [ "-","10" ] + } ] + }, { + "r" : "1905", + "value" : [ " div ","3" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1901", + "locator" : "373:52-373:60", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1902", + "locator" : "373:52-373:54", + "type" : "Negate", + "signature" : [ { + "localId" : "1904", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1903", + "locator" : "373:53-373:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1905", + "locator" : "373:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } + }, { + "localId" : "1909", + "locator" : "375:1-375:68", + "name" : "Truncated Divide.TruncatedDivideNeg10d1By3D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1909", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivideNeg10d1By3D1\"",": " ] + }, { + "r" : "1910", + "s" : [ { + "r" : "1911", + "s" : [ { + "r" : "1912", + "value" : [ "-","10.1" ] + } ] + }, { + "r" : "1914", + "value" : [ " div ","3.1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1910", + "locator" : "375:56-375:68", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1915", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1916", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1911", + "locator" : "375:56-375:60", + "type" : "Negate", + "signature" : [ { + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1912", + "locator" : "375:57-375:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "type" : "Literal" + } + }, { + "localId" : "1914", + "locator" : "375:66-375:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1918", + "locator" : "377:1-377:58", + "name" : "Truncated Divide.TruncatedDivide2ByNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1918", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide2ByNeg1\"",": " ] + }, { + "r" : "1919", + "s" : [ { + "r" : "1920", + "value" : [ "2"," div " ] + }, { + "r" : "1921", + "s" : [ { + "r" : "1922", + "value" : [ "-","1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1919", + "locator" : "377:51-377:58", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1924", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1925", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1920", + "locator" : "377:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1921", + "locator" : "377:57-377:58", + "type" : "Negate", + "signature" : [ { + "localId" : "1923", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1922", + "locator" : "377:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1927", + "locator" : "379:1-379:60", + "name" : "Truncated Divide.TruncatedDivide10ByNeg3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1927", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10ByNeg3\"",": " ] + }, { + "r" : "1928", + "s" : [ { + "r" : "1929", + "value" : [ "10"," div " ] + }, { + "r" : "1930", + "s" : [ { + "r" : "1931", + "value" : [ "-","3" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1928", + "locator" : "379:52-379:60", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1933", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1934", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1929", + "locator" : "379:52-379:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "1930", + "locator" : "379:59-379:60", + "type" : "Negate", + "signature" : [ { + "localId" : "1932", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1931", + "locator" : "379:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1936", + "locator" : "381:1-381:68", + "name" : "Truncated Divide.TruncatedDivide10d1ByNeg3D1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1936", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10d1ByNeg3D1\"",": " ] + }, { + "r" : "1937", + "s" : [ { + "r" : "1938", + "value" : [ "10.1"," div " ] + }, { + "r" : "1939", + "s" : [ { + "r" : "1940", + "value" : [ "-","3.1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1937", + "locator" : "381:56-381:68", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1942", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1943", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1938", + "locator" : "381:56-381:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10.1", + "type" : "Literal" + }, { + "localId" : "1939", + "locator" : "381:65-381:68", + "type" : "Negate", + "signature" : [ { + "localId" : "1941", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1940", + "locator" : "381:66-381:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1945", + "locator" : "383:1-383:59", + "name" : "Truncated Divide.TruncatedDivide10By5D", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1945", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10By5D\"",": " ] + }, { + "r" : "1946", + "s" : [ { + "r" : "1947", + "value" : [ "10"," div ","5.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1946", + "locator" : "383:50-383:59", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1952", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1950", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1951", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1947", + "locator" : "383:50-383:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1948", + "locator" : "383:57-383:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "5.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1955", + "locator" : "385:1-385:86", + "name" : "Truncated Divide.TruncatedDivide10d1ByNeg3D1Quantity", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1955", + "s" : [ { + "value" : [ "","define ","\"Truncated Divide.TruncatedDivide10d1ByNeg3D1Quantity\"",": " ] + }, { + "r" : "1956", + "s" : [ { + "r" : "1957", + "s" : [ { + "value" : [ "10.1 ","'cm'" ] + } ] + }, { + "value" : [ " div " ] + }, { + "r" : "1958", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1959", + "s" : [ { + "value" : [ "3.1 ","'cm'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1956", + "locator" : "385:64-385:86", + "type" : "TruncatedDivide", + "signature" : [ { + "localId" : "1961", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1962", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1957", + "locator" : "385:64-385:72", + "value" : 10.1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1958", + "locator" : "385:78-385:86", + "type" : "Negate", + "signature" : [ { + "localId" : "1960", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1959", + "locator" : "385:79-385:86", + "value" : 3.1, + "unit" : "cm", + "type" : "Quantity" + } + } ] + } + } ] + } + } +} + diff --git a/cql/CqlArithmeticFunctionsTest.xml b/cql/CqlArithmeticFunctionsTest.xml new file mode 100644 index 0000000..a579316 --- /dev/null +++ b/cql/CqlArithmeticFunctionsTest.xml @@ -0,0 +1,3654 @@ + + + + + + library CqlArithmeticFunctionsTest + + + + + + + + + + + + define "Abs.AbsNull": + + Abs( + + null as + + Integer + + + ) + + + + + + + + + + + + + + + define "Abs.Abs0": + + Abs(0) + + + + + + + + + + + + define "Abs.AbsNeg1": + + Abs( + + -1 + + ) + + + + + + + + + + + + + + + define "Abs.AbsNeg1Dec": + + Abs( + + -1.0 + + ) + + + + + + + + + + + + + + + define "Abs.Abs0Dec": + + Abs(0.0) + + + + + + + + + + + + define "Abs.Abs1cm": + + Abs( + + - + + 1.0'cm' + + + ) + + + + + + + + + + + + + + + define "Abs.AbsLong": + + Abs( + + -1L + + ) + + + + + + + + + + + + + + + define "Add.AddNull": + + 1 + null + + + + + + + + + + + + + + + + define "Add.Add11": + + 1 + 1 + + + + + + + + + + + + + + define "Add.Add1D1D": + + 1.0 + 1.0 + + + + + + + + + + + + + + define "Add.Add1Q1Q": + + + 1'g/cm3' + + + + + 1'g/cm3' + + + + + + + + + + + + + + + define "Add.AddIAndD": + + 1 + 2.0 + + + + + + + + + + + + + + + + + define "Add.Add1L1L": + + 1L + 1L + + + + + + + + + + + + + + define "Ceiling.CeilingNull": + + Ceiling( + + null as + + Decimal + + + ) + + + + + + + + + + + + + + define "Ceiling.Ceiling1D": + + Ceiling(1.0) + + + + + + + + + + + define "Ceiling.Ceiling1D1": + + Ceiling(1.1) + + + + + + + + + + + define "Ceiling.CeilingNegD1": + + Ceiling( + + -0.1 + + ) + + + + + + + + + + + + + + define "Ceiling.CeilingNeg1": + + Ceiling( + + -1.0 + + ) + + + + + + + + + + + + + + define "Ceiling.CeilingNeg1D1": + + Ceiling( + + -1.1 + + ) + + + + + + + + + + + + + + define "Ceiling.Ceiling1I": + + Ceiling(1) + + + + + + + + + + + + + + define "Divide.DivideNull": + + 1 / null + + + + + + + + + + + + + + + + + + + define "Divide.Divide10": + + 1 / 0 + + + + + + + + + + + + + + + + + + + + define "Divide.Divide01": + + 0 / 1 + + + + + + + + + + + + + + + + + + + + define "Divide.Divide11": + + 1 / 1 + + + + + + + + + + + + + + + + + + + + define "Divide.Divide1d1d": + + 1.0 / 1.0 + + + + + + + + + + + + + + define "Divide.Divide103": + + Round( + + 10 / 3 + + , 8) + + + + + + + + + + + + + + + + + + + + + + + define "Divide.Divide1Q1": + + + 1'g/cm3' + + / 1.0 + + + + + + + + + + + + + + + + + define "Divide.Divide1Q1Q": + + + 1'g/cm3' + + / + + 1'g/cm3' + + + + + + + + + + + + + + + define "Divide.Divide10I5D": + + 10 / 5.0 + + + + + + + + + + + + + + + + + define "Divide.Divide10I5I": + + 10 / 5 + + + + + + + + + + + + + + + + + + + + define "Divide.Divide10Q5I": + + + 10.0 'g' + + / 5 + + + + + + + + + + + + + + + + + define "Floor.FloorNull": + + Floor( + + null as + + Decimal + + + ) + + + + + + + + + + + + + + define "Floor.Floor1": + + Floor(1) + + + + + + + + + + + + + + define "Floor.Floor1D": + + Floor(1.0) + + + + + + + + + + + define "Floor.Floor1D1": + + Floor(1.1) + + + + + + + + + + + define "Floor.FloorNegD1": + + Floor( + + -0.1 + + ) + + + + + + + + + + + + + + define "Floor.FloorNeg1": + + Floor( + + -1.0 + + ) + + + + + + + + + + + + + + define "Floor.FloorNeg1D1": + + Floor( + + -1.1 + + ) + + + + + + + + + + + + + + define "Floor.Floor2I": + + Floor(2) + + + + + + + + + + + + + + define "Exp.ExpNull": + + Exp( + + null as + + Decimal + + + ) + + + + + + + + + + + + + + define "Exp.Exp0": + + Exp(0) + + + + + + + + + + + + + + define "Exp.ExpNeg0": + + Exp( + + -0 + + ) + + + + + + + + + + + + + + + + + define "Exp.Exp1": + + Round( + + Exp(1) + + , 8) + + + + + + + + + + + + + + + + + define "Exp.ExpNeg1": + + Round( + + Exp( + + -1 + + ) + + , 8) + + + + + + + + + + + + + + + + + + + + define "Exp.Exp1000": + + Exp(1000) + + + + + + + + + + + + + + define "Exp.Exp1000D": + + Exp(1000.0) + + + + + + + + + + + define "HighBoundary.HighBoundaryDecimal": + + HighBoundary(1.587, 8) + + + + + + + + + + + + + + define "HighBoundary.HighBoundaryDateMonth": + + HighBoundary(@2014, 6) + + + + + + + + + + + + + + + + define "HighBoundary.HighBoundaryDateTimeMillisecond": + + HighBoundary(@2014-01-01T08, 17) + + + + + + + + + + + + + + + + + + + define "HighBoundary.HighBoundaryTimeMillisecond": + + HighBoundary(@T10:30, 9) + + + + + + + + + + + + + + + + + define "Log.LogNullNull": + + Log(null, null) + + + + + + + + + + + + + + + + define "Log.Log1BaseNull": + + Log(1, null) + + + + + + + + + + + + + + + + + define "Log.Log1Base1": + + Log(1, 1) + + + + + + + + + + + + + + + + + + define "Log.Log1Base2": + + Log(1, 2) + + + + + + + + + + + + + + + + + + define "Log.Log1Base100": + + Log(1, 100) + + + + + + + + + + + + + + + + + + define "Log.Log16Base2": + + Log(16, 2) + + + + + + + + + + + + + + + + + + define "Log.LogD125Base2": + + Log(0.125, 2) + + + + + + + + + + + + + + + define "LowBoundary.LowBoundaryDecimal": + + LowBoundary(1.587, 8) + + + + + + + + + + + + + + define "LowBoundary.LowBoundaryDateMonth": + + LowBoundary(@2014, 6) + + + + + + + + + + + + + + + + define "LowBoundary.LowBoundaryDateTimeMillisecond": + + LowBoundary(@2014-01-01T08, 17) + + + + + + + + + + + + + + + + + + + define "LowBoundary.LowBoundaryTimeMillisecond": + + LowBoundary(@T10:30, 9) + + + + + + + + + + + + + + + + + define "Ln.LnNull": + + Ln(null) + + + + + + + + + + + + + define "Ln.Ln0": + + Ln(0) + + + + + + + + + + + + + + define "Ln.LnNeg0": + + Ln( + + -0 + + ) + + + + + + + + + + + + + + + + + define "Ln.Ln1": + + Ln(1) + + + + + + + + + + + + + + define "Ln.LnNeg1": + + Ln( + + -1 + + ) + + + + + + + + + + + + + + + + + define "Ln.Ln1000": + + Round( + + Ln(1000) + + , 8) + + + + + + + + + + + + + + + + + define "Ln.Ln1000D": + + Round( + + Ln(1000.0) + + , 8) + + + + + + + + + + + + + + define "MinValue.IntegerMinValue": + + minimum + + Integer + + + + + + + + + + define "MinValue.LongMinValue": + + minimum + + Long + + + + + + + + + + define "MinValue.DecimalMinValue": + + minimum + + Decimal + + + + + + + + + + define "MinValue.DateTimeMinValue": + + minimum + + DateTime + + + + + + + + + + define "MinValue.DateMinValue": + + minimum + + Date + + + + + + + + + + define "MinValue.TimeMinValue": + + minimum + + Time + + + + + + + + + + define "MaxValue.IntegerMaxValue": + + maximum + + Integer + + + + + + + + + + define "MaxValue.LongMaxValue": + + maximum + + Long + + + + + + + + + + define "MaxValue.DecimalMaxValue": + + maximum + + Decimal + + + + + + + + + + define "MaxValue.DateTimeMaxValue": + + maximum + + DateTime + + + + + + + + + + define "MaxValue.DateMaxValue": + + maximum + + Date + + + + + + + + + + define "MaxValue.TimeMaxValue": + + maximum + + Time + + + + + + + + + + define "Modulo.ModuloNull": + + 1 mod null + + + + + + + + + + + + + + + + define "Modulo.Modulo0By0": + + 0 mod 0 + + + + + + + + + + + + + + define "Modulo.Modulo4By2": + + 4 mod 2 + + + + + + + + + + + + + + define "Modulo.Modulo4LBy2L": + + 4L mod 2L + + + + + + + + + + + + + + define "Modulo.Modulo4DBy2D": + + 4.0 mod 2.0 + + + + + + + + + + + + + + define "Modulo.Modulo10By3": + + 10 mod 3 + + + + + + + + + + + + + + define "Modulo.Modulo10DBy3D": + + 10.0 mod 3.0 + + + + + + + + + + + + + + define "Modulo.Modulo10IBy3D": + + 10 mod 3.0 + + + + + + + + + + + + + + + + + define "Modulo.ModuloDResult": + + 3.5 mod 3 + + + + + + + + + + + + + + + + + define "Modulo.ModuloQuantity": + + + 3.5 'cm' + + mod + + 3 'cm' + + + + + + + + + + + + + + + define "Multiply.MultiplyNull": + + 1 * null + + + + + + + + + + + + + + + + define "Multiply.Multiply1By1": + + 1 * 1 + + + + + + + + + + + + + + define "Multiply.Multiply1DBy2D": + + 1.0 * 2.0 + + + + + + + + + + + + + + define "Multiply.Multiply1By1L": + + 1 * 1L + + + + + + + + + + + + + + + + + define "Multiply.Multiply1IBy2D": + + 1 * 2.0 + + + + + + + + + + + + + + + + + define "Multiply.Multiply1CMBy2CM": + + + 1.0 'cm' + + * + + 2.0 'cm' + + + + + + + + + + + + + + + define "Negate.NegateNull": + + - + + ( + + null as + + Integer + + + ) + + + + + + + + + + + + + + + + define "Negate.Negate0": + + -0 + + + + + + + + + + + + define "Negate.NegateNeg0": + + - + + ( + + -0 + + ) + + + + + + + + + + + + + + + + define "Negate.Negate1": + + -1 + + + + + + + + + + + + define "Negate.NegateNeg1": + + - + + ( + + -1 + + ) + + + + + + + + + + + + + + + + define "Negate.NegateNeg1L": + + - + + ( + + -1L + + ) + + + + + + + + + + + + + + + + define "Negate.Negate0D": + + - + + (0.0) + + + + + + + + + + + + + define "Negate.NegateNeg0D": + + - + + ( + + -0.0 + + ) + + + + + + + + + + + + + + + + define "Negate.Negate1D": + + - + + (1.0) + + + + + + + + + + + + + define "Negate.NegateNeg1D": + + - + + ( + + -1.0 + + ) + + + + + + + + + + + + + + + + define "Negate.Negate1CM": + + - + + ( + + 1'cm' + + ) + + + + + + + + + + + + + define "Precision.PrecisionDecimal": + + Precision(1.58700) + + + + + + + + + + + + define "Precision.PrecisionYear": + + Precision(@2014) + + + + + + + + + + + + + + define "Precision.PrecisionDateTimeMilliseconds": + + Precision(@2014-01-05T10:30:00.000) + + + + + + + + + + + + + + + + + + + + define "Precision.PrecisionTimeMinutes": + + Precision(@T10:30) + + + + + + + + + + + + + + + define "Precision.PrecisionTimeMilliseconds": + + Precision(@T10:30:00.000) + + + + + + + + + + + + + + + + + define "Predecessor.PredecessorNull": + + predecessor of + + ( + + null as + + Integer + + + ) + + + + + + + + + + + + + + + + define "Predecessor.PredecessorOf0": + + predecessor of 0 + + + + + + + + + + + + define "Predecessor.PredecessorOf1": + + predecessor of 1 + + + + + + + + + + + + define "Predecessor.PredecessorOf1L": + + predecessor of 1L + + + + + + + + + + + + define "Predecessor.PredecessorOf1D": + + predecessor of 1.0 + + + + + + + + + + + + define "Predecessor.PredecessorOf101D": + + predecessor of 1.01 + + + + + + + + + + + + define "Predecessor.PredecessorOf1QCM": + + predecessor of + + 1.0 'cm' + + + + + + + + + + + + + define "Predecessor.PredecessorOfJan12000": + + predecessor of + + DateTime(2000,1,1) + + + + + + + + + + + + + + + + + define "Predecessor.PredecessorOfNoon": + + predecessor of @T12:00:00.000 + + + + + + + + + + + + + + + + + define "Predecessor.PredecessorUnderflowDt": + + predecessor of + + DateTime(0001, 1, 1, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + define "Predecessor.PredecessorUnderflowT": + + predecessor of @T00:00:00.000 + + + + + + + + + + + + + + + + + define "Power.PowerNullToNull": + + Power( + + null as + + Integer + + + , + + null as + + Integer + + + ) + + + + + + + + + + + + + + + + + + + + define "Power.Power0To0": + + Power(0, 0) + + + + + + + + + + + + + + define "Power.Power2To2": + + Power(2, 2) + + + + + + + + + + + + + + define "Power.PowerNeg2To2": + + Power( + + -2 + + , 2) + + + + + + + + + + + + + + + + + define "Power.Power2ToNeg2": + + Power(2, + + -2 + + ) + + + + + + + + + + + + + + + + + define "Power.Power2LTo2L": + + Power(2L, 2L) + + + + + + + + + + + + + + define "Power.Power2DTo2D": + + Power(2.0, 2.0) + + + + + + + + + + + + + + define "Power.PowerNeg2DTo2D": + + Power( + + -2.0 + + , 2.0) + + + + + + + + + + + + + + + + + define "Power.Power2DToNeg2D": + + Power(2.0, + + -2.0 + + ) + + + + + + + + + + + + + + + + + define "Power.Power2DTo2": + + Power(2.0, 2) + + + + + + + + + + + + + + + + + define "Power.Power2To2D": + + Power(2, 2.0) + + + + + + + + + + + + + + + + + define "Power.Power2To4": + + 2^4 + + + + + + + + + + + + + + define "Power.Power2DTo4D": + + 2.0^4.0 + + + + + + + + + + + + + + define "Power.Power2DToNeg2DEquivalence": + + + Power(2, + + -2 + + ) + + ~ 0.25 + + + + + + + + + + + + + + + + + + + + + + + + + define "Round.RoundNull": + + Round( + + null as + + Decimal + + + ) + + + + + + + + + + + + + + define "Round.Round1": + + Round(1) + + + + + + + + + + + + + + define "Round.Round0D5": + + Round(0.5) + + + + + + + + + + + define "Round.Round0D4": + + Round(0.4) + + + + + + + + + + + define "Round.Round3D14159": + + Round(3.14159, 2) + + + + + + + + + + + + define "Round.RoundNeg0D5": + + Round( + + -0.5 + + ) + + + + + + + + + + + + + + define "Round.RoundNeg0D4": + + Round( + + -0.4 + + ) + + + + + + + + + + + + + + define "Round.RoundNeg0D6": + + Round( + + -0.6 + + ) + + + + + + + + + + + + + + define "Round.RoundNeg1D1": + + Round( + + -1.1 + + ) + + + + + + + + + + + + + + define "Round.RoundNeg1D5": + + Round( + + -1.5 + + ) + + + + + + + + + + + + + + define "Round.RoundNeg1D6": + + Round( + + -1.6 + + ) + + + + + + + + + + + + + + define "Subtract.SubtractNull": + + 1 - null + + + + + + + + + + + + + + + + define "Subtract.Subtract1And1": + + 1 - 1 + + + + + + + + + + + + + + define "Subtract.Subtract1LAnd1L": + + 1L - 1L + + + + + + + + + + + + + + define "Subtract.Subtract1DAnd2D": + + 1.0 - 2.0 + + + + + + + + + + + + + + define "Subtract.Subtract1CMAnd2CM": + + + 1.0 'cm' + + - + + 2.0 'cm' + + + + + + + + + + + + + + + define "Subtract.Subtract2And11D": + + 2 - 1.1 + + + + + + + + + + + + + + + + + define "Successor.SuccessorNull": + + successor of + + ( + + null as + + Integer + + + ) + + + + + + + + + + + + + + + + define "Successor.SuccessorOf0": + + successor of 0 + + + + + + + + + + + + define "Successor.SuccessorOf1": + + successor of 1 + + + + + + + + + + + + define "Successor.SuccessorOf1L": + + successor of 1L + + + + + + + + + + + + define "Successor.SuccessorOf1D": + + successor of 1.0 + + + + + + + + + + + + define "Successor.SuccessorOf101D": + + successor of 1.01 + + + + + + + + + + + + define "Successor.SuccessorOfJan12000": + + successor of + + DateTime(2000,1,1) + + + + + + + + + + + + + + + + + define "Successor.SuccessorOfNoon": + + successor of @T12:00:00.000 + + + + + + + + + + + + + + + + + define "Successor.SuccessorOverflowDt": + + successor of + + DateTime(9999, 12, 31, 23, 59, 59, 999) + + + + + + + + + + + + + + + + + + + + + define "Successor.SuccessorOverflowT": + + successor of @T23:59:59.999 + + + + + + + + + + + + + + + + + define "Truncate.TruncateNull": + + Truncate( + + null as + + Decimal + + + ) + + + + + + + + + + + + + + define "Truncate.Truncate0": + + Truncate(0) + + + + + + + + + + + + + + define "Truncate.Truncate0D0": + + Truncate(0.0) + + + + + + + + + + + define "Truncate.Truncate0D1": + + Truncate(0.1) + + + + + + + + + + + define "Truncate.Truncate1": + + Truncate(1) + + + + + + + + + + + + + + define "Truncate.Truncate1D0": + + Truncate(1.0) + + + + + + + + + + + define "Truncate.Truncate1D1": + + Truncate(1.1) + + + + + + + + + + + define "Truncate.Truncate1D9": + + Truncate(1.9) + + + + + + + + + + + define "Truncate.TruncateNeg1": + + Truncate( + + -1 + + ) + + + + + + + + + + + + + + + + + define "Truncate.TruncateNeg1D0": + + Truncate( + + -1.0 + + ) + + + + + + + + + + + + + + define "Truncate.TruncateNeg1D1": + + Truncate( + + -1.1 + + ) + + + + + + + + + + + + + + define "Truncate.TruncateNeg1D9": + + Truncate( + + -1.9 + + ) + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNull": + + + ( + + null as + + Integer + + + ) + + div + + ( + + null as + + Integer + + + ) + + + + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide2By1": + + 2 div 1 + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10By3": + + 10 div 3 + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10LBy3L": + + 10L div 3L + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10d1By3D1": + + 10.1 div 3.1 + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNeg2ByNeg1": + + + -2 + + div + + -1 + + + + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNeg10ByNeg3": + + + -10 + + div + + -3 + + + + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNeg10d1ByNeg3D1": + + + -10.1 + + div + + -3.1 + + + + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNeg2By1": + + + -2 + + div 1 + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNeg10By3": + + + -10 + + div 3 + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivideNeg10d1By3D1": + + + -10.1 + + div 3.1 + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide2ByNeg1": + + 2 div + + -1 + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10ByNeg3": + + 10 div + + -3 + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10d1ByNeg3D1": + + 10.1 div + + -3.1 + + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10By5D": + + 10 div 5.0 + + + + + + + + + + + + + + + + + define "Truncated Divide.TruncatedDivide10d1ByNeg3D1Quantity": + + + 10.1 'cm' + + div + + - + + 3.1 'cm' + + + + + + + + + + + + + + + + + + + diff --git a/cql/CqlComparisonOperatorsTest.cql b/cql/CqlComparisonOperatorsTest.cql new file mode 100644 index 0000000..604f7fc --- /dev/null +++ b/cql/CqlComparisonOperatorsTest.cql @@ -0,0 +1,378 @@ +library CqlComparisonOperatorsTest + +define "Between.BetweenIntTrue": 4 between 2 and 6 + +define "Equal.SimpleEqTrueTrue": true = true + +define "Equal.SimpleEqTrueFalse": true = false + +define "Equal.SimpleEqFalseFalse": false = false + +define "Equal.SimpleEqFalseTrue": false = true + +define "Equal.SimpleEqNullNull": null as String = null + +define "Equal.SimpleEqTrueNull": true = null + +define "Equal.SimpleEqNullTrue": null = true + +define "Equal.SimpleEqInt1Int1": 1 = 1 + +define "Equal.SimpleEqInt1Int2": 1 = 2 + +define "Equal.SimpleEqStringAStringA": 'a' = 'a' + +define "Equal.SimpleEqStringAStringB": 'a' = 'b' + +define "Equal.SimpleEqFloat1Float1": 1.0 = 1.0 + +define "Equal.SimpleEqFloat1Float2": 1.0 = 2.0 + +define "Equal.SimpleEqFloat1Int1": 1.0 = 1 + +define "Equal.SimpleEqFloat1Int2": 1.0 = 2 + +define "Equal.QuantityEqCM1CM1": 1'cm' = 1'cm' + +define "Equal.QuantityEqCM1M01": 1'cm' = 0.01'm' + +define "Equal.QuantityEqDiffPrecision": 2.0'cm' = 2.00'cm' + +define "Equal.TupleEqJohnJohn": Tuple { Id : 1, Name : 'John' } = Tuple { Id : 1, Name : 'John' } + +define "Equal.TupleEqJohnJane": Tuple { Id : 1, Name : 'John' } = Tuple { Id : 2, Name : 'Jane' } + +define "Equal.TupleEqJohn1John2": Tuple { Id : 1, Name : 'John' } = Tuple { Id : 2, Name : 'John' } + +define "Equal.TupleEqDateTimeTrue": Tuple { dateId: 1, Date: DateTime(2012, 10, 5, 0, 0, 0, 0) } = Tuple { dateId: 1, Date: DateTime(2012, 10, 5, 0, 0, 0, 0) } + +define "Equal.TupleEqDateTimeFalse": Tuple { dateId: 1, Date: DateTime(2012, 10, 5, 0, 0, 0, 0) } = Tuple { dateId: 1, Date: DateTime(2012, 10, 5, 5, 0, 0, 0) } + +define "Equal.TupleEqTimeTrue": Tuple { timeId: 55, TheTime: @T05:15:15.541 } = Tuple { timeId: 55, TheTime: @T05:15:15.541 } + +define "Equal.TupleEqTimeFalse": Tuple { timeId: 55, TheTime: @T05:15:15.541 } = Tuple { timeId: 55, TheTime: @T05:15:15.540 } + +define "Equal.DateTimeEqTodayToday": Today() = Today() + +define "Equal.DateTimeEqTodayYesterday": Today() = Today() - 1 days + +define "Equal.DateTimeEqJanJan": DateTime(2014, 1, 5, 5, 0, 0, 0, 0) = DateTime(2014, 1, 5, 5, 0, 0, 0, 0) + +define "Equal.DateTimeEqJanJuly": DateTime(2014, 1, 5, 5, 0, 0, 0, 0) = DateTime(2014, 7, 5, 5, 0, 0, 0, 0) + +define "Equal.DateTimeEqNull": DateTime(null) = DateTime(null) + +define "Equal.DateTimeUTC": @2014-01-25T14:30:14.559+01:00 = @2014-01-25T14:30:14.559+01:00 + +define "Equal.DateTimeDayCompare": @2022-02-22T00:00:00.000-05:00 same day as @2022-02-22T04:59:00.000Z + +define "Equal.TimeEq10A10A": @T10:00:00.000 = @T10:00:00.000 + +define "Equal.TimeEq10A10P": @T10:00:00.000 = @T22:00:00.000 + +define "Greater.GreaterZZ": 0 > 0 + +define "Greater.GreaterZ1": 0 > 1 + +define "Greater.GreaterZNeg1": 0 > -1 + +define "Greater.GreaterDecZZ": 0.0 > 0.0 + +define "Greater.GreaterDecZ1": 0.0 > 1.0 + +define "Greater.GreaterDecZNeg1": 0.0 > -1.0 + +define "Greater.GreaterDec1Int2": 1.0 > 2 + +define "Greater.GreaterCM0CM0": 0'cm' > 0'cm' + +define "Greater.GreaterCM0CM1": 0'cm' > 1'cm' + +define "Greater.GreaterCM0NegCM1": 0'cm' > -1'cm' + +define "Greater.GreaterM1CM1": 1'm' > 1'cm' + +define "Greater.GreaterM1CM10": 1'm' > 10'cm' + +define "Greater.GreaterAA": 'a' > 'a' + +define "Greater.GreaterAB": 'a' > 'b' + +define "Greater.GreaterBA": 'b' > 'a' + +define "Greater.GreaterAThanAA": 'a' > 'aa' + +define "Greater.GreaterAAThanA": 'aa' > 'a' + +define "Greater.GreaterJackJill": 'Jack' > 'Jill' + +define "Greater.DateTimeGreaterTrue": DateTime(2012, 2, 12) > DateTime(2012, 2, 10) + +define "Greater.DateTimeGreaterFalse": DateTime(2012, 2, 12) > DateTime(2012, 2, 13) + +define "Greater.TimeGreaterTrue": @T10:00:00.001 > @T10:00:00.000 + +define "Greater.TimeGreaterFalse": @T10:00:00.000 > @T10:00:00.001 + +define "Greater.UncertaintyGreaterNull": DateTime(2014) > DateTime(2014, 2, 15) + +define "Greater.UncertaintyGreaterTrue": DateTime(2015) > DateTime(2014, 2, 15) + +define "Greater.UncertaintyGreaterFalse": DateTime(2013) > DateTime(2014, 2, 15) + +define "Greater Or Equal.GreaterOrEqualZZ": 0 >= 0 + +define "Greater Or Equal.GreaterOrEqualZ1": 0 >= 1 + +define "Greater Or Equal.GreaterOrEqualZNeg1": 0 >= -1 + +define "Greater Or Equal.GreaterOrEqualDecZZ": 0.0 >= 0.0 + +define "Greater Or Equal.GreaterOrEqualDecZ1": 0.0 >= 1.0 + +define "Greater Or Equal.GreaterOrEqualDecZNeg1": 0.0 >= -1.0 + +define "Greater Or Equal.GreaterOrEqualDec1Int2": 1.0 >= 2 + +define "Greater Or Equal.GreaterOrEqualCM0CM0": 0'cm' >= 0'cm' + +define "Greater Or Equal.GreaterOrEqualCM0CM1": 0'cm' >= 1'cm' + +define "Greater Or Equal.GreaterOrEqualCM0NegCM1": 0'cm' >= -1'cm' + +define "Greater Or Equal.GreaterOrEqualM1CM1": 1'm' >= 1'cm' + +define "Greater Or Equal.GreaterOrEqualM1CM10": 1'm' >= 10'cm' + +define "Greater Or Equal.GreaterOrEqualAA": 'a' >= 'a' + +define "Greater Or Equal.GreaterOrEqualAB": 'a' >= 'b' + +define "Greater Or Equal.GreaterOrEqualBA": 'b' >= 'a' + +define "Greater Or Equal.GreaterOrEqualAThanAA": 'a' >= 'aa' + +define "Greater Or Equal.GreaterOrEqualAAThanA": 'aa' >= 'a' + +define "Greater Or Equal.GreaterOrEqualJackJill": 'Jack' >= 'Jill' + +define "Greater Or Equal.DateTimeGreaterEqTrue": DateTime(2012, 2, 12, 0, 0, 0, 0) >= DateTime(2012, 2, 10, 0, 0, 0, 0) + +define "Greater Or Equal.DateTimeGreaterEqTrue2": DateTime(2012, 2, 12, 0, 0, 0, 0) >= DateTime(2012, 2, 12, 0, 0, 0, 0) + +define "Greater Or Equal.DateTimeGreaterEqFalse": DateTime(2012, 2, 12, 0, 0, 0, 0) >= DateTime(2012, 2, 13, 0, 0, 0, 0) + +define "Greater Or Equal.TimeGreaterEqTrue": @T10:00:00.001 >= @T10:00:00.000 + +define "Greater Or Equal.TimeGreaterEqTrue2": @T10:00:00.000 >= @T10:00:00.000 + +define "Greater Or Equal.TimeGreaterEqFalse": @T10:00:00.000 >= @T10:00:00.001 + +define "Greater Or Equal.UncertaintyGreaterEqualNull": DateTime(2014) >= DateTime(2014, 2, 15) + +define "Greater Or Equal.UncertaintyGreaterEqualTrue": DateTime(2015) >= DateTime(2014, 2, 15) + +define "Greater Or Equal.UncertaintyGreaterEqualFalse": DateTime(2013) >= DateTime(2014, 2, 15) + +define "Less.LessZZ": 0 < 0 + +define "Less.LessZ1": 0 < 1 + +define "Less.LessZNeg1": 0 < -1 + +define "Less.LessDecZZ": 0.0 < 0.0 + +define "Less.LessDecZ1": 0.0 < 1.0 + +define "Less.LessDecZNeg1": 0.0 < -1.0 + +define "Less.LessDec1Int2": 1.0 < 2 + +define "Less.LessCM0CM0": 0'cm' < 0'cm' + +define "Less.LessCM0CM1": 0'cm' < 1'cm' + +define "Less.LessCM0NegCM1": 0'cm' < -1'cm' + +define "Less.LessM1CM1": 1'm' < 1'cm' + +define "Less.LessM1CM10": 1'm' < 10'cm' + +define "Less.LessAA": 'a' < 'a' + +define "Less.LessAB": 'a' < 'b' + +define "Less.LessBA": 'b' < 'a' + +define "Less.LessAThanAA": 'a' < 'aa' + +define "Less.LessAAThanA": 'aa' < 'a' + +define "Less.LessJackJill": 'Jack' < 'Jill' + +define "Less.DateTimeLessTrue": DateTime(2012, 2, 9) < DateTime(2012, 2, 10) + +define "Less.DateTimeLessFalse": DateTime(2012, 2, 14) < DateTime(2012, 2, 13) + +define "Less.TimeLessTrue": @T10:00:00.001 < @T10:00:00.002 + +define "Less.TimeLessFalse": @T10:10:00.000 < @T10:00:00.001 + +define "Less.UncertaintyLessNull": DateTime(2014) < DateTime(2014, 2, 15) + +define "Less.UncertaintyLessTrue": DateTime(2013) < DateTime(2014, 2, 15) + +define "Less.UncertaintyLessFalse": DateTime(2015) < DateTime(2014, 2, 15) + +define "Less Or Equal.LessOrEqualZZ": 0 <= 0 + +define "Less Or Equal.LessOrEqualZ1": 0 <= 1 + +define "Less Or Equal.LessOrEqualZNeg1": 0 <= -1 + +define "Less Or Equal.LessOrEqualDecZZ": 0.0 <= 0.0 + +define "Less Or Equal.LessOrEqualDecZ1": 0.0 <= 1.0 + +define "Less Or Equal.LessOrEqualDecZNeg1": 0.0 <= -1.0 + +define "Less Or Equal.LessOrEqualDec1Int2": 1.0 <= 2 + +define "Less Or Equal.LessOrEqualCM0CM0": 0'cm' <= 0'cm' + +define "Less Or Equal.LessOrEqualCM0CM1": 0'cm' <= 1'cm' + +define "Less Or Equal.LessOrEqualCM0NegCM1": 0'cm' <= -1'cm' + +define "Less Or Equal.LessOrEqualM1CM1": 1'm' <= 1'cm' + +define "Less Or Equal.LessOrEqualM1CM10": 1'm' <= 10'cm' + +define "Less Or Equal.LessOrEqualAA": 'a' <= 'a' + +define "Less Or Equal.LessOrEqualAB": 'a' <= 'b' + +define "Less Or Equal.LessOrEqualBA": 'b' <= 'a' + +define "Less Or Equal.LessOrEqualAThanAA": 'a' <= 'aa' + +define "Less Or Equal.LessOrEqualAAThanA": 'aa' <= 'a' + +define "Less Or Equal.LessOrEqualJackJill": 'Jack' <= 'Jill' + +define "Less Or Equal.DateTimeLessEqTrue": DateTime(2012, 2, 9, 0, 0, 0, 0) <= DateTime(2012, 2, 10, 0, 0, 0, 0) + +define "Less Or Equal.DateTimeLessEqTrue2": DateTime(2012, 2, 12, 0, 0, 0, 0) <= DateTime(2012, 2, 12, 0, 0, 0, 0) + +define "Less Or Equal.DateTimeLessEqFalse": DateTime(2012, 2, 12, 1, 0, 0, 0) <= DateTime(2012, 2, 12, 0, 0, 0, 0) + +define "Less Or Equal.TimeLessEqTrue": @T10:00:00.001 <= @T10:00:00.002 + +define "Less Or Equal.TimeLessEqTrue2": @T10:00:00.000 <= @T10:00:00.000 + +define "Less Or Equal.TimeLessEqFalse": @T10:00:00.002 <= @T10:00:00.001 + +define "Less Or Equal.UncertaintyLessEqualNull": DateTime(2014) <= DateTime(2014, 2, 15) + +define "Less Or Equal.UncertaintyLessEqualTrue": DateTime(2013) <= DateTime(2014, 2, 15) + +define "Less Or Equal.UncertaintyLessEqualFalse": DateTime(2015) <= DateTime(2014, 2, 15) + +define "Equivalent.EquivTrueTrue": true ~ true + +define "Equivalent.EquivTrueFalse": true ~ false + +define "Equivalent.EquivFalseFalse": false ~ false + +define "Equivalent.EquivFalseTrue": false ~ true + +define "Equivalent.EquivNullNull": null as String ~ null + +define "Equivalent.EquivTrueNull": true ~ null + +define "Equivalent.EquivNullTrue": null ~ true + +define "Equivalent.EquivInt1Int1": 1 ~ 1 + +define "Equivalent.EquivInt1Int2": 1 ~ 2 + +define "Equivalent.EquivStringAStringA": 'a' ~ 'a' + +define "Equivalent.EquivStringAStringB": 'a' ~ 'b' + +define "Equivalent.EquivFloat1Float1": 1.0 ~ 1.0 + +define "Equivalent.EquivFloat1Float2": 1.0 ~ 2.0 + +define "Equivalent.EquivFloat1Int1": 1.0 ~ 1 + +define "Equivalent.EquivFloat1Int2": 1.0 ~ 2 + +define "Equivalent.EquivEqCM1CM1": 1'cm' ~ 1'cm' + +define "Equivalent.EquivEqCM1M01": 1'cm' ~ 0.01'm' + +define "Equivalent.EquivTupleJohnJohn": Tuple { Id : 1, Name : 'John' } ~ Tuple { Id : 1, Name : 'John' } + +define "Equivalent.EquivTupleJohnJohnWithNulls": Tuple { Id : 1, Name : 'John', Position: null } ~ Tuple { Id : 1, Name : 'John', Position: null } + +define "Equivalent.EquivTupleJohnJane": Tuple { Id : 1, Name : 'John' } ~ Tuple { Id : 2, Name : 'Jane' } + +define "Equivalent.EquivTupleJohn1John2": Tuple { Id : 1, Name : 'John' } ~ Tuple { Id : 2, Name : 'John' } + +define "Equivalent.EquivDateTimeTodayToday": Today() ~ Today() + +define "Equivalent.EquivDateTimeTodayYesterday": Today() ~ Today() - 1 days + +define "Equivalent.EquivTime10A10A": @T10:00:00.000 ~ @T10:00:00.000 + +define "Equivalent.EquivTime10A10P": @T10:00:00.000 ~ @T22:00:00.000 + +define "Not Equal.SimpleNotEqTrueTrue": true != true + +define "Not Equal.SimpleNotEqTrueFalse": true != false + +define "Not Equal.SimpleNotEqFalseFalse": false != false + +define "Not Equal.SimpleNotEqFalseTrue": false != true + +define "Not Equal.SimpleNotEqNullNull": null as String != null + +define "Not Equal.SimpleNotEqTrueNull": true != null + +define "Not Equal.SimpleNotEqNullTrue": null != true + +define "Not Equal.SimpleNotEqInt1Int1": 1 != 1 + +define "Not Equal.SimpleNotEqInt1Int2": 1 != 2 + +define "Not Equal.SimpleNotEqStringAStringA": 'a' != 'a' + +define "Not Equal.SimpleNotEqStringAStringB": 'a' != 'b' + +define "Not Equal.SimpleNotEqFloat1Float1": 1.0 != 1.0 + +define "Not Equal.SimpleNotEqFloat1Float2": 1.0 != 2.0 + +define "Not Equal.SimpleNotEqFloat1Int1": 1.0 != 1 + +define "Not Equal.SimpleNotEqFloat1Int2": 1.0 != 2 + +define "Not Equal.QuantityNotEqCM1CM1": 1'cm' != 1'cm' + +define "Not Equal.QuantityNotEqCM1M01": 1'cm' != 0.01'm' + +define "Not Equal.TupleNotEqJohnJohn": Tuple{ Id : 1, Name : 'John' } != Tuple{ Id : 1, Name : 'John' } + +define "Not Equal.TupleNotEqJohnJane": Tuple{ Id : 1, Name : 'John' } != Tuple{ Id : 2, Name : 'Jane' } + +define "Not Equal.TupleNotEqJohn1John2": Tuple{ Id : 1, Name : 'John' } != Tuple{ Id : 2, Name : 'John' } + +define "Not Equal.DateTimeNotEqTodayToday": Today() != Today() + +define "Not Equal.DateTimeNotEqTodayYesterday": Today() != Today() - 1 days + +define "Not Equal.TimeNotEq10A10A": @T10:00:00.000 != @T10:00:00.000 + +define "Not Equal.TimeNotEq10A10P": @T10:00:00.000 != @T22:00:00.000 + diff --git a/cql/CqlComparisonOperatorsTest.json b/cql/CqlComparisonOperatorsTest.json new file mode 100644 index 0000000..25a0d62 --- /dev/null +++ b/cql/CqlComparisonOperatorsTest.json @@ -0,0 +1,14654 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "2345", + "s" : [ { + "value" : [ "","library CqlComparisonOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlComparisonOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:50", + "name" : "Between.BetweenIntTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"Between.BetweenIntTrue\"",": " ] + }, { + "r" : "211", + "s" : [ { + "r" : "208", + "value" : [ "4"," between ","2"," and ","6" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "211", + "locator" : "3:34-3:50", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "212", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "214", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "215", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "208", + "locator" : "3:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "209", + "locator" : "3:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "213", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "216", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "208", + "locator" : "3:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "210", + "locator" : "3:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "219", + "locator" : "5:1-5:44", + "name" : "Equal.SimpleEqTrueTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqTrueTrue\"",": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "221", + "value" : [ "true"," ","="," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "220", + "locator" : "5:34-5:44", + "type" : "Equal", + "signature" : [ { + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "224", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "221", + "locator" : "5:34-5:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "222", + "locator" : "5:41-5:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "226", + "locator" : "7:1-7:46", + "name" : "Equal.SimpleEqTrueFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "226", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqTrueFalse\"",": " ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "value" : [ "true"," ","="," ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "227", + "locator" : "7:35-7:46", + "type" : "Equal", + "signature" : [ { + "localId" : "230", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "231", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "228", + "locator" : "7:35-7:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "229", + "locator" : "7:42-7:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "233", + "locator" : "9:1-9:48", + "name" : "Equal.SimpleEqFalseFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqFalseFalse\"",": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "false"," ","="," ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "234", + "locator" : "9:36-9:48", + "type" : "Equal", + "signature" : [ { + "localId" : "237", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "238", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "235", + "locator" : "9:36-9:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "236", + "locator" : "9:44-9:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "240", + "locator" : "11:1-11:46", + "name" : "Equal.SimpleEqFalseTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "240", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqFalseTrue\"",": " ] + }, { + "r" : "241", + "s" : [ { + "r" : "242", + "value" : [ "false"," ","="," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "241", + "locator" : "11:35-11:46", + "type" : "Equal", + "signature" : [ { + "localId" : "244", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "245", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "242", + "locator" : "11:35-11:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "243", + "locator" : "11:43-11:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "247", + "locator" : "13:1-13:54", + "name" : "Equal.SimpleEqNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqNullNull\"",": " ] + }, { + "r" : "248", + "s" : [ { + "r" : "249", + "s" : [ { + "r" : "250", + "value" : [ "null"," as " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "r" : "252", + "value" : [ " ","="," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "248", + "locator" : "13:34-13:54", + "type" : "Equal", + "signature" : [ { + "localId" : "254", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "255", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "249", + "locator" : "13:34-13:47", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "250", + "locator" : "13:34-13:37", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "251", + "locator" : "13:42-13:47", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "253", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "252", + "locator" : "13:51-13:54", + "type" : "Null" + } + } ] + } + }, { + "localId" : "257", + "locator" : "15:1-15:44", + "name" : "Equal.SimpleEqTrueNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqTrueNull\"",": " ] + }, { + "r" : "258", + "s" : [ { + "r" : "259", + "value" : [ "true"," ","="," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "258", + "locator" : "15:34-15:44", + "type" : "Equal", + "signature" : [ { + "localId" : "262", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "263", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "259", + "locator" : "15:34-15:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "261", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "260", + "locator" : "15:41-15:44", + "type" : "Null" + } + } ] + } + }, { + "localId" : "265", + "locator" : "17:1-17:44", + "name" : "Equal.SimpleEqNullTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqNullTrue\"",": " ] + }, { + "r" : "266", + "s" : [ { + "r" : "267", + "value" : [ "null"," ","="," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "266", + "locator" : "17:34-17:44", + "type" : "Equal", + "signature" : [ { + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "269", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "267", + "locator" : "17:34-17:37", + "type" : "Null" + } + }, { + "localId" : "268", + "locator" : "17:41-17:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "273", + "locator" : "19:1-19:38", + "name" : "Equal.SimpleEqInt1Int1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqInt1Int1\"",": " ] + }, { + "r" : "274", + "s" : [ { + "r" : "275", + "value" : [ "1"," ","="," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "274", + "locator" : "19:34-19:38", + "type" : "Equal", + "signature" : [ { + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "275", + "locator" : "19:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "276", + "locator" : "19:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "280", + "locator" : "21:1-21:38", + "name" : "Equal.SimpleEqInt1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "280", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqInt1Int2\"",": " ] + }, { + "r" : "281", + "s" : [ { + "r" : "282", + "value" : [ "1"," ","="," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "281", + "locator" : "21:34-21:38", + "type" : "Equal", + "signature" : [ { + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "285", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "282", + "locator" : "21:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "283", + "locator" : "21:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "287", + "locator" : "23:1-23:48", + "name" : "Equal.SimpleEqStringAStringA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "287", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqStringAStringA\"",": " ] + }, { + "r" : "288", + "s" : [ { + "r" : "289", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "290", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "288", + "locator" : "23:40-23:48", + "type" : "Equal", + "signature" : [ { + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "292", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "289", + "locator" : "23:40-23:42", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "290", + "locator" : "23:46-23:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "294", + "locator" : "25:1-25:48", + "name" : "Equal.SimpleEqStringAStringB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "294", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqStringAStringB\"",": " ] + }, { + "r" : "295", + "s" : [ { + "r" : "296", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "295", + "locator" : "25:40-25:48", + "type" : "Equal", + "signature" : [ { + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "296", + "locator" : "25:40-25:42", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "297", + "locator" : "25:46-25:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "301", + "locator" : "27:1-27:46", + "name" : "Equal.SimpleEqFloat1Float1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "301", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqFloat1Float1\"",": " ] + }, { + "r" : "302", + "s" : [ { + "r" : "303", + "value" : [ "1.0"," ","="," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "302", + "locator" : "27:38-27:46", + "type" : "Equal", + "signature" : [ { + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "306", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "303", + "locator" : "27:38-27:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "304", + "locator" : "27:44-27:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "308", + "locator" : "29:1-29:46", + "name" : "Equal.SimpleEqFloat1Float2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "308", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqFloat1Float2\"",": " ] + }, { + "r" : "309", + "s" : [ { + "r" : "310", + "value" : [ "1.0"," ","="," ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "309", + "locator" : "29:38-29:46", + "type" : "Equal", + "signature" : [ { + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "310", + "locator" : "29:38-29:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "311", + "locator" : "29:44-29:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "315", + "locator" : "31:1-31:42", + "name" : "Equal.SimpleEqFloat1Int1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqFloat1Int1\"",": " ] + }, { + "r" : "316", + "s" : [ { + "r" : "317", + "value" : [ "1.0"," ","="," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "316", + "locator" : "31:36-31:42", + "type" : "Equal", + "signature" : [ { + "localId" : "322", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "323", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "317", + "locator" : "31:36-31:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "320", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "321", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "318", + "locator" : "31:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "325", + "locator" : "33:1-33:42", + "name" : "Equal.SimpleEqFloat1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "325", + "s" : [ { + "value" : [ "","define ","\"Equal.SimpleEqFloat1Int2\"",": " ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "value" : [ "1.0"," ","="," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "326", + "locator" : "33:36-33:42", + "type" : "Equal", + "signature" : [ { + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "333", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "327", + "locator" : "33:36-33:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "330", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "328", + "locator" : "33:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "335", + "locator" : "35:1-35:46", + "name" : "Equal.QuantityEqCM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "335", + "s" : [ { + "value" : [ "","define ","\"Equal.QuantityEqCM1CM1\"",": " ] + }, { + "r" : "336", + "s" : [ { + "r" : "337", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "338", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "336", + "locator" : "35:34-35:46", + "type" : "Equal", + "signature" : [ { + "localId" : "339", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "340", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "337", + "locator" : "35:34-35:38", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "338", + "locator" : "35:42-35:46", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "342", + "locator" : "37:1-37:48", + "name" : "Equal.QuantityEqCM1M01", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "342", + "s" : [ { + "value" : [ "","define ","\"Equal.QuantityEqCM1M01\"",": " ] + }, { + "r" : "343", + "s" : [ { + "r" : "344", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "0.01","'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "343", + "locator" : "37:34-37:48", + "type" : "Equal", + "signature" : [ { + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "347", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "344", + "locator" : "37:34-37:38", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "345", + "locator" : "37:42-37:48", + "value" : 0.01, + "unit" : "m", + "type" : "Quantity" + } ] + } + }, { + "localId" : "349", + "locator" : "39:1-39:58", + "name" : "Equal.QuantityEqDiffPrecision", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "349", + "s" : [ { + "value" : [ "","define ","\"Equal.QuantityEqDiffPrecision\"",": " ] + }, { + "r" : "350", + "s" : [ { + "r" : "351", + "s" : [ { + "value" : [ "2.0","'cm'" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "2.00","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "350", + "locator" : "39:41-39:58", + "type" : "Equal", + "signature" : [ { + "localId" : "353", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "354", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "351", + "locator" : "39:41-39:47", + "value" : 2.0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "352", + "locator" : "39:51-39:58", + "value" : 2.00, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "356", + "locator" : "41:1-41:97", + "name" : "Equal.TupleEqJohnJohn", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "356", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqJohnJohn\"",": " ] + }, { + "r" : "357", + "s" : [ { + "r" : "358", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "359", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "362", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "363", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "357", + "locator" : "41:33-41:97", + "type" : "Equal", + "signature" : [ { + "localId" : "364", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "365", + "name" : "Id", + "elementType" : { + "localId" : "366", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "367", + "name" : "Name", + "elementType" : { + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "369", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "370", + "name" : "Id", + "elementType" : { + "localId" : "371", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "372", + "name" : "Name", + "elementType" : { + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "358", + "locator" : "41:33-41:63", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "359", + "locator" : "41:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "360", + "locator" : "41:56-41:61", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "361", + "locator" : "41:67-41:97", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "362", + "locator" : "41:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "363", + "locator" : "41:90-41:95", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "375", + "locator" : "43:1-43:97", + "name" : "Equal.TupleEqJohnJane", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "375", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqJohnJane\"",": " ] + }, { + "r" : "376", + "s" : [ { + "r" : "377", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "378", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "379", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "381", + "value" : [ "Id"," : ","2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "382", + "s" : [ { + "value" : [ "'Jane'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "376", + "locator" : "43:33-43:97", + "type" : "Equal", + "signature" : [ { + "localId" : "383", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "384", + "name" : "Id", + "elementType" : { + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "386", + "name" : "Name", + "elementType" : { + "localId" : "387", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "388", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "389", + "name" : "Id", + "elementType" : { + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "391", + "name" : "Name", + "elementType" : { + "localId" : "392", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "377", + "locator" : "43:33-43:63", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "378", + "locator" : "43:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "379", + "locator" : "43:56-43:61", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "380", + "locator" : "43:67-43:97", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "381", + "locator" : "43:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "382", + "locator" : "43:90-43:95", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jane", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "394", + "locator" : "45:1-45:99", + "name" : "Equal.TupleEqJohn1John2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqJohn1John2\"",": " ] + }, { + "r" : "395", + "s" : [ { + "r" : "396", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "397", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "398", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "399", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "400", + "value" : [ "Id"," : ","2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "401", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "395", + "locator" : "45:35-45:99", + "type" : "Equal", + "signature" : [ { + "localId" : "402", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "403", + "name" : "Id", + "elementType" : { + "localId" : "404", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "405", + "name" : "Name", + "elementType" : { + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "407", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "408", + "name" : "Id", + "elementType" : { + "localId" : "409", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "410", + "name" : "Name", + "elementType" : { + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "396", + "locator" : "45:35-45:65", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "397", + "locator" : "45:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "398", + "locator" : "45:58-45:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "399", + "locator" : "45:69-45:99", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "400", + "locator" : "45:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "401", + "locator" : "45:92-45:97", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "413", + "locator" : "47:1-47:159", + "name" : "Equal.TupleEqDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "413", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqDateTimeTrue\"",": " ] + }, { + "r" : "414", + "s" : [ { + "r" : "415", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "416", + "value" : [ "dateId",": ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Date",": " ] + }, { + "r" : "426", + "s" : [ { + "r" : "417", + "value" : [ "DateTime","(","2012",", ","10",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "427", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "428", + "value" : [ "dateId",": ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Date",": " ] + }, { + "r" : "438", + "s" : [ { + "r" : "429", + "value" : [ "DateTime","(","2012",", ","10",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "414", + "locator" : "47:37-47:159", + "type" : "Equal", + "signature" : [ { + "localId" : "439", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "440", + "name" : "dateId", + "elementType" : { + "localId" : "441", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "442", + "name" : "Date", + "elementType" : { + "localId" : "443", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "444", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "445", + "name" : "dateId", + "elementType" : { + "localId" : "446", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "447", + "name" : "Date", + "elementType" : { + "localId" : "448", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "415", + "locator" : "47:37-47:96", + "type" : "Tuple", + "element" : [ { + "name" : "dateId", + "value" : { + "localId" : "416", + "locator" : "47:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Date", + "value" : { + "localId" : "426", + "locator" : "47:62-47:94", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "417", + "locator" : "47:71-47:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "418", + "locator" : "47:77-47:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "419", + "locator" : "47:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "420", + "locator" : "47:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "421", + "locator" : "47:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "422", + "locator" : "47:90", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "423", + "locator" : "47:93", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + }, { + "localId" : "427", + "locator" : "47:100-47:159", + "type" : "Tuple", + "element" : [ { + "name" : "dateId", + "value" : { + "localId" : "428", + "locator" : "47:116", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Date", + "value" : { + "localId" : "438", + "locator" : "47:125-47:157", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "429", + "locator" : "47:134-47:137", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "430", + "locator" : "47:140-47:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "431", + "locator" : "47:144", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "432", + "locator" : "47:147", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "433", + "locator" : "47:150", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "434", + "locator" : "47:153", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "435", + "locator" : "47:156", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + } ] + } + }, { + "localId" : "450", + "locator" : "49:1-49:160", + "name" : "Equal.TupleEqDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "450", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqDateTimeFalse\"",": " ] + }, { + "r" : "451", + "s" : [ { + "r" : "452", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "453", + "value" : [ "dateId",": ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Date",": " ] + }, { + "r" : "463", + "s" : [ { + "r" : "454", + "value" : [ "DateTime","(","2012",", ","10",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "464", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "465", + "value" : [ "dateId",": ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Date",": " ] + }, { + "r" : "475", + "s" : [ { + "r" : "466", + "value" : [ "DateTime","(","2012",", ","10",", ","5",", ","5",", ","0",", ","0",", ","0",")" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "451", + "locator" : "49:38-49:160", + "type" : "Equal", + "signature" : [ { + "localId" : "476", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "477", + "name" : "dateId", + "elementType" : { + "localId" : "478", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "479", + "name" : "Date", + "elementType" : { + "localId" : "480", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "481", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "482", + "name" : "dateId", + "elementType" : { + "localId" : "483", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "484", + "name" : "Date", + "elementType" : { + "localId" : "485", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "452", + "locator" : "49:38-49:97", + "type" : "Tuple", + "element" : [ { + "name" : "dateId", + "value" : { + "localId" : "453", + "locator" : "49:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Date", + "value" : { + "localId" : "463", + "locator" : "49:63-49:95", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "454", + "locator" : "49:72-49:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "455", + "locator" : "49:78-49:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "456", + "locator" : "49:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "457", + "locator" : "49:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "458", + "locator" : "49:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "459", + "locator" : "49:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "460", + "locator" : "49:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + }, { + "localId" : "464", + "locator" : "49:101-49:160", + "type" : "Tuple", + "element" : [ { + "name" : "dateId", + "value" : { + "localId" : "465", + "locator" : "49:117", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Date", + "value" : { + "localId" : "475", + "locator" : "49:126-49:158", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "466", + "locator" : "49:135-49:138", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "467", + "locator" : "49:141-49:142", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "468", + "locator" : "49:145", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "469", + "locator" : "49:148", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "470", + "locator" : "49:151", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "471", + "locator" : "49:154", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "472", + "locator" : "49:157", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + } ] + } + }, { + "localId" : "487", + "locator" : "51:1-51:125", + "name" : "Equal.TupleEqTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "487", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqTimeTrue\"",": " ] + }, { + "r" : "488", + "s" : [ { + "r" : "489", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "490", + "value" : [ "timeId",": ","55" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "491", + "value" : [ "TheTime",": ","@T05:15:15.541" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "496", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "497", + "value" : [ "timeId",": ","55" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "498", + "value" : [ "TheTime",": ","@T05:15:15.541" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "488", + "locator" : "51:33-51:125", + "type" : "Equal", + "signature" : [ { + "localId" : "503", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "504", + "name" : "timeId", + "elementType" : { + "localId" : "505", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "506", + "name" : "TheTime", + "elementType" : { + "localId" : "507", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "508", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "509", + "name" : "timeId", + "elementType" : { + "localId" : "510", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "511", + "name" : "TheTime", + "elementType" : { + "localId" : "512", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "489", + "locator" : "51:33-51:77", + "type" : "Tuple", + "element" : [ { + "name" : "timeId", + "value" : { + "localId" : "490", + "locator" : "51:49-51:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "type" : "Literal" + } + }, { + "name" : "TheTime", + "value" : { + "localId" : "491", + "locator" : "51:62-51:75", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "492", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "493", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "second" : { + "localId" : "494", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "495", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "541", + "type" : "Literal" + } + } + } ] + }, { + "localId" : "496", + "locator" : "51:81-51:125", + "type" : "Tuple", + "element" : [ { + "name" : "timeId", + "value" : { + "localId" : "497", + "locator" : "51:97-51:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "type" : "Literal" + } + }, { + "name" : "TheTime", + "value" : { + "localId" : "498", + "locator" : "51:110-51:123", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "499", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "500", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "second" : { + "localId" : "501", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "502", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "541", + "type" : "Literal" + } + } + } ] + } ] + } + }, { + "localId" : "514", + "locator" : "53:1-53:126", + "name" : "Equal.TupleEqTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "514", + "s" : [ { + "value" : [ "","define ","\"Equal.TupleEqTimeFalse\"",": " ] + }, { + "r" : "515", + "s" : [ { + "r" : "516", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "517", + "value" : [ "timeId",": ","55" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "518", + "value" : [ "TheTime",": ","@T05:15:15.541" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "523", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "524", + "value" : [ "timeId",": ","55" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "525", + "value" : [ "TheTime",": ","@T05:15:15.540" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "515", + "locator" : "53:34-53:126", + "type" : "Equal", + "signature" : [ { + "localId" : "530", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "531", + "name" : "timeId", + "elementType" : { + "localId" : "532", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "533", + "name" : "TheTime", + "elementType" : { + "localId" : "534", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "535", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "536", + "name" : "timeId", + "elementType" : { + "localId" : "537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "538", + "name" : "TheTime", + "elementType" : { + "localId" : "539", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "516", + "locator" : "53:34-53:78", + "type" : "Tuple", + "element" : [ { + "name" : "timeId", + "value" : { + "localId" : "517", + "locator" : "53:50-53:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "type" : "Literal" + } + }, { + "name" : "TheTime", + "value" : { + "localId" : "518", + "locator" : "53:63-53:76", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "519", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "520", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "second" : { + "localId" : "521", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "522", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "541", + "type" : "Literal" + } + } + } ] + }, { + "localId" : "523", + "locator" : "53:82-53:126", + "type" : "Tuple", + "element" : [ { + "name" : "timeId", + "value" : { + "localId" : "524", + "locator" : "53:98-53:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "55", + "type" : "Literal" + } + }, { + "name" : "TheTime", + "value" : { + "localId" : "525", + "locator" : "53:111-53:124", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "526", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "527", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "second" : { + "localId" : "528", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "529", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "540", + "type" : "Literal" + } + } + } ] + } ] + } + }, { + "localId" : "541", + "locator" : "55:1-55:54", + "name" : "Equal.DateTimeEqTodayToday", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "541", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeEqTodayToday\"",": " ] + }, { + "r" : "542", + "s" : [ { + "r" : "545", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "548", + "s" : [ { + "value" : [ "Today","()" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "542", + "locator" : "55:38-55:54", + "type" : "Equal", + "signature" : [ { + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "550", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "545", + "locator" : "55:38-55:44", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "548", + "locator" : "55:48-55:54", + "type" : "Today", + "signature" : [ ] + } ] + } + }, { + "localId" : "552", + "locator" : "57:1-57:67", + "name" : "Equal.DateTimeEqTodayYesterday", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeEqTodayYesterday\"",": " ] + }, { + "r" : "553", + "s" : [ { + "r" : "556", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "557", + "s" : [ { + "r" : "560", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "561", + "s" : [ { + "value" : [ "1 ","days" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "553", + "locator" : "57:42-57:67", + "type" : "Equal", + "signature" : [ { + "localId" : "564", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "565", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "556", + "locator" : "57:42-57:48", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "557", + "locator" : "57:52-57:67", + "type" : "Subtract", + "signature" : [ { + "localId" : "562", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "563", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "560", + "locator" : "57:52-57:58", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "561", + "locator" : "57:62-57:67", + "value" : 1, + "unit" : "days", + "type" : "Quantity" + } ] + } ] + } + }, { + "localId" : "567", + "locator" : "59:1-59:106", + "name" : "Equal.DateTimeEqJanJan", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "567", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeEqJanJan\"",": " ] + }, { + "r" : "568", + "s" : [ { + "r" : "582", + "s" : [ { + "r" : "569", + "value" : [ "DateTime","(","2014",", ","1",", ","5",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "599", + "s" : [ { + "r" : "586", + "value" : [ "DateTime","(","2014",", ","1",", ","5",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "568", + "locator" : "59:34-59:106", + "type" : "Equal", + "signature" : [ { + "localId" : "603", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "604", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "582", + "locator" : "59:34-59:68", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "569", + "locator" : "59:43-59:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "570", + "locator" : "59:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "571", + "locator" : "59:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "572", + "locator" : "59:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "573", + "locator" : "59:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "574", + "locator" : "59:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "575", + "locator" : "59:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "584", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "585", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "576", + "locator" : "59:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "599", + "locator" : "59:72-59:106", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "586", + "locator" : "59:81-59:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "587", + "locator" : "59:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "588", + "locator" : "59:90", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "589", + "locator" : "59:93", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "590", + "locator" : "59:96", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "591", + "locator" : "59:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "592", + "locator" : "59:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "601", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "602", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "593", + "locator" : "59:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + } + }, { + "localId" : "606", + "locator" : "61:1-61:107", + "name" : "Equal.DateTimeEqJanJuly", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "606", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeEqJanJuly\"",": " ] + }, { + "r" : "607", + "s" : [ { + "r" : "621", + "s" : [ { + "r" : "608", + "value" : [ "DateTime","(","2014",", ","1",", ","5",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "638", + "s" : [ { + "r" : "625", + "value" : [ "DateTime","(","2014",", ","7",", ","5",", ","5",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "607", + "locator" : "61:35-61:107", + "type" : "Equal", + "signature" : [ { + "localId" : "642", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "643", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "621", + "locator" : "61:35-61:69", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "608", + "locator" : "61:44-61:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "609", + "locator" : "61:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "610", + "locator" : "61:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "611", + "locator" : "61:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "612", + "locator" : "61:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "613", + "locator" : "61:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "614", + "locator" : "61:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "623", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "624", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "615", + "locator" : "61:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "638", + "locator" : "61:73-61:107", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "625", + "locator" : "61:82-61:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "626", + "locator" : "61:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "type" : "Literal" + }, + "day" : { + "localId" : "627", + "locator" : "61:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "628", + "locator" : "61:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "629", + "locator" : "61:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "630", + "locator" : "61:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "631", + "locator" : "61:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "640", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "641", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "632", + "locator" : "61:106", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + } + }, { + "localId" : "645", + "locator" : "63:1-63:62", + "name" : "Equal.DateTimeEqNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "645", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeEqNull\"",": " ] + }, { + "r" : "646", + "s" : [ { + "r" : "651", + "s" : [ { + "r" : "647", + "value" : [ "DateTime","(","null",")" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "657", + "s" : [ { + "r" : "653", + "value" : [ "DateTime","(","null",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "646", + "locator" : "63:32-63:62", + "type" : "Equal", + "signature" : [ { + "localId" : "659", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "660", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "651", + "locator" : "63:32-63:45", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "652", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "647", + "locator" : "63:41-63:44", + "type" : "Null" + } + } + }, { + "localId" : "657", + "locator" : "63:49-63:62", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "658", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "653", + "locator" : "63:58-63:61", + "type" : "Null" + } + } + } ] + } + }, { + "localId" : "662", + "locator" : "65:1-65:91", + "name" : "Equal.DateTimeUTC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "662", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeUTC\"",": " ] + }, { + "r" : "663", + "s" : [ { + "r" : "664", + "value" : [ "@2014-01-25T14:30:14.559+01:00"," ","="," ","@2014-01-25T14:30:14.559+01:00" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "663", + "locator" : "65:29-65:91", + "type" : "Equal", + "signature" : [ { + "localId" : "682", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "664", + "locator" : "65:29-65:58", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "665", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "666", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "667", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "hour" : { + "localId" : "668", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + }, + "minute" : { + "localId" : "669", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + }, + "second" : { + "localId" : "670", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "671", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "559", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "672", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + }, { + "localId" : "673", + "locator" : "65:62-65:91", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "674", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "675", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "676", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "hour" : { + "localId" : "677", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + }, + "minute" : { + "localId" : "678", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + }, + "second" : { + "localId" : "679", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "680", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "559", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "681", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "685", + "locator" : "67:1-67:103", + "name" : "Equal.DateTimeDayCompare", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "685", + "s" : [ { + "value" : [ "","define ","\"Equal.DateTimeDayCompare\"",": " ] + }, { + "r" : "704", + "s" : [ { + "r" : "686", + "value" : [ "@2022-02-22T00:00:00.000-05:00"," ","same day as"," ","@2022-02-22T04:59:00.000Z" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "704", + "locator" : "67:36-67:103", + "precision" : "Day", + "type" : "SameAs", + "signature" : [ { + "localId" : "705", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "706", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "686", + "locator" : "67:36-67:65", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "687", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2022", + "type" : "Literal" + }, + "month" : { + "localId" : "688", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "689", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "hour" : { + "localId" : "690", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "691", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "692", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "693", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "694", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "-5.0", + "type" : "Literal" + } + }, { + "localId" : "695", + "locator" : "67:79-67:103", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "696", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2022", + "type" : "Literal" + }, + "month" : { + "localId" : "697", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "698", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "hour" : { + "localId" : "699", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, + "minute" : { + "localId" : "700", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "701", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "702", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "703", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "708", + "locator" : "69:1-69:60", + "name" : "Equal.TimeEq10A10A", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "708", + "s" : [ { + "value" : [ "","define ","\"Equal.TimeEq10A10A\"",": " ] + }, { + "r" : "709", + "s" : [ { + "r" : "710", + "value" : [ "@T10:00:00.000"," ","="," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "709", + "locator" : "69:30-69:60", + "type" : "Equal", + "signature" : [ { + "localId" : "720", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "721", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "710", + "locator" : "69:30-69:43", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "711", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "712", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "713", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "714", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "715", + "locator" : "69:47-69:60", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "716", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "717", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "718", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "719", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "723", + "locator" : "71:1-71:60", + "name" : "Equal.TimeEq10A10P", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "723", + "s" : [ { + "value" : [ "","define ","\"Equal.TimeEq10A10P\"",": " ] + }, { + "r" : "724", + "s" : [ { + "r" : "725", + "value" : [ "@T10:00:00.000"," ","="," ","@T22:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "724", + "locator" : "71:30-71:60", + "type" : "Equal", + "signature" : [ { + "localId" : "735", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "736", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "725", + "locator" : "71:30-71:43", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "726", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "727", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "728", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "729", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "730", + "locator" : "71:47-71:60", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "731", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "minute" : { + "localId" : "732", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "733", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "734", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "738", + "locator" : "73:1-73:33", + "name" : "Greater.GreaterZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "738", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterZZ\"",": " ] + }, { + "r" : "739", + "s" : [ { + "r" : "740", + "value" : [ "0"," ",">"," ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "739", + "locator" : "73:29-73:33", + "type" : "Greater", + "signature" : [ { + "localId" : "742", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "743", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "740", + "locator" : "73:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "741", + "locator" : "73:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "745", + "locator" : "75:1-75:33", + "name" : "Greater.GreaterZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "745", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterZ1\"",": " ] + }, { + "r" : "746", + "s" : [ { + "r" : "747", + "value" : [ "0"," ",">"," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "746", + "locator" : "75:29-75:33", + "type" : "Greater", + "signature" : [ { + "localId" : "749", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "750", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "747", + "locator" : "75:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "748", + "locator" : "75:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "752", + "locator" : "77:1-77:37", + "name" : "Greater.GreaterZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "752", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterZNeg1\"",": " ] + }, { + "r" : "753", + "s" : [ { + "r" : "754", + "value" : [ "0"," ",">"," " ] + }, { + "r" : "755", + "s" : [ { + "r" : "756", + "value" : [ "-","1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "753", + "locator" : "77:32-77:37", + "type" : "Greater", + "signature" : [ { + "localId" : "758", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "759", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "754", + "locator" : "77:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "755", + "locator" : "77:36-77:37", + "type" : "Negate", + "signature" : [ { + "localId" : "757", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "756", + "locator" : "77:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "761", + "locator" : "79:1-79:40", + "name" : "Greater.GreaterDecZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "761", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterDecZZ\"",": " ] + }, { + "r" : "762", + "s" : [ { + "r" : "763", + "value" : [ "0.0"," ",">"," ","0.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "762", + "locator" : "79:32-79:40", + "type" : "Greater", + "signature" : [ { + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "766", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "763", + "locator" : "79:32-79:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "764", + "locator" : "79:38-79:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "768", + "locator" : "81:1-81:40", + "name" : "Greater.GreaterDecZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "768", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterDecZ1\"",": " ] + }, { + "r" : "769", + "s" : [ { + "r" : "770", + "value" : [ "0.0"," ",">"," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "769", + "locator" : "81:32-81:40", + "type" : "Greater", + "signature" : [ { + "localId" : "772", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "773", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "770", + "locator" : "81:32-81:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "771", + "locator" : "81:38-81:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "775", + "locator" : "83:1-83:44", + "name" : "Greater.GreaterDecZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "775", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterDecZNeg1\"",": " ] + }, { + "r" : "776", + "s" : [ { + "r" : "777", + "value" : [ "0.0"," ",">"," " ] + }, { + "r" : "778", + "s" : [ { + "r" : "779", + "value" : [ "-","1.0" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "776", + "locator" : "83:35-83:44", + "type" : "Greater", + "signature" : [ { + "localId" : "781", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "782", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "777", + "locator" : "83:35-83:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "778", + "locator" : "83:41-83:44", + "type" : "Negate", + "signature" : [ { + "localId" : "780", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "779", + "locator" : "83:42-83:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "784", + "locator" : "85:1-85:41", + "name" : "Greater.GreaterDec1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "784", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterDec1Int2\"",": " ] + }, { + "r" : "785", + "s" : [ { + "r" : "786", + "value" : [ "1.0"," ",">"," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "785", + "locator" : "85:35-85:41", + "type" : "Greater", + "signature" : [ { + "localId" : "791", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "792", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "786", + "locator" : "85:35-85:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "789", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "790", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "787", + "locator" : "85:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "794", + "locator" : "87:1-87:45", + "name" : "Greater.GreaterCM0CM0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "794", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterCM0CM0\"",": " ] + }, { + "r" : "795", + "s" : [ { + "r" : "796", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "797", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "795", + "locator" : "87:33-87:45", + "type" : "Greater", + "signature" : [ { + "localId" : "798", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "799", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "796", + "locator" : "87:33-87:37", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "797", + "locator" : "87:41-87:45", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "801", + "locator" : "89:1-89:45", + "name" : "Greater.GreaterCM0CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "801", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterCM0CM1\"",": " ] + }, { + "r" : "802", + "s" : [ { + "r" : "803", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "804", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "802", + "locator" : "89:33-89:45", + "type" : "Greater", + "signature" : [ { + "localId" : "805", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "806", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "803", + "locator" : "89:33-89:37", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "804", + "locator" : "89:41-89:45", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "808", + "locator" : "91:1-91:49", + "name" : "Greater.GreaterCM0NegCM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "808", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterCM0NegCM1\"",": " ] + }, { + "r" : "809", + "s" : [ { + "r" : "810", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "811", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "812", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "809", + "locator" : "91:36-91:49", + "type" : "Greater", + "signature" : [ { + "localId" : "814", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "815", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "810", + "locator" : "91:36-91:40", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "811", + "locator" : "91:44-91:49", + "type" : "Negate", + "signature" : [ { + "localId" : "813", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "812", + "locator" : "91:45-91:49", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } + } ] + } + }, { + "localId" : "817", + "locator" : "93:1-93:43", + "name" : "Greater.GreaterM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "817", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterM1CM1\"",": " ] + }, { + "r" : "818", + "s" : [ { + "r" : "819", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "820", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "818", + "locator" : "93:32-93:43", + "type" : "Greater", + "signature" : [ { + "localId" : "821", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "822", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "819", + "locator" : "93:32-93:35", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "820", + "locator" : "93:39-93:43", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "824", + "locator" : "95:1-95:45", + "name" : "Greater.GreaterM1CM10", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "824", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterM1CM10\"",": " ] + }, { + "r" : "825", + "s" : [ { + "r" : "826", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "827", + "s" : [ { + "value" : [ "10","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "825", + "locator" : "95:33-95:45", + "type" : "Greater", + "signature" : [ { + "localId" : "828", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "829", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "826", + "locator" : "95:33-95:36", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "827", + "locator" : "95:40-95:45", + "value" : 10, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "831", + "locator" : "97:1-97:37", + "name" : "Greater.GreaterAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "831", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterAA\"",": " ] + }, { + "r" : "832", + "s" : [ { + "r" : "833", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "834", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "832", + "locator" : "97:29-97:37", + "type" : "Greater", + "signature" : [ { + "localId" : "835", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "836", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "833", + "locator" : "97:29-97:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "834", + "locator" : "97:35-97:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "838", + "locator" : "99:1-99:37", + "name" : "Greater.GreaterAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "838", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterAB\"",": " ] + }, { + "r" : "839", + "s" : [ { + "r" : "840", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "841", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "839", + "locator" : "99:29-99:37", + "type" : "Greater", + "signature" : [ { + "localId" : "842", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "843", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "840", + "locator" : "99:29-99:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "841", + "locator" : "99:35-99:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "845", + "locator" : "101:1-101:37", + "name" : "Greater.GreaterBA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "845", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterBA\"",": " ] + }, { + "r" : "846", + "s" : [ { + "r" : "847", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "848", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "846", + "locator" : "101:29-101:37", + "type" : "Greater", + "signature" : [ { + "localId" : "849", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "850", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "847", + "locator" : "101:29-101:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "848", + "locator" : "101:35-101:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "852", + "locator" : "103:1-103:43", + "name" : "Greater.GreaterAThanAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "852", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterAThanAA\"",": " ] + }, { + "r" : "853", + "s" : [ { + "r" : "854", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "855", + "s" : [ { + "value" : [ "'aa'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "853", + "locator" : "103:34-103:43", + "type" : "Greater", + "signature" : [ { + "localId" : "856", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "857", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "854", + "locator" : "103:34-103:36", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "855", + "locator" : "103:40-103:43", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + } ] + } + }, { + "localId" : "859", + "locator" : "105:1-105:43", + "name" : "Greater.GreaterAAThanA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "859", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterAAThanA\"",": " ] + }, { + "r" : "860", + "s" : [ { + "r" : "861", + "s" : [ { + "value" : [ "'aa'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "862", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "860", + "locator" : "105:34-105:43", + "type" : "Greater", + "signature" : [ { + "localId" : "863", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "864", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "861", + "locator" : "105:34-105:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + }, { + "localId" : "862", + "locator" : "105:41-105:43", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "866", + "locator" : "107:1-107:49", + "name" : "Greater.GreaterJackJill", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "866", + "s" : [ { + "value" : [ "","define ","\"Greater.GreaterJackJill\"",": " ] + }, { + "r" : "867", + "s" : [ { + "r" : "868", + "s" : [ { + "value" : [ "'Jack'" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "869", + "s" : [ { + "value" : [ "'Jill'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "867", + "locator" : "107:35-107:49", + "type" : "Greater", + "signature" : [ { + "localId" : "870", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "871", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "868", + "locator" : "107:35-107:40", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jack", + "type" : "Literal" + }, { + "localId" : "869", + "locator" : "107:44-107:49", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jill", + "type" : "Literal" + } ] + } + }, { + "localId" : "873", + "locator" : "109:1-109:83", + "name" : "Greater.DateTimeGreaterTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "873", + "s" : [ { + "value" : [ "","define ","\"Greater.DateTimeGreaterTrue\"",": " ] + }, { + "r" : "874", + "s" : [ { + "r" : "880", + "s" : [ { + "r" : "875", + "value" : [ "DateTime","(","2012",", ","2",", ","12",")" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "886", + "s" : [ { + "r" : "881", + "value" : [ "DateTime","(","2012",", ","2",", ","10",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "874", + "locator" : "109:39-109:83", + "type" : "Greater", + "signature" : [ { + "localId" : "887", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "880", + "locator" : "109:39-109:59", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "875", + "locator" : "109:48-109:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "876", + "locator" : "109:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "877", + "locator" : "109:57-109:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "886", + "locator" : "109:63-109:83", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "881", + "locator" : "109:72-109:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "882", + "locator" : "109:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "883", + "locator" : "109:81-109:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "890", + "locator" : "111:1-111:84", + "name" : "Greater.DateTimeGreaterFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "890", + "s" : [ { + "value" : [ "","define ","\"Greater.DateTimeGreaterFalse\"",": " ] + }, { + "r" : "891", + "s" : [ { + "r" : "897", + "s" : [ { + "r" : "892", + "value" : [ "DateTime","(","2012",", ","2",", ","12",")" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "903", + "s" : [ { + "r" : "898", + "value" : [ "DateTime","(","2012",", ","2",", ","13",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "891", + "locator" : "111:40-111:84", + "type" : "Greater", + "signature" : [ { + "localId" : "904", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "905", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "897", + "locator" : "111:40-111:60", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "892", + "locator" : "111:49-111:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "893", + "locator" : "111:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "894", + "locator" : "111:58-111:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "903", + "locator" : "111:64-111:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "898", + "locator" : "111:73-111:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "899", + "locator" : "111:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "900", + "locator" : "111:82-111:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "907", + "locator" : "113:1-113:65", + "name" : "Greater.TimeGreaterTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "907", + "s" : [ { + "value" : [ "","define ","\"Greater.TimeGreaterTrue\"",": " ] + }, { + "r" : "908", + "s" : [ { + "r" : "909", + "value" : [ "@T10:00:00.001"," ",">"," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "908", + "locator" : "113:35-113:65", + "type" : "Greater", + "signature" : [ { + "localId" : "919", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "920", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "909", + "locator" : "113:35-113:48", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "910", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "911", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "912", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "913", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "914", + "locator" : "113:52-113:65", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "915", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "916", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "917", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "918", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "922", + "locator" : "115:1-115:66", + "name" : "Greater.TimeGreaterFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "922", + "s" : [ { + "value" : [ "","define ","\"Greater.TimeGreaterFalse\"",": " ] + }, { + "r" : "923", + "s" : [ { + "r" : "924", + "value" : [ "@T10:00:00.000"," ",">"," ","@T10:00:00.001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "923", + "locator" : "115:36-115:66", + "type" : "Greater", + "signature" : [ { + "localId" : "934", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "935", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "924", + "locator" : "115:36-115:49", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "925", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "926", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "927", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "928", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "929", + "locator" : "115:53-115:66", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "930", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "931", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "932", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "933", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "937", + "locator" : "117:1-117:79", + "name" : "Greater.UncertaintyGreaterNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "937", + "s" : [ { + "value" : [ "","define ","\"Greater.UncertaintyGreaterNull\"",": " ] + }, { + "r" : "938", + "s" : [ { + "r" : "942", + "s" : [ { + "r" : "939", + "value" : [ "DateTime","(","2014",")" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "948", + "s" : [ { + "r" : "943", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "938", + "locator" : "117:42-117:79", + "type" : "Greater", + "signature" : [ { + "localId" : "949", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "950", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "942", + "locator" : "117:42-117:55", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "939", + "locator" : "117:51-117:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "948", + "locator" : "117:59-117:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "943", + "locator" : "117:68-117:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "944", + "locator" : "117:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "945", + "locator" : "117:77-117:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "952", + "locator" : "119:1-119:79", + "name" : "Greater.UncertaintyGreaterTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "952", + "s" : [ { + "value" : [ "","define ","\"Greater.UncertaintyGreaterTrue\"",": " ] + }, { + "r" : "953", + "s" : [ { + "r" : "957", + "s" : [ { + "r" : "954", + "value" : [ "DateTime","(","2015",")" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "963", + "s" : [ { + "r" : "958", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "953", + "locator" : "119:42-119:79", + "type" : "Greater", + "signature" : [ { + "localId" : "964", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "965", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "957", + "locator" : "119:42-119:55", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "954", + "locator" : "119:51-119:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + } + }, { + "localId" : "963", + "locator" : "119:59-119:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "958", + "locator" : "119:68-119:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "959", + "locator" : "119:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "960", + "locator" : "119:77-119:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "967", + "locator" : "121:1-121:80", + "name" : "Greater.UncertaintyGreaterFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "967", + "s" : [ { + "value" : [ "","define ","\"Greater.UncertaintyGreaterFalse\"",": " ] + }, { + "r" : "968", + "s" : [ { + "r" : "972", + "s" : [ { + "r" : "969", + "value" : [ "DateTime","(","2013",")" ] + } ] + }, { + "value" : [ " ",">"," " ] + }, { + "r" : "978", + "s" : [ { + "r" : "973", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "968", + "locator" : "121:43-121:80", + "type" : "Greater", + "signature" : [ { + "localId" : "979", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "980", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "972", + "locator" : "121:43-121:56", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "969", + "locator" : "121:52-121:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "type" : "Literal" + } + }, { + "localId" : "978", + "locator" : "121:60-121:80", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "973", + "locator" : "121:69-121:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "974", + "locator" : "121:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "975", + "locator" : "121:78-121:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "982", + "locator" : "123:1-123:50", + "name" : "Greater Or Equal.GreaterOrEqualZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "982", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualZZ\"",": " ] + }, { + "r" : "983", + "s" : [ { + "r" : "984", + "value" : [ "0"," ",">="," ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "983", + "locator" : "123:45-123:50", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "986", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "984", + "locator" : "123:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "985", + "locator" : "123:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "989", + "locator" : "125:1-125:50", + "name" : "Greater Or Equal.GreaterOrEqualZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "989", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualZ1\"",": " ] + }, { + "r" : "990", + "s" : [ { + "r" : "991", + "value" : [ "0"," ",">="," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "990", + "locator" : "125:45-125:50", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "993", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "991", + "locator" : "125:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "992", + "locator" : "125:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "996", + "locator" : "127:1-127:54", + "name" : "Greater Or Equal.GreaterOrEqualZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "996", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualZNeg1\"",": " ] + }, { + "r" : "997", + "s" : [ { + "r" : "998", + "value" : [ "0"," ",">="," " ] + }, { + "r" : "999", + "s" : [ { + "r" : "1000", + "value" : [ "-","1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "997", + "locator" : "127:48-127:54", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1002", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1003", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "998", + "locator" : "127:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "999", + "locator" : "127:53-127:54", + "type" : "Negate", + "signature" : [ { + "localId" : "1001", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1000", + "locator" : "127:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1005", + "locator" : "129:1-129:57", + "name" : "Greater Or Equal.GreaterOrEqualDecZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1005", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualDecZZ\"",": " ] + }, { + "r" : "1006", + "s" : [ { + "r" : "1007", + "value" : [ "0.0"," ",">="," ","0.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1006", + "locator" : "129:48-129:57", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1009", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1010", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1007", + "locator" : "129:48-129:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1008", + "locator" : "129:55-129:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1012", + "locator" : "131:1-131:57", + "name" : "Greater Or Equal.GreaterOrEqualDecZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1012", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualDecZ1\"",": " ] + }, { + "r" : "1013", + "s" : [ { + "r" : "1014", + "value" : [ "0.0"," ",">="," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1013", + "locator" : "131:48-131:57", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1016", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1017", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1014", + "locator" : "131:48-131:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1015", + "locator" : "131:55-131:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1019", + "locator" : "133:1-133:61", + "name" : "Greater Or Equal.GreaterOrEqualDecZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1019", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualDecZNeg1\"",": " ] + }, { + "r" : "1020", + "s" : [ { + "r" : "1021", + "value" : [ "0.0"," ",">="," " ] + }, { + "r" : "1022", + "s" : [ { + "r" : "1023", + "value" : [ "-","1.0" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1020", + "locator" : "133:51-133:61", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1025", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1026", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1021", + "locator" : "133:51-133:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1022", + "locator" : "133:58-133:61", + "type" : "Negate", + "signature" : [ { + "localId" : "1024", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1023", + "locator" : "133:59-133:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1028", + "locator" : "135:1-135:58", + "name" : "Greater Or Equal.GreaterOrEqualDec1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1028", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualDec1Int2\"",": " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1030", + "value" : [ "1.0"," ",">="," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1029", + "locator" : "135:51-135:58", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1035", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1030", + "locator" : "135:51-135:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1033", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1031", + "locator" : "135:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1038", + "locator" : "137:1-137:62", + "name" : "Greater Or Equal.GreaterOrEqualCM0CM0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1038", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualCM0CM0\"",": " ] + }, { + "r" : "1039", + "s" : [ { + "r" : "1040", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1041", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1039", + "locator" : "137:49-137:62", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1042", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1043", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1040", + "locator" : "137:49-137:53", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1041", + "locator" : "137:58-137:62", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1045", + "locator" : "139:1-139:62", + "name" : "Greater Or Equal.GreaterOrEqualCM0CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1045", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualCM0CM1\"",": " ] + }, { + "r" : "1046", + "s" : [ { + "r" : "1047", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1048", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1046", + "locator" : "139:49-139:62", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1049", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1050", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1047", + "locator" : "139:49-139:53", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1048", + "locator" : "139:58-139:62", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1052", + "locator" : "141:1-141:66", + "name" : "Greater Or Equal.GreaterOrEqualCM0NegCM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1052", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualCM0NegCM1\"",": " ] + }, { + "r" : "1053", + "s" : [ { + "r" : "1054", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1055", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1056", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1053", + "locator" : "141:52-141:66", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1058", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1059", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1054", + "locator" : "141:52-141:56", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1055", + "locator" : "141:61-141:66", + "type" : "Negate", + "signature" : [ { + "localId" : "1057", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1056", + "locator" : "141:62-141:66", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } + } ] + } + }, { + "localId" : "1061", + "locator" : "143:1-143:60", + "name" : "Greater Or Equal.GreaterOrEqualM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1061", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualM1CM1\"",": " ] + }, { + "r" : "1062", + "s" : [ { + "r" : "1063", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1064", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1062", + "locator" : "143:48-143:60", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1065", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1066", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1063", + "locator" : "143:48-143:51", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "1064", + "locator" : "143:56-143:60", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1068", + "locator" : "145:1-145:62", + "name" : "Greater Or Equal.GreaterOrEqualM1CM10", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1068", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualM1CM10\"",": " ] + }, { + "r" : "1069", + "s" : [ { + "r" : "1070", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1071", + "s" : [ { + "value" : [ "10","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1069", + "locator" : "145:49-145:62", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1072", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1073", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1070", + "locator" : "145:49-145:52", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "1071", + "locator" : "145:57-145:62", + "value" : 10, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1075", + "locator" : "147:1-147:54", + "name" : "Greater Or Equal.GreaterOrEqualAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1075", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualAA\"",": " ] + }, { + "r" : "1076", + "s" : [ { + "r" : "1077", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1078", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1076", + "locator" : "147:45-147:54", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1079", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1080", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1077", + "locator" : "147:45-147:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1078", + "locator" : "147:52-147:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1082", + "locator" : "149:1-149:54", + "name" : "Greater Or Equal.GreaterOrEqualAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1082", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualAB\"",": " ] + }, { + "r" : "1083", + "s" : [ { + "r" : "1084", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1085", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1083", + "locator" : "149:45-149:54", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1086", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1087", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1084", + "locator" : "149:45-149:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1085", + "locator" : "149:52-149:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "1089", + "locator" : "151:1-151:54", + "name" : "Greater Or Equal.GreaterOrEqualBA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1089", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualBA\"",": " ] + }, { + "r" : "1090", + "s" : [ { + "r" : "1091", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1092", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1090", + "locator" : "151:45-151:54", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1093", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1094", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1091", + "locator" : "151:45-151:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "1092", + "locator" : "151:52-151:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1096", + "locator" : "153:1-153:60", + "name" : "Greater Or Equal.GreaterOrEqualAThanAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1096", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualAThanAA\"",": " ] + }, { + "r" : "1097", + "s" : [ { + "r" : "1098", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1099", + "s" : [ { + "value" : [ "'aa'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1097", + "locator" : "153:50-153:60", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1100", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1101", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1098", + "locator" : "153:50-153:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1099", + "locator" : "153:57-153:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + } ] + } + }, { + "localId" : "1103", + "locator" : "155:1-155:60", + "name" : "Greater Or Equal.GreaterOrEqualAAThanA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1103", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualAAThanA\"",": " ] + }, { + "r" : "1104", + "s" : [ { + "r" : "1105", + "s" : [ { + "value" : [ "'aa'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1106", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1104", + "locator" : "155:50-155:60", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1107", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1108", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1105", + "locator" : "155:50-155:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + }, { + "localId" : "1106", + "locator" : "155:58-155:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1110", + "locator" : "157:1-157:66", + "name" : "Greater Or Equal.GreaterOrEqualJackJill", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1110", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.GreaterOrEqualJackJill\"",": " ] + }, { + "r" : "1111", + "s" : [ { + "r" : "1112", + "s" : [ { + "value" : [ "'Jack'" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1113", + "s" : [ { + "value" : [ "'Jill'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1111", + "locator" : "157:51-157:66", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1114", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1115", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1112", + "locator" : "157:51-157:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jack", + "type" : "Literal" + }, { + "localId" : "1113", + "locator" : "157:61-157:66", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jill", + "type" : "Literal" + } ] + } + }, { + "localId" : "1117", + "locator" : "159:1-159:119", + "name" : "Greater Or Equal.DateTimeGreaterEqTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1117", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.DateTimeGreaterEqTrue\"",": " ] + }, { + "r" : "1118", + "s" : [ { + "r" : "1128", + "s" : [ { + "r" : "1119", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1138", + "s" : [ { + "r" : "1129", + "value" : [ "DateTime","(","2012",", ","2",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1118", + "locator" : "159:50-159:119", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1139", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1140", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1128", + "locator" : "159:50-159:82", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1119", + "locator" : "159:59-159:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1120", + "locator" : "159:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1121", + "locator" : "159:68-159:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1122", + "locator" : "159:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1123", + "locator" : "159:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1124", + "locator" : "159:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1125", + "locator" : "159:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1138", + "locator" : "159:87-159:119", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1129", + "locator" : "159:96-159:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1130", + "locator" : "159:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1131", + "locator" : "159:105-159:106", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "1132", + "locator" : "159:109", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1133", + "locator" : "159:112", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1134", + "locator" : "159:115", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1135", + "locator" : "159:118", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1142", + "locator" : "161:1-161:120", + "name" : "Greater Or Equal.DateTimeGreaterEqTrue2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1142", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.DateTimeGreaterEqTrue2\"",": " ] + }, { + "r" : "1143", + "s" : [ { + "r" : "1153", + "s" : [ { + "r" : "1144", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1163", + "s" : [ { + "r" : "1154", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1143", + "locator" : "161:51-161:120", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1164", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1165", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1153", + "locator" : "161:51-161:83", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1144", + "locator" : "161:60-161:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1145", + "locator" : "161:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1146", + "locator" : "161:69-161:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1147", + "locator" : "161:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1148", + "locator" : "161:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1149", + "locator" : "161:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1150", + "locator" : "161:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1163", + "locator" : "161:88-161:120", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1154", + "locator" : "161:97-161:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1155", + "locator" : "161:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1156", + "locator" : "161:106-161:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1157", + "locator" : "161:110", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1158", + "locator" : "161:113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1159", + "locator" : "161:116", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1160", + "locator" : "161:119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1167", + "locator" : "163:1-163:120", + "name" : "Greater Or Equal.DateTimeGreaterEqFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1167", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.DateTimeGreaterEqFalse\"",": " ] + }, { + "r" : "1168", + "s" : [ { + "r" : "1178", + "s" : [ { + "r" : "1169", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1188", + "s" : [ { + "r" : "1179", + "value" : [ "DateTime","(","2012",", ","2",", ","13",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1168", + "locator" : "163:51-163:120", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1189", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1190", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1178", + "locator" : "163:51-163:83", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1169", + "locator" : "163:60-163:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1170", + "locator" : "163:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1171", + "locator" : "163:69-163:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1172", + "locator" : "163:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1173", + "locator" : "163:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1174", + "locator" : "163:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1175", + "locator" : "163:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1188", + "locator" : "163:88-163:120", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1179", + "locator" : "163:97-163:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1180", + "locator" : "163:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1181", + "locator" : "163:106-163:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "type" : "Literal" + }, + "hour" : { + "localId" : "1182", + "locator" : "163:110", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1183", + "locator" : "163:113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1184", + "locator" : "163:116", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1185", + "locator" : "163:119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1192", + "locator" : "165:1-165:77", + "name" : "Greater Or Equal.TimeGreaterEqTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1192", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.TimeGreaterEqTrue\"",": " ] + }, { + "r" : "1193", + "s" : [ { + "r" : "1194", + "value" : [ "@T10:00:00.001"," ",">="," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1193", + "locator" : "165:46-165:77", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1204", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1205", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1194", + "locator" : "165:46-165:59", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1195", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1196", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1197", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1198", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "1199", + "locator" : "165:64-165:77", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1200", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1201", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1202", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1203", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1207", + "locator" : "167:1-167:78", + "name" : "Greater Or Equal.TimeGreaterEqTrue2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1207", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.TimeGreaterEqTrue2\"",": " ] + }, { + "r" : "1208", + "s" : [ { + "r" : "1209", + "value" : [ "@T10:00:00.000"," ",">="," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1208", + "locator" : "167:47-167:78", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1219", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1220", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1209", + "locator" : "167:47-167:60", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1210", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1211", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1212", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1213", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1214", + "locator" : "167:65-167:78", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1215", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1216", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1217", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1222", + "locator" : "169:1-169:78", + "name" : "Greater Or Equal.TimeGreaterEqFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1222", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.TimeGreaterEqFalse\"",": " ] + }, { + "r" : "1223", + "s" : [ { + "r" : "1224", + "value" : [ "@T10:00:00.000"," ",">="," ","@T10:00:00.001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1223", + "locator" : "169:47-169:78", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1234", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1235", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1224", + "locator" : "169:47-169:60", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1225", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1226", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1227", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1228", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1229", + "locator" : "169:65-169:78", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1230", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1231", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1232", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1233", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1237", + "locator" : "171:1-171:94", + "name" : "Greater Or Equal.UncertaintyGreaterEqualNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1237", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.UncertaintyGreaterEqualNull\"",": " ] + }, { + "r" : "1238", + "s" : [ { + "r" : "1242", + "s" : [ { + "r" : "1239", + "value" : [ "DateTime","(","2014",")" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1248", + "s" : [ { + "r" : "1243", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1238", + "locator" : "171:56-171:94", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1249", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1250", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1242", + "locator" : "171:56-171:69", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1239", + "locator" : "171:65-171:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "1248", + "locator" : "171:74-171:94", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1243", + "locator" : "171:83-171:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1244", + "locator" : "171:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1245", + "locator" : "171:92-171:93", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1252", + "locator" : "173:1-173:94", + "name" : "Greater Or Equal.UncertaintyGreaterEqualTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1252", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.UncertaintyGreaterEqualTrue\"",": " ] + }, { + "r" : "1253", + "s" : [ { + "r" : "1257", + "s" : [ { + "r" : "1254", + "value" : [ "DateTime","(","2015",")" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1263", + "s" : [ { + "r" : "1258", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1253", + "locator" : "173:56-173:94", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1264", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1265", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1257", + "locator" : "173:56-173:69", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1254", + "locator" : "173:65-173:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + } + }, { + "localId" : "1263", + "locator" : "173:74-173:94", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1258", + "locator" : "173:83-173:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1259", + "locator" : "173:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1260", + "locator" : "173:92-173:93", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1267", + "locator" : "175:1-175:95", + "name" : "Greater Or Equal.UncertaintyGreaterEqualFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1267", + "s" : [ { + "value" : [ "","define ","\"Greater Or Equal.UncertaintyGreaterEqualFalse\"",": " ] + }, { + "r" : "1268", + "s" : [ { + "r" : "1272", + "s" : [ { + "r" : "1269", + "value" : [ "DateTime","(","2013",")" ] + } ] + }, { + "value" : [ " ",">="," " ] + }, { + "r" : "1278", + "s" : [ { + "r" : "1273", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1268", + "locator" : "175:57-175:95", + "type" : "GreaterOrEqual", + "signature" : [ { + "localId" : "1279", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1280", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1272", + "locator" : "175:57-175:70", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1269", + "locator" : "175:66-175:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "type" : "Literal" + } + }, { + "localId" : "1278", + "locator" : "175:75-175:95", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1273", + "locator" : "175:84-175:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1274", + "locator" : "175:90", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1275", + "locator" : "175:93-175:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1282", + "locator" : "177:1-177:27", + "name" : "Less.LessZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1282", + "s" : [ { + "value" : [ "","define ","\"Less.LessZZ\"",": " ] + }, { + "r" : "1283", + "s" : [ { + "r" : "1284", + "value" : [ "0"," ","<"," ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1283", + "locator" : "177:23-177:27", + "type" : "Less", + "signature" : [ { + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1287", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1284", + "locator" : "177:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1285", + "locator" : "177:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1289", + "locator" : "179:1-179:27", + "name" : "Less.LessZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1289", + "s" : [ { + "value" : [ "","define ","\"Less.LessZ1\"",": " ] + }, { + "r" : "1290", + "s" : [ { + "r" : "1291", + "value" : [ "0"," ","<"," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1290", + "locator" : "179:23-179:27", + "type" : "Less", + "signature" : [ { + "localId" : "1293", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1294", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1291", + "locator" : "179:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1292", + "locator" : "179:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1296", + "locator" : "181:1-181:31", + "name" : "Less.LessZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1296", + "s" : [ { + "value" : [ "","define ","\"Less.LessZNeg1\"",": " ] + }, { + "r" : "1297", + "s" : [ { + "r" : "1298", + "value" : [ "0"," ","<"," " ] + }, { + "r" : "1299", + "s" : [ { + "r" : "1300", + "value" : [ "-","1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1297", + "locator" : "181:26-181:31", + "type" : "Less", + "signature" : [ { + "localId" : "1302", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1303", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1298", + "locator" : "181:26", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1299", + "locator" : "181:30-181:31", + "type" : "Negate", + "signature" : [ { + "localId" : "1301", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1300", + "locator" : "181:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1305", + "locator" : "183:1-183:34", + "name" : "Less.LessDecZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1305", + "s" : [ { + "value" : [ "","define ","\"Less.LessDecZZ\"",": " ] + }, { + "r" : "1306", + "s" : [ { + "r" : "1307", + "value" : [ "0.0"," ","<"," ","0.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1306", + "locator" : "183:26-183:34", + "type" : "Less", + "signature" : [ { + "localId" : "1309", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1310", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1307", + "locator" : "183:26-183:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1308", + "locator" : "183:32-183:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1312", + "locator" : "185:1-185:34", + "name" : "Less.LessDecZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1312", + "s" : [ { + "value" : [ "","define ","\"Less.LessDecZ1\"",": " ] + }, { + "r" : "1313", + "s" : [ { + "r" : "1314", + "value" : [ "0.0"," ","<"," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1313", + "locator" : "185:26-185:34", + "type" : "Less", + "signature" : [ { + "localId" : "1316", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1314", + "locator" : "185:26-185:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1315", + "locator" : "185:32-185:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1319", + "locator" : "187:1-187:38", + "name" : "Less.LessDecZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1319", + "s" : [ { + "value" : [ "","define ","\"Less.LessDecZNeg1\"",": " ] + }, { + "r" : "1320", + "s" : [ { + "r" : "1321", + "value" : [ "0.0"," ","<"," " ] + }, { + "r" : "1322", + "s" : [ { + "r" : "1323", + "value" : [ "-","1.0" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1320", + "locator" : "187:29-187:38", + "type" : "Less", + "signature" : [ { + "localId" : "1325", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1326", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1321", + "locator" : "187:29-187:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1322", + "locator" : "187:35-187:38", + "type" : "Negate", + "signature" : [ { + "localId" : "1324", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1323", + "locator" : "187:36-187:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1328", + "locator" : "189:1-189:35", + "name" : "Less.LessDec1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1328", + "s" : [ { + "value" : [ "","define ","\"Less.LessDec1Int2\"",": " ] + }, { + "r" : "1329", + "s" : [ { + "r" : "1330", + "value" : [ "1.0"," ","<"," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1329", + "locator" : "189:29-189:35", + "type" : "Less", + "signature" : [ { + "localId" : "1335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1336", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1330", + "locator" : "189:29-189:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1333", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1334", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1331", + "locator" : "189:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1338", + "locator" : "191:1-191:39", + "name" : "Less.LessCM0CM0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1338", + "s" : [ { + "value" : [ "","define ","\"Less.LessCM0CM0\"",": " ] + }, { + "r" : "1339", + "s" : [ { + "r" : "1340", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1341", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1339", + "locator" : "191:27-191:39", + "type" : "Less", + "signature" : [ { + "localId" : "1342", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1343", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1340", + "locator" : "191:27-191:31", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1341", + "locator" : "191:35-191:39", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1345", + "locator" : "193:1-193:39", + "name" : "Less.LessCM0CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1345", + "s" : [ { + "value" : [ "","define ","\"Less.LessCM0CM1\"",": " ] + }, { + "r" : "1346", + "s" : [ { + "r" : "1347", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1348", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1346", + "locator" : "193:27-193:39", + "type" : "Less", + "signature" : [ { + "localId" : "1349", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1347", + "locator" : "193:27-193:31", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1348", + "locator" : "193:35-193:39", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1352", + "locator" : "195:1-195:43", + "name" : "Less.LessCM0NegCM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1352", + "s" : [ { + "value" : [ "","define ","\"Less.LessCM0NegCM1\"",": " ] + }, { + "r" : "1353", + "s" : [ { + "r" : "1354", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1355", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1356", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1353", + "locator" : "195:30-195:43", + "type" : "Less", + "signature" : [ { + "localId" : "1358", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1359", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1354", + "locator" : "195:30-195:34", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1355", + "locator" : "195:38-195:43", + "type" : "Negate", + "signature" : [ { + "localId" : "1357", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1356", + "locator" : "195:39-195:43", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } + } ] + } + }, { + "localId" : "1361", + "locator" : "197:1-197:37", + "name" : "Less.LessM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1361", + "s" : [ { + "value" : [ "","define ","\"Less.LessM1CM1\"",": " ] + }, { + "r" : "1362", + "s" : [ { + "r" : "1363", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1364", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1362", + "locator" : "197:26-197:37", + "type" : "Less", + "signature" : [ { + "localId" : "1365", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1366", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1363", + "locator" : "197:26-197:29", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "1364", + "locator" : "197:33-197:37", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1368", + "locator" : "199:1-199:39", + "name" : "Less.LessM1CM10", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1368", + "s" : [ { + "value" : [ "","define ","\"Less.LessM1CM10\"",": " ] + }, { + "r" : "1369", + "s" : [ { + "r" : "1370", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1371", + "s" : [ { + "value" : [ "10","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1369", + "locator" : "199:27-199:39", + "type" : "Less", + "signature" : [ { + "localId" : "1372", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1373", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1370", + "locator" : "199:27-199:30", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "1371", + "locator" : "199:34-199:39", + "value" : 10, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1375", + "locator" : "201:1-201:31", + "name" : "Less.LessAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1375", + "s" : [ { + "value" : [ "","define ","\"Less.LessAA\"",": " ] + }, { + "r" : "1376", + "s" : [ { + "r" : "1377", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1378", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1376", + "locator" : "201:23-201:31", + "type" : "Less", + "signature" : [ { + "localId" : "1379", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1380", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1377", + "locator" : "201:23-201:25", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1378", + "locator" : "201:29-201:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1382", + "locator" : "203:1-203:31", + "name" : "Less.LessAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1382", + "s" : [ { + "value" : [ "","define ","\"Less.LessAB\"",": " ] + }, { + "r" : "1383", + "s" : [ { + "r" : "1384", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1385", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1383", + "locator" : "203:23-203:31", + "type" : "Less", + "signature" : [ { + "localId" : "1386", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1387", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1384", + "locator" : "203:23-203:25", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1385", + "locator" : "203:29-203:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "1389", + "locator" : "205:1-205:31", + "name" : "Less.LessBA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1389", + "s" : [ { + "value" : [ "","define ","\"Less.LessBA\"",": " ] + }, { + "r" : "1390", + "s" : [ { + "r" : "1391", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1392", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1390", + "locator" : "205:23-205:31", + "type" : "Less", + "signature" : [ { + "localId" : "1393", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1394", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1391", + "locator" : "205:23-205:25", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "1392", + "locator" : "205:29-205:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1396", + "locator" : "207:1-207:37", + "name" : "Less.LessAThanAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1396", + "s" : [ { + "value" : [ "","define ","\"Less.LessAThanAA\"",": " ] + }, { + "r" : "1397", + "s" : [ { + "r" : "1398", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1399", + "s" : [ { + "value" : [ "'aa'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1397", + "locator" : "207:28-207:37", + "type" : "Less", + "signature" : [ { + "localId" : "1400", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1401", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1398", + "locator" : "207:28-207:30", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1399", + "locator" : "207:34-207:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + } ] + } + }, { + "localId" : "1403", + "locator" : "209:1-209:37", + "name" : "Less.LessAAThanA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1403", + "s" : [ { + "value" : [ "","define ","\"Less.LessAAThanA\"",": " ] + }, { + "r" : "1404", + "s" : [ { + "r" : "1405", + "s" : [ { + "value" : [ "'aa'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1406", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1404", + "locator" : "209:28-209:37", + "type" : "Less", + "signature" : [ { + "localId" : "1407", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1408", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1405", + "locator" : "209:28-209:31", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + }, { + "localId" : "1406", + "locator" : "209:35-209:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1410", + "locator" : "211:1-211:43", + "name" : "Less.LessJackJill", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1410", + "s" : [ { + "value" : [ "","define ","\"Less.LessJackJill\"",": " ] + }, { + "r" : "1411", + "s" : [ { + "r" : "1412", + "s" : [ { + "value" : [ "'Jack'" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1413", + "s" : [ { + "value" : [ "'Jill'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1411", + "locator" : "211:29-211:43", + "type" : "Less", + "signature" : [ { + "localId" : "1414", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1415", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1412", + "locator" : "211:29-211:34", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jack", + "type" : "Literal" + }, { + "localId" : "1413", + "locator" : "211:38-211:43", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jill", + "type" : "Literal" + } ] + } + }, { + "localId" : "1417", + "locator" : "213:1-213:76", + "name" : "Less.DateTimeLessTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1417", + "s" : [ { + "value" : [ "","define ","\"Less.DateTimeLessTrue\"",": " ] + }, { + "r" : "1418", + "s" : [ { + "r" : "1424", + "s" : [ { + "r" : "1419", + "value" : [ "DateTime","(","2012",", ","2",", ","9",")" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1430", + "s" : [ { + "r" : "1425", + "value" : [ "DateTime","(","2012",", ","2",", ","10",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1418", + "locator" : "213:33-213:76", + "type" : "Less", + "signature" : [ { + "localId" : "1431", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1432", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1424", + "locator" : "213:33-213:52", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1419", + "locator" : "213:42-213:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1420", + "locator" : "213:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1421", + "locator" : "213:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + } + }, { + "localId" : "1430", + "locator" : "213:56-213:76", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1425", + "locator" : "213:65-213:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1426", + "locator" : "213:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1427", + "locator" : "213:74-213:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1434", + "locator" : "215:1-215:78", + "name" : "Less.DateTimeLessFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1434", + "s" : [ { + "value" : [ "","define ","\"Less.DateTimeLessFalse\"",": " ] + }, { + "r" : "1435", + "s" : [ { + "r" : "1441", + "s" : [ { + "r" : "1436", + "value" : [ "DateTime","(","2012",", ","2",", ","14",")" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1447", + "s" : [ { + "r" : "1442", + "value" : [ "DateTime","(","2012",", ","2",", ","13",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1435", + "locator" : "215:34-215:78", + "type" : "Less", + "signature" : [ { + "localId" : "1448", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1449", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1441", + "locator" : "215:34-215:54", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1436", + "locator" : "215:43-215:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1437", + "locator" : "215:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1438", + "locator" : "215:52-215:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + } + }, { + "localId" : "1447", + "locator" : "215:58-215:78", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1442", + "locator" : "215:67-215:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1443", + "locator" : "215:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1444", + "locator" : "215:76-215:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1451", + "locator" : "217:1-217:59", + "name" : "Less.TimeLessTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1451", + "s" : [ { + "value" : [ "","define ","\"Less.TimeLessTrue\"",": " ] + }, { + "r" : "1452", + "s" : [ { + "r" : "1453", + "value" : [ "@T10:00:00.001"," ","<"," ","@T10:00:00.002" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1452", + "locator" : "217:29-217:59", + "type" : "Less", + "signature" : [ { + "localId" : "1463", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1464", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1453", + "locator" : "217:29-217:42", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1454", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1455", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1456", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1457", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "1458", + "locator" : "217:46-217:59", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1459", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1460", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1461", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1462", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1466", + "locator" : "219:1-219:60", + "name" : "Less.TimeLessFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1466", + "s" : [ { + "value" : [ "","define ","\"Less.TimeLessFalse\"",": " ] + }, { + "r" : "1467", + "s" : [ { + "r" : "1468", + "value" : [ "@T10:10:00.000"," ","<"," ","@T10:00:00.001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1467", + "locator" : "219:30-219:60", + "type" : "Less", + "signature" : [ { + "localId" : "1478", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1479", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1468", + "locator" : "219:30-219:43", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1469", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1470", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "second" : { + "localId" : "1471", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1472", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1473", + "locator" : "219:47-219:60", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1474", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1475", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1476", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1477", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1481", + "locator" : "221:1-221:73", + "name" : "Less.UncertaintyLessNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1481", + "s" : [ { + "value" : [ "","define ","\"Less.UncertaintyLessNull\"",": " ] + }, { + "r" : "1482", + "s" : [ { + "r" : "1486", + "s" : [ { + "r" : "1483", + "value" : [ "DateTime","(","2014",")" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1492", + "s" : [ { + "r" : "1487", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1482", + "locator" : "221:36-221:73", + "type" : "Less", + "signature" : [ { + "localId" : "1493", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1486", + "locator" : "221:36-221:49", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1483", + "locator" : "221:45-221:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "1492", + "locator" : "221:53-221:73", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1487", + "locator" : "221:62-221:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1488", + "locator" : "221:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1489", + "locator" : "221:71-221:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1496", + "locator" : "223:1-223:73", + "name" : "Less.UncertaintyLessTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1496", + "s" : [ { + "value" : [ "","define ","\"Less.UncertaintyLessTrue\"",": " ] + }, { + "r" : "1497", + "s" : [ { + "r" : "1501", + "s" : [ { + "r" : "1498", + "value" : [ "DateTime","(","2013",")" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1507", + "s" : [ { + "r" : "1502", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1497", + "locator" : "223:36-223:73", + "type" : "Less", + "signature" : [ { + "localId" : "1508", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1509", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1501", + "locator" : "223:36-223:49", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1498", + "locator" : "223:45-223:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "type" : "Literal" + } + }, { + "localId" : "1507", + "locator" : "223:53-223:73", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1502", + "locator" : "223:62-223:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1503", + "locator" : "223:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1504", + "locator" : "223:71-223:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1511", + "locator" : "225:1-225:74", + "name" : "Less.UncertaintyLessFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1511", + "s" : [ { + "value" : [ "","define ","\"Less.UncertaintyLessFalse\"",": " ] + }, { + "r" : "1512", + "s" : [ { + "r" : "1516", + "s" : [ { + "r" : "1513", + "value" : [ "DateTime","(","2015",")" ] + } ] + }, { + "value" : [ " ","<"," " ] + }, { + "r" : "1522", + "s" : [ { + "r" : "1517", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1512", + "locator" : "225:37-225:74", + "type" : "Less", + "signature" : [ { + "localId" : "1523", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1524", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1516", + "locator" : "225:37-225:50", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1513", + "locator" : "225:46-225:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + } + }, { + "localId" : "1522", + "locator" : "225:54-225:74", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1517", + "locator" : "225:63-225:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1518", + "locator" : "225:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1519", + "locator" : "225:72-225:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1526", + "locator" : "227:1-227:44", + "name" : "Less Or Equal.LessOrEqualZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1526", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualZZ\"",": " ] + }, { + "r" : "1527", + "s" : [ { + "r" : "1528", + "value" : [ "0"," ","<="," ","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1527", + "locator" : "227:39-227:44", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1530", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1531", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1528", + "locator" : "227:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1529", + "locator" : "227:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1533", + "locator" : "229:1-229:44", + "name" : "Less Or Equal.LessOrEqualZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1533", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualZ1\"",": " ] + }, { + "r" : "1534", + "s" : [ { + "r" : "1535", + "value" : [ "0"," ","<="," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1534", + "locator" : "229:39-229:44", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1537", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1538", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1535", + "locator" : "229:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1536", + "locator" : "229:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1540", + "locator" : "231:1-231:48", + "name" : "Less Or Equal.LessOrEqualZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1540", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualZNeg1\"",": " ] + }, { + "r" : "1541", + "s" : [ { + "r" : "1542", + "value" : [ "0"," ","<="," " ] + }, { + "r" : "1543", + "s" : [ { + "r" : "1544", + "value" : [ "-","1" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1541", + "locator" : "231:42-231:48", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1546", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1547", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1542", + "locator" : "231:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "1543", + "locator" : "231:47-231:48", + "type" : "Negate", + "signature" : [ { + "localId" : "1545", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1544", + "locator" : "231:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1549", + "locator" : "233:1-233:51", + "name" : "Less Or Equal.LessOrEqualDecZZ", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1549", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualDecZZ\"",": " ] + }, { + "r" : "1550", + "s" : [ { + "r" : "1551", + "value" : [ "0.0"," ","<="," ","0.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1550", + "locator" : "233:42-233:51", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1553", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1554", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1551", + "locator" : "233:42-233:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1552", + "locator" : "233:49-233:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1556", + "locator" : "235:1-235:51", + "name" : "Less Or Equal.LessOrEqualDecZ1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1556", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualDecZ1\"",": " ] + }, { + "r" : "1557", + "s" : [ { + "r" : "1558", + "value" : [ "0.0"," ","<="," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1557", + "locator" : "235:42-235:51", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1560", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1561", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1558", + "locator" : "235:42-235:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1559", + "locator" : "235:49-235:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1563", + "locator" : "237:1-237:55", + "name" : "Less Or Equal.LessOrEqualDecZNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1563", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualDecZNeg1\"",": " ] + }, { + "r" : "1564", + "s" : [ { + "r" : "1565", + "value" : [ "0.0"," ","<="," " ] + }, { + "r" : "1566", + "s" : [ { + "r" : "1567", + "value" : [ "-","1.0" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1564", + "locator" : "237:45-237:55", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1569", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1570", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1565", + "locator" : "237:45-237:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + }, { + "localId" : "1566", + "locator" : "237:52-237:55", + "type" : "Negate", + "signature" : [ { + "localId" : "1568", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1567", + "locator" : "237:53-237:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1572", + "locator" : "239:1-239:52", + "name" : "Less Or Equal.LessOrEqualDec1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1572", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualDec1Int2\"",": " ] + }, { + "r" : "1573", + "s" : [ { + "r" : "1574", + "value" : [ "1.0"," ","<="," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1573", + "locator" : "239:45-239:52", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1579", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1580", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1574", + "locator" : "239:45-239:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1577", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1578", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1575", + "locator" : "239:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1582", + "locator" : "241:1-241:56", + "name" : "Less Or Equal.LessOrEqualCM0CM0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1582", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualCM0CM0\"",": " ] + }, { + "r" : "1583", + "s" : [ { + "r" : "1584", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1585", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1583", + "locator" : "241:43-241:56", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1586", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1587", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1584", + "locator" : "241:43-241:47", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1585", + "locator" : "241:52-241:56", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1589", + "locator" : "243:1-243:56", + "name" : "Less Or Equal.LessOrEqualCM0CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1589", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualCM0CM1\"",": " ] + }, { + "r" : "1590", + "s" : [ { + "r" : "1591", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1592", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1590", + "locator" : "243:43-243:56", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1593", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1594", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1591", + "locator" : "243:43-243:47", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1592", + "locator" : "243:52-243:56", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1596", + "locator" : "245:1-245:60", + "name" : "Less Or Equal.LessOrEqualCM0NegCM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1596", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualCM0NegCM1\"",": " ] + }, { + "r" : "1597", + "s" : [ { + "r" : "1598", + "s" : [ { + "value" : [ "0","'cm'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1599", + "s" : [ { + "value" : [ "-" ] + }, { + "r" : "1600", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1597", + "locator" : "245:46-245:60", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1602", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1603", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1598", + "locator" : "245:46-245:50", + "value" : 0, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1599", + "locator" : "245:55-245:60", + "type" : "Negate", + "signature" : [ { + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1600", + "locator" : "245:56-245:60", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } + } ] + } + }, { + "localId" : "1605", + "locator" : "247:1-247:54", + "name" : "Less Or Equal.LessOrEqualM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1605", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualM1CM1\"",": " ] + }, { + "r" : "1606", + "s" : [ { + "r" : "1607", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1608", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1606", + "locator" : "247:42-247:54", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1609", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1610", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1607", + "locator" : "247:42-247:45", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "1608", + "locator" : "247:50-247:54", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1612", + "locator" : "249:1-249:56", + "name" : "Less Or Equal.LessOrEqualM1CM10", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1612", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualM1CM10\"",": " ] + }, { + "r" : "1613", + "s" : [ { + "r" : "1614", + "s" : [ { + "value" : [ "1","'m'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1615", + "s" : [ { + "value" : [ "10","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1613", + "locator" : "249:43-249:56", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1616", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1617", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1614", + "locator" : "249:43-249:46", + "value" : 1, + "unit" : "m", + "type" : "Quantity" + }, { + "localId" : "1615", + "locator" : "249:51-249:56", + "value" : 10, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1619", + "locator" : "251:1-251:48", + "name" : "Less Or Equal.LessOrEqualAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1619", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualAA\"",": " ] + }, { + "r" : "1620", + "s" : [ { + "r" : "1621", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1622", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1620", + "locator" : "251:39-251:48", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1623", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1624", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1621", + "locator" : "251:39-251:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1622", + "locator" : "251:46-251:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1626", + "locator" : "253:1-253:48", + "name" : "Less Or Equal.LessOrEqualAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1626", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualAB\"",": " ] + }, { + "r" : "1627", + "s" : [ { + "r" : "1628", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1629", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1627", + "locator" : "253:39-253:48", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1630", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1631", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1628", + "locator" : "253:39-253:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1629", + "locator" : "253:46-253:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "1633", + "locator" : "255:1-255:48", + "name" : "Less Or Equal.LessOrEqualBA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1633", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualBA\"",": " ] + }, { + "r" : "1634", + "s" : [ { + "r" : "1635", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1636", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1634", + "locator" : "255:39-255:48", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1637", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1638", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1635", + "locator" : "255:39-255:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "1636", + "locator" : "255:46-255:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1640", + "locator" : "257:1-257:54", + "name" : "Less Or Equal.LessOrEqualAThanAA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1640", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualAThanAA\"",": " ] + }, { + "r" : "1641", + "s" : [ { + "r" : "1642", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1643", + "s" : [ { + "value" : [ "'aa'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1641", + "locator" : "257:44-257:54", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1644", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1645", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1642", + "locator" : "257:44-257:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1643", + "locator" : "257:51-257:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + } ] + } + }, { + "localId" : "1647", + "locator" : "259:1-259:54", + "name" : "Less Or Equal.LessOrEqualAAThanA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1647", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualAAThanA\"",": " ] + }, { + "r" : "1648", + "s" : [ { + "r" : "1649", + "s" : [ { + "value" : [ "'aa'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1650", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1648", + "locator" : "259:44-259:54", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1651", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1652", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1649", + "locator" : "259:44-259:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aa", + "type" : "Literal" + }, { + "localId" : "1650", + "locator" : "259:52-259:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1654", + "locator" : "261:1-261:60", + "name" : "Less Or Equal.LessOrEqualJackJill", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1654", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.LessOrEqualJackJill\"",": " ] + }, { + "r" : "1655", + "s" : [ { + "r" : "1656", + "s" : [ { + "value" : [ "'Jack'" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1657", + "s" : [ { + "value" : [ "'Jill'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1655", + "locator" : "261:45-261:60", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1658", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1659", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1656", + "locator" : "261:45-261:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jack", + "type" : "Literal" + }, { + "localId" : "1657", + "locator" : "261:55-261:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jill", + "type" : "Literal" + } ] + } + }, { + "localId" : "1661", + "locator" : "263:1-263:112", + "name" : "Less Or Equal.DateTimeLessEqTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1661", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.DateTimeLessEqTrue\"",": " ] + }, { + "r" : "1662", + "s" : [ { + "r" : "1672", + "s" : [ { + "r" : "1663", + "value" : [ "DateTime","(","2012",", ","2",", ","9",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1682", + "s" : [ { + "r" : "1673", + "value" : [ "DateTime","(","2012",", ","2",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1662", + "locator" : "263:44-263:112", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1683", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1684", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1672", + "locator" : "263:44-263:75", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1663", + "locator" : "263:53-263:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1664", + "locator" : "263:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1665", + "locator" : "263:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "hour" : { + "localId" : "1666", + "locator" : "263:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1667", + "locator" : "263:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1668", + "locator" : "263:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1669", + "locator" : "263:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1682", + "locator" : "263:80-263:112", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1673", + "locator" : "263:89-263:92", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1674", + "locator" : "263:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1675", + "locator" : "263:98-263:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "1676", + "locator" : "263:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1677", + "locator" : "263:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1678", + "locator" : "263:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1679", + "locator" : "263:111", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1686", + "locator" : "265:1-265:114", + "name" : "Less Or Equal.DateTimeLessEqTrue2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1686", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.DateTimeLessEqTrue2\"",": " ] + }, { + "r" : "1687", + "s" : [ { + "r" : "1697", + "s" : [ { + "r" : "1688", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1707", + "s" : [ { + "r" : "1698", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1687", + "locator" : "265:45-265:114", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1708", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1709", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1697", + "locator" : "265:45-265:77", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1688", + "locator" : "265:54-265:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1689", + "locator" : "265:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1690", + "locator" : "265:63-265:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1691", + "locator" : "265:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1692", + "locator" : "265:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1693", + "locator" : "265:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1694", + "locator" : "265:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1707", + "locator" : "265:82-265:114", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1698", + "locator" : "265:91-265:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1699", + "locator" : "265:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1700", + "locator" : "265:100-265:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1701", + "locator" : "265:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1702", + "locator" : "265:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1703", + "locator" : "265:110", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1704", + "locator" : "265:113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1711", + "locator" : "267:1-267:114", + "name" : "Less Or Equal.DateTimeLessEqFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1711", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.DateTimeLessEqFalse\"",": " ] + }, { + "r" : "1712", + "s" : [ { + "r" : "1722", + "s" : [ { + "r" : "1713", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","1",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1732", + "s" : [ { + "r" : "1723", + "value" : [ "DateTime","(","2012",", ","2",", ","12",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1712", + "locator" : "267:45-267:114", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1733", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1734", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1722", + "locator" : "267:45-267:77", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1713", + "locator" : "267:54-267:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1714", + "locator" : "267:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1715", + "locator" : "267:63-267:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1716", + "locator" : "267:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "minute" : { + "localId" : "1717", + "locator" : "267:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1718", + "locator" : "267:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1719", + "locator" : "267:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1732", + "locator" : "267:82-267:114", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1723", + "locator" : "267:91-267:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1724", + "locator" : "267:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1725", + "locator" : "267:100-267:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "hour" : { + "localId" : "1726", + "locator" : "267:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "1727", + "locator" : "267:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1728", + "locator" : "267:110", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1729", + "locator" : "267:113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1736", + "locator" : "269:1-269:71", + "name" : "Less Or Equal.TimeLessEqTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1736", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.TimeLessEqTrue\"",": " ] + }, { + "r" : "1737", + "s" : [ { + "r" : "1738", + "value" : [ "@T10:00:00.001"," ","<="," ","@T10:00:00.002" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1737", + "locator" : "269:40-269:71", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1748", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1749", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1738", + "locator" : "269:40-269:53", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1739", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1740", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1741", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1742", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "1743", + "locator" : "269:58-269:71", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1744", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1745", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1746", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1747", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1751", + "locator" : "271:1-271:72", + "name" : "Less Or Equal.TimeLessEqTrue2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1751", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.TimeLessEqTrue2\"",": " ] + }, { + "r" : "1752", + "s" : [ { + "r" : "1753", + "value" : [ "@T10:00:00.000"," ","<="," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1752", + "locator" : "271:41-271:72", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1763", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1764", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1753", + "locator" : "271:41-271:54", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1754", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1755", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1756", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1757", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "1758", + "locator" : "271:59-271:72", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1759", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1760", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1761", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1762", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1766", + "locator" : "273:1-273:72", + "name" : "Less Or Equal.TimeLessEqFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1766", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.TimeLessEqFalse\"",": " ] + }, { + "r" : "1767", + "s" : [ { + "r" : "1768", + "value" : [ "@T10:00:00.002"," ","<="," ","@T10:00:00.001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1767", + "locator" : "273:41-273:72", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1778", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1779", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1768", + "locator" : "273:41-273:54", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1769", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1770", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1771", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1772", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "1773", + "locator" : "273:59-273:72", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1774", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "1775", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "1776", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1777", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1781", + "locator" : "275:1-275:88", + "name" : "Less Or Equal.UncertaintyLessEqualNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1781", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.UncertaintyLessEqualNull\"",": " ] + }, { + "r" : "1782", + "s" : [ { + "r" : "1786", + "s" : [ { + "r" : "1783", + "value" : [ "DateTime","(","2014",")" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1792", + "s" : [ { + "r" : "1787", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1782", + "locator" : "275:50-275:88", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1793", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1794", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1786", + "locator" : "275:50-275:63", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1783", + "locator" : "275:59-275:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + } + }, { + "localId" : "1792", + "locator" : "275:68-275:88", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1787", + "locator" : "275:77-275:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1788", + "locator" : "275:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1789", + "locator" : "275:86-275:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1796", + "locator" : "277:1-277:88", + "name" : "Less Or Equal.UncertaintyLessEqualTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1796", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.UncertaintyLessEqualTrue\"",": " ] + }, { + "r" : "1797", + "s" : [ { + "r" : "1801", + "s" : [ { + "r" : "1798", + "value" : [ "DateTime","(","2013",")" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1807", + "s" : [ { + "r" : "1802", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1797", + "locator" : "277:50-277:88", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1808", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1809", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1801", + "locator" : "277:50-277:63", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1798", + "locator" : "277:59-277:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2013", + "type" : "Literal" + } + }, { + "localId" : "1807", + "locator" : "277:68-277:88", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1802", + "locator" : "277:77-277:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1803", + "locator" : "277:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1804", + "locator" : "277:86-277:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1811", + "locator" : "279:1-279:89", + "name" : "Less Or Equal.UncertaintyLessEqualFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1811", + "s" : [ { + "value" : [ "","define ","\"Less Or Equal.UncertaintyLessEqualFalse\"",": " ] + }, { + "r" : "1812", + "s" : [ { + "r" : "1816", + "s" : [ { + "r" : "1813", + "value" : [ "DateTime","(","2015",")" ] + } ] + }, { + "value" : [ " ","<="," " ] + }, { + "r" : "1822", + "s" : [ { + "r" : "1817", + "value" : [ "DateTime","(","2014",", ","2",", ","15",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1812", + "locator" : "279:51-279:89", + "type" : "LessOrEqual", + "signature" : [ { + "localId" : "1823", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1824", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1816", + "locator" : "279:51-279:64", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1813", + "locator" : "279:60-279:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + } + }, { + "localId" : "1822", + "locator" : "279:69-279:89", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1817", + "locator" : "279:78-279:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1818", + "locator" : "279:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "1819", + "locator" : "279:87-279:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1826", + "locator" : "281:1-281:46", + "name" : "Equivalent.EquivTrueTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1826", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTrueTrue\"",": " ] + }, { + "r" : "1827", + "s" : [ { + "r" : "1828", + "value" : [ "true"," ","~"," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1827", + "locator" : "281:36-281:46", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1830", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1831", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1828", + "locator" : "281:36-281:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "1829", + "locator" : "281:43-281:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "1833", + "locator" : "283:1-283:48", + "name" : "Equivalent.EquivTrueFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1833", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTrueFalse\"",": " ] + }, { + "r" : "1834", + "s" : [ { + "r" : "1835", + "value" : [ "true"," ","~"," ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1834", + "locator" : "283:37-283:48", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1837", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1838", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1835", + "locator" : "283:37-283:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "1836", + "locator" : "283:44-283:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "1840", + "locator" : "285:1-285:50", + "name" : "Equivalent.EquivFalseFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1840", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivFalseFalse\"",": " ] + }, { + "r" : "1841", + "s" : [ { + "r" : "1842", + "value" : [ "false"," ","~"," ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1841", + "locator" : "285:38-285:50", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1844", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1845", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1842", + "locator" : "285:38-285:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "1843", + "locator" : "285:46-285:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "1847", + "locator" : "287:1-287:48", + "name" : "Equivalent.EquivFalseTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1847", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivFalseTrue\"",": " ] + }, { + "r" : "1848", + "s" : [ { + "r" : "1849", + "value" : [ "false"," ","~"," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1848", + "locator" : "287:37-287:48", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1851", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1849", + "locator" : "287:37-287:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "1850", + "locator" : "287:45-287:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "1854", + "locator" : "289:1-289:56", + "name" : "Equivalent.EquivNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1854", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivNullNull\"",": " ] + }, { + "r" : "1855", + "s" : [ { + "r" : "1856", + "s" : [ { + "r" : "1857", + "value" : [ "null"," as " ] + }, { + "r" : "1858", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "r" : "1859", + "value" : [ " ","~"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1855", + "locator" : "289:36-289:56", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1861", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1862", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1856", + "locator" : "289:36-289:49", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1857", + "locator" : "289:36-289:39", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1858", + "locator" : "289:44-289:49", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1860", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1859", + "locator" : "289:53-289:56", + "type" : "Null" + } + } ] + } + }, { + "localId" : "1864", + "locator" : "291:1-291:46", + "name" : "Equivalent.EquivTrueNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1864", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTrueNull\"",": " ] + }, { + "r" : "1865", + "s" : [ { + "r" : "1866", + "value" : [ "true"," ","~"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1865", + "locator" : "291:36-291:46", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1869", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1866", + "locator" : "291:36-291:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "1868", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1867", + "locator" : "291:43-291:46", + "type" : "Null" + } + } ] + } + }, { + "localId" : "1872", + "locator" : "293:1-293:46", + "name" : "Equivalent.EquivNullTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1872", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivNullTrue\"",": " ] + }, { + "r" : "1873", + "s" : [ { + "r" : "1874", + "value" : [ "null"," ","~"," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1873", + "locator" : "293:36-293:46", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1877", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1878", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1876", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1874", + "locator" : "293:36-293:39", + "type" : "Null" + } + }, { + "localId" : "1875", + "locator" : "293:43-293:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "1880", + "locator" : "295:1-295:40", + "name" : "Equivalent.EquivInt1Int1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1880", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivInt1Int1\"",": " ] + }, { + "r" : "1881", + "s" : [ { + "r" : "1882", + "value" : [ "1"," ","~"," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1881", + "locator" : "295:36-295:40", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1884", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1882", + "locator" : "295:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1883", + "locator" : "295:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1887", + "locator" : "297:1-297:40", + "name" : "Equivalent.EquivInt1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1887", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivInt1Int2\"",": " ] + }, { + "r" : "1888", + "s" : [ { + "r" : "1889", + "value" : [ "1"," ","~"," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1888", + "locator" : "297:36-297:40", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1891", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1892", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1889", + "locator" : "297:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1890", + "locator" : "297:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1894", + "locator" : "299:1-299:50", + "name" : "Equivalent.EquivStringAStringA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1894", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivStringAStringA\"",": " ] + }, { + "r" : "1895", + "s" : [ { + "r" : "1896", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "1897", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1895", + "locator" : "299:42-299:50", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1898", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1899", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1896", + "locator" : "299:42-299:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1897", + "locator" : "299:48-299:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "1901", + "locator" : "301:1-301:50", + "name" : "Equivalent.EquivStringAStringB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1901", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivStringAStringB\"",": " ] + }, { + "r" : "1902", + "s" : [ { + "r" : "1903", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "1904", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1902", + "locator" : "301:42-301:50", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1905", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1906", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1903", + "locator" : "301:42-301:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1904", + "locator" : "301:48-301:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "1908", + "locator" : "303:1-303:48", + "name" : "Equivalent.EquivFloat1Float1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1908", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivFloat1Float1\"",": " ] + }, { + "r" : "1909", + "s" : [ { + "r" : "1910", + "value" : [ "1.0"," ","~"," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1909", + "locator" : "303:40-303:48", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1912", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1913", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1910", + "locator" : "303:40-303:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1911", + "locator" : "303:46-303:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1915", + "locator" : "305:1-305:48", + "name" : "Equivalent.EquivFloat1Float2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1915", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivFloat1Float2\"",": " ] + }, { + "r" : "1916", + "s" : [ { + "r" : "1917", + "value" : [ "1.0"," ","~"," ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1916", + "locator" : "305:40-305:48", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1919", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1920", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1917", + "locator" : "305:40-305:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1918", + "locator" : "305:46-305:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1922", + "locator" : "307:1-307:44", + "name" : "Equivalent.EquivFloat1Int1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1922", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivFloat1Int1\"",": " ] + }, { + "r" : "1923", + "s" : [ { + "r" : "1924", + "value" : [ "1.0"," ","~"," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1923", + "locator" : "307:38-307:44", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1929", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1930", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1924", + "locator" : "307:38-307:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1927", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1925", + "locator" : "307:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1932", + "locator" : "309:1-309:44", + "name" : "Equivalent.EquivFloat1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1932", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivFloat1Int2\"",": " ] + }, { + "r" : "1933", + "s" : [ { + "r" : "1934", + "value" : [ "1.0"," ","~"," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1933", + "locator" : "309:38-309:44", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1939", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1940", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1934", + "locator" : "309:38-309:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "1937", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1935", + "locator" : "309:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1942", + "locator" : "311:1-311:48", + "name" : "Equivalent.EquivEqCM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1942", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivEqCM1CM1\"",": " ] + }, { + "r" : "1943", + "s" : [ { + "r" : "1944", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "1945", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1943", + "locator" : "311:36-311:48", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1946", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1944", + "locator" : "311:36-311:40", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1945", + "locator" : "311:44-311:48", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1949", + "locator" : "313:1-313:50", + "name" : "Equivalent.EquivEqCM1M01", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1949", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivEqCM1M01\"",": " ] + }, { + "r" : "1950", + "s" : [ { + "r" : "1951", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "1952", + "s" : [ { + "value" : [ "0.01","'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1950", + "locator" : "313:36-313:50", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1953", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1954", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1951", + "locator" : "313:36-313:40", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "1952", + "locator" : "313:44-313:50", + "value" : 0.01, + "unit" : "m", + "type" : "Quantity" + } ] + } + }, { + "localId" : "1956", + "locator" : "315:1-315:105", + "name" : "Equivalent.EquivTupleJohnJohn", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1956", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTupleJohnJohn\"",": " ] + }, { + "r" : "1957", + "s" : [ { + "r" : "1958", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "1959", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "1960", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "1961", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "1962", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "1963", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1957", + "locator" : "315:41-315:105", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1964", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "1965", + "name" : "Id", + "elementType" : { + "localId" : "1966", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1967", + "name" : "Name", + "elementType" : { + "localId" : "1968", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "1969", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "1970", + "name" : "Id", + "elementType" : { + "localId" : "1971", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1972", + "name" : "Name", + "elementType" : { + "localId" : "1973", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "1958", + "locator" : "315:41-315:71", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "1959", + "locator" : "315:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "1960", + "locator" : "315:64-315:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "1961", + "locator" : "315:75-315:105", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "1962", + "locator" : "315:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "1963", + "locator" : "315:98-315:103", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1975", + "locator" : "317:1-317:146", + "name" : "Equivalent.EquivTupleJohnJohnWithNulls", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1975", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTupleJohnJohnWithNulls\"",": " ] + }, { + "r" : "1976", + "s" : [ { + "r" : "1977", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "1978", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "1979", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "1980", + "value" : [ "Position",": ","null" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "1981", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "1982", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "1983", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "r" : "1984", + "value" : [ "Position",": ","null" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1976", + "locator" : "317:50-317:146", + "type" : "Equivalent", + "signature" : [ { + "localId" : "1985", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "1986", + "name" : "Id", + "elementType" : { + "localId" : "1987", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1988", + "name" : "Name", + "elementType" : { + "localId" : "1989", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1990", + "name" : "Position", + "elementType" : { + "localId" : "1991", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "1992", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "1993", + "name" : "Id", + "elementType" : { + "localId" : "1994", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1995", + "name" : "Name", + "elementType" : { + "localId" : "1996", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1997", + "name" : "Position", + "elementType" : { + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "1977", + "locator" : "317:50-317:96", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "1978", + "locator" : "317:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "1979", + "locator" : "317:73-317:78", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + }, { + "name" : "Position", + "value" : { + "localId" : "1980", + "locator" : "317:91-317:94", + "type" : "Null" + } + } ] + }, { + "localId" : "1981", + "locator" : "317:100-317:146", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "1982", + "locator" : "317:113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "1983", + "locator" : "317:123-317:128", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + }, { + "name" : "Position", + "value" : { + "localId" : "1984", + "locator" : "317:141-317:144", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "2000", + "locator" : "319:1-319:105", + "name" : "Equivalent.EquivTupleJohnJane", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2000", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTupleJohnJane\"",": " ] + }, { + "r" : "2001", + "s" : [ { + "r" : "2002", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "2003", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2004", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2005", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "2006", + "value" : [ "Id"," : ","2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2007", + "s" : [ { + "value" : [ "'Jane'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2001", + "locator" : "319:41-319:105", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2008", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2009", + "name" : "Id", + "elementType" : { + "localId" : "2010", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2011", + "name" : "Name", + "elementType" : { + "localId" : "2012", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "2013", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2014", + "name" : "Id", + "elementType" : { + "localId" : "2015", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2016", + "name" : "Name", + "elementType" : { + "localId" : "2017", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "2002", + "locator" : "319:41-319:71", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2003", + "locator" : "319:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2004", + "locator" : "319:64-319:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "2005", + "locator" : "319:75-319:105", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2006", + "locator" : "319:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2007", + "locator" : "319:98-319:103", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jane", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2019", + "locator" : "321:1-321:107", + "name" : "Equivalent.EquivTupleJohn1John2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2019", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTupleJohn1John2\"",": " ] + }, { + "r" : "2020", + "s" : [ { + "r" : "2021", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "2022", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2023", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2024", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "2025", + "value" : [ "Id"," : ","2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2026", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2020", + "locator" : "321:43-321:107", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2027", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2028", + "name" : "Id", + "elementType" : { + "localId" : "2029", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2030", + "name" : "Name", + "elementType" : { + "localId" : "2031", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "2032", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2033", + "name" : "Id", + "elementType" : { + "localId" : "2034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2035", + "name" : "Name", + "elementType" : { + "localId" : "2036", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "2021", + "locator" : "321:43-321:73", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2022", + "locator" : "321:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2023", + "locator" : "321:66-321:71", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "2024", + "locator" : "321:77-321:107", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2025", + "locator" : "321:90", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2026", + "locator" : "321:100-321:105", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2038", + "locator" : "323:1-323:62", + "name" : "Equivalent.EquivDateTimeTodayToday", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2038", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivDateTimeTodayToday\"",": " ] + }, { + "r" : "2039", + "s" : [ { + "r" : "2042", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2045", + "s" : [ { + "value" : [ "Today","()" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2039", + "locator" : "323:46-323:62", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2046", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2047", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2042", + "locator" : "323:46-323:52", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "2045", + "locator" : "323:56-323:62", + "type" : "Today", + "signature" : [ ] + } ] + } + }, { + "localId" : "2049", + "locator" : "325:1-325:75", + "name" : "Equivalent.EquivDateTimeTodayYesterday", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2049", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivDateTimeTodayYesterday\"",": " ] + }, { + "r" : "2050", + "s" : [ { + "r" : "2053", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2054", + "s" : [ { + "r" : "2057", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "2058", + "s" : [ { + "value" : [ "1 ","days" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2050", + "locator" : "325:50-325:75", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2061", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2062", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2053", + "locator" : "325:50-325:56", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "2054", + "locator" : "325:60-325:75", + "type" : "Subtract", + "signature" : [ { + "localId" : "2059", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2060", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2057", + "locator" : "325:60-325:66", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "2058", + "locator" : "325:70-325:75", + "value" : 1, + "unit" : "days", + "type" : "Quantity" + } ] + } ] + } + }, { + "localId" : "2064", + "locator" : "327:1-327:68", + "name" : "Equivalent.EquivTime10A10A", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2064", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTime10A10A\"",": " ] + }, { + "r" : "2065", + "s" : [ { + "r" : "2066", + "value" : [ "@T10:00:00.000"," ","~"," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2065", + "locator" : "327:38-327:68", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2076", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2077", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2066", + "locator" : "327:38-327:51", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2067", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "2068", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2069", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2070", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2071", + "locator" : "327:55-327:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2072", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "2073", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2074", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2075", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "2079", + "locator" : "329:1-329:68", + "name" : "Equivalent.EquivTime10A10P", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2079", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivTime10A10P\"",": " ] + }, { + "r" : "2080", + "s" : [ { + "r" : "2081", + "value" : [ "@T10:00:00.000"," ","~"," ","@T22:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2080", + "locator" : "329:38-329:68", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2091", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2092", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2081", + "locator" : "329:38-329:51", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2082", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "2083", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2084", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2085", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2086", + "locator" : "329:55-329:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2087", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "minute" : { + "localId" : "2088", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2089", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2090", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "2094", + "locator" : "331:1-331:52", + "name" : "Not Equal.SimpleNotEqTrueTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2094", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqTrueTrue\"",": " ] + }, { + "r" : "2100", + "s" : [ { + "r" : "2096", + "value" : [ "true"," ","!="," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2100", + "locator" : "331:41-331:52", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2095", + "locator" : "331:41-331:52", + "type" : "Equal", + "signature" : [ { + "localId" : "2098", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2099", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2096", + "locator" : "331:41-331:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "2097", + "locator" : "331:49-331:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2102", + "locator" : "333:1-333:54", + "name" : "Not Equal.SimpleNotEqTrueFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2102", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqTrueFalse\"",": " ] + }, { + "r" : "2108", + "s" : [ { + "r" : "2104", + "value" : [ "true"," ","!="," ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2108", + "locator" : "333:42-333:54", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2103", + "locator" : "333:42-333:54", + "type" : "Equal", + "signature" : [ { + "localId" : "2106", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2107", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2104", + "locator" : "333:42-333:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "2105", + "locator" : "333:50-333:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2110", + "locator" : "335:1-335:56", + "name" : "Not Equal.SimpleNotEqFalseFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2110", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqFalseFalse\"",": " ] + }, { + "r" : "2116", + "s" : [ { + "r" : "2112", + "value" : [ "false"," ","!="," ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2116", + "locator" : "335:43-335:56", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2111", + "locator" : "335:43-335:56", + "type" : "Equal", + "signature" : [ { + "localId" : "2114", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2115", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2112", + "locator" : "335:43-335:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "2113", + "locator" : "335:52-335:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2118", + "locator" : "337:1-337:54", + "name" : "Not Equal.SimpleNotEqFalseTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2118", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqFalseTrue\"",": " ] + }, { + "r" : "2124", + "s" : [ { + "r" : "2120", + "value" : [ "false"," ","!="," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2124", + "locator" : "337:42-337:54", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2119", + "locator" : "337:42-337:54", + "type" : "Equal", + "signature" : [ { + "localId" : "2122", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2123", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2120", + "locator" : "337:42-337:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "2121", + "locator" : "337:51-337:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2126", + "locator" : "339:1-339:62", + "name" : "Not Equal.SimpleNotEqNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2126", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqNullNull\"",": " ] + }, { + "r" : "2135", + "s" : [ { + "r" : "2128", + "s" : [ { + "r" : "2129", + "value" : [ "null"," as " ] + }, { + "r" : "2130", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "r" : "2131", + "value" : [ " ","!="," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2135", + "locator" : "339:41-339:62", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2127", + "locator" : "339:41-339:62", + "type" : "Equal", + "signature" : [ { + "localId" : "2133", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2134", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2128", + "locator" : "339:41-339:54", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2129", + "locator" : "339:41-339:44", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "2130", + "locator" : "339:49-339:54", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2132", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2131", + "locator" : "339:59-339:62", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "2137", + "locator" : "341:1-341:52", + "name" : "Not Equal.SimpleNotEqTrueNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2137", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqTrueNull\"",": " ] + }, { + "r" : "2144", + "s" : [ { + "r" : "2139", + "value" : [ "true"," ","!="," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2144", + "locator" : "341:41-341:52", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2138", + "locator" : "341:41-341:52", + "type" : "Equal", + "signature" : [ { + "localId" : "2142", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2143", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2139", + "locator" : "341:41-341:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "2141", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2140", + "locator" : "341:49-341:52", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "2146", + "locator" : "343:1-343:52", + "name" : "Not Equal.SimpleNotEqNullTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2146", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqNullTrue\"",": " ] + }, { + "r" : "2153", + "s" : [ { + "r" : "2148", + "value" : [ "null"," ","!="," ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2153", + "locator" : "343:41-343:52", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2147", + "locator" : "343:41-343:52", + "type" : "Equal", + "signature" : [ { + "localId" : "2151", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2152", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2150", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2148", + "locator" : "343:41-343:44", + "type" : "Null" + } + }, { + "localId" : "2149", + "locator" : "343:49-343:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2155", + "locator" : "345:1-345:46", + "name" : "Not Equal.SimpleNotEqInt1Int1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2155", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqInt1Int1\"",": " ] + }, { + "r" : "2161", + "s" : [ { + "r" : "2157", + "value" : [ "1"," ","!="," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2161", + "locator" : "345:41-345:46", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2156", + "locator" : "345:41-345:46", + "type" : "Equal", + "signature" : [ { + "localId" : "2159", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2160", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2157", + "locator" : "345:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2158", + "locator" : "345:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2163", + "locator" : "347:1-347:46", + "name" : "Not Equal.SimpleNotEqInt1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2163", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqInt1Int2\"",": " ] + }, { + "r" : "2169", + "s" : [ { + "r" : "2165", + "value" : [ "1"," ","!="," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2169", + "locator" : "347:41-347:46", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2164", + "locator" : "347:41-347:46", + "type" : "Equal", + "signature" : [ { + "localId" : "2167", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2168", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2165", + "locator" : "347:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2166", + "locator" : "347:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2171", + "locator" : "349:1-349:56", + "name" : "Not Equal.SimpleNotEqStringAStringA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2171", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqStringAStringA\"",": " ] + }, { + "r" : "2177", + "s" : [ { + "r" : "2173", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2174", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2177", + "locator" : "349:47-349:56", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2172", + "locator" : "349:47-349:56", + "type" : "Equal", + "signature" : [ { + "localId" : "2175", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2176", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2173", + "locator" : "349:47-349:49", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2174", + "locator" : "349:54-349:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2179", + "locator" : "351:1-351:56", + "name" : "Not Equal.SimpleNotEqStringAStringB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2179", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqStringAStringB\"",": " ] + }, { + "r" : "2185", + "s" : [ { + "r" : "2181", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2182", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2185", + "locator" : "351:47-351:56", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2180", + "locator" : "351:47-351:56", + "type" : "Equal", + "signature" : [ { + "localId" : "2183", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2184", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2181", + "locator" : "351:47-351:49", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2182", + "locator" : "351:54-351:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2187", + "locator" : "353:1-353:54", + "name" : "Not Equal.SimpleNotEqFloat1Float1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2187", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqFloat1Float1\"",": " ] + }, { + "r" : "2193", + "s" : [ { + "r" : "2189", + "value" : [ "1.0"," ","!="," ","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2193", + "locator" : "353:45-353:54", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2188", + "locator" : "353:45-353:54", + "type" : "Equal", + "signature" : [ { + "localId" : "2191", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2192", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2189", + "locator" : "353:45-353:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "2190", + "locator" : "353:52-353:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2195", + "locator" : "355:1-355:54", + "name" : "Not Equal.SimpleNotEqFloat1Float2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2195", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqFloat1Float2\"",": " ] + }, { + "r" : "2201", + "s" : [ { + "r" : "2197", + "value" : [ "1.0"," ","!="," ","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2201", + "locator" : "355:45-355:54", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2196", + "locator" : "355:45-355:54", + "type" : "Equal", + "signature" : [ { + "localId" : "2199", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2200", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2197", + "locator" : "355:45-355:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "2198", + "locator" : "355:52-355:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2203", + "locator" : "357:1-357:50", + "name" : "Not Equal.SimpleNotEqFloat1Int1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2203", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqFloat1Int1\"",": " ] + }, { + "r" : "2212", + "s" : [ { + "r" : "2205", + "value" : [ "1.0"," ","!="," ","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2212", + "locator" : "357:43-357:50", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2204", + "locator" : "357:43-357:50", + "type" : "Equal", + "signature" : [ { + "localId" : "2210", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2211", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2205", + "locator" : "357:43-357:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "2208", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "2209", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "2206", + "locator" : "357:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2214", + "locator" : "359:1-359:50", + "name" : "Not Equal.SimpleNotEqFloat1Int2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2214", + "s" : [ { + "value" : [ "","define ","\"Not Equal.SimpleNotEqFloat1Int2\"",": " ] + }, { + "r" : "2223", + "s" : [ { + "r" : "2216", + "value" : [ "1.0"," ","!="," ","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2223", + "locator" : "359:43-359:50", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2215", + "locator" : "359:43-359:50", + "type" : "Equal", + "signature" : [ { + "localId" : "2221", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2222", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2216", + "locator" : "359:43-359:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + }, { + "localId" : "2219", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "2220", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "2217", + "locator" : "359:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2225", + "locator" : "361:1-361:54", + "name" : "Not Equal.QuantityNotEqCM1CM1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2225", + "s" : [ { + "value" : [ "","define ","\"Not Equal.QuantityNotEqCM1CM1\"",": " ] + }, { + "r" : "2231", + "s" : [ { + "r" : "2227", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2228", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2231", + "locator" : "361:41-361:54", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2226", + "locator" : "361:41-361:54", + "type" : "Equal", + "signature" : [ { + "localId" : "2229", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2230", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2227", + "locator" : "361:41-361:45", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "2228", + "locator" : "361:50-361:54", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + } ] + } + } + }, { + "localId" : "2233", + "locator" : "363:1-363:56", + "name" : "Not Equal.QuantityNotEqCM1M01", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2233", + "s" : [ { + "value" : [ "","define ","\"Not Equal.QuantityNotEqCM1M01\"",": " ] + }, { + "r" : "2239", + "s" : [ { + "r" : "2235", + "s" : [ { + "value" : [ "1","'cm'" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2236", + "s" : [ { + "value" : [ "0.01","'m'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2239", + "locator" : "363:41-363:56", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2234", + "locator" : "363:41-363:56", + "type" : "Equal", + "signature" : [ { + "localId" : "2237", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2238", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2235", + "locator" : "363:41-363:45", + "value" : 1, + "unit" : "cm", + "type" : "Quantity" + }, { + "localId" : "2236", + "locator" : "363:50-363:56", + "value" : 0.01, + "unit" : "m", + "type" : "Quantity" + } ] + } + } + }, { + "localId" : "2241", + "locator" : "365:1-365:103", + "name" : "Not Equal.TupleNotEqJohnJohn", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2241", + "s" : [ { + "value" : [ "","define ","\"Not Equal.TupleNotEqJohnJohn\"",": " ] + }, { + "r" : "2259", + "s" : [ { + "r" : "2243", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "2244", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2245", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2246", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "2247", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2248", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2259", + "locator" : "365:40-365:103", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2242", + "locator" : "365:40-365:103", + "type" : "Equal", + "signature" : [ { + "localId" : "2249", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2250", + "name" : "Id", + "elementType" : { + "localId" : "2251", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2252", + "name" : "Name", + "elementType" : { + "localId" : "2253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "2254", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2255", + "name" : "Id", + "elementType" : { + "localId" : "2256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2257", + "name" : "Name", + "elementType" : { + "localId" : "2258", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "2243", + "locator" : "365:40-365:69", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2244", + "locator" : "365:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2245", + "locator" : "365:62-365:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "2246", + "locator" : "365:74-365:103", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2247", + "locator" : "365:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2248", + "locator" : "365:96-365:101", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "2261", + "locator" : "367:1-367:103", + "name" : "Not Equal.TupleNotEqJohnJane", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2261", + "s" : [ { + "value" : [ "","define ","\"Not Equal.TupleNotEqJohnJane\"",": " ] + }, { + "r" : "2279", + "s" : [ { + "r" : "2263", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "2264", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2265", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2266", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "2267", + "value" : [ "Id"," : ","2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2268", + "s" : [ { + "value" : [ "'Jane'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2279", + "locator" : "367:40-367:103", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2262", + "locator" : "367:40-367:103", + "type" : "Equal", + "signature" : [ { + "localId" : "2269", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2270", + "name" : "Id", + "elementType" : { + "localId" : "2271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2272", + "name" : "Name", + "elementType" : { + "localId" : "2273", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "2274", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2275", + "name" : "Id", + "elementType" : { + "localId" : "2276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2277", + "name" : "Name", + "elementType" : { + "localId" : "2278", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "2263", + "locator" : "367:40-367:69", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2264", + "locator" : "367:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2265", + "locator" : "367:62-367:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "2266", + "locator" : "367:74-367:103", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2267", + "locator" : "367:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2268", + "locator" : "367:96-367:101", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Jane", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "2281", + "locator" : "369:1-369:105", + "name" : "Not Equal.TupleNotEqJohn1John2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2281", + "s" : [ { + "value" : [ "","define ","\"Not Equal.TupleNotEqJohn1John2\"",": " ] + }, { + "r" : "2299", + "s" : [ { + "r" : "2283", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "2284", + "value" : [ "Id"," : ","1" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2285", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2286", + "s" : [ { + "value" : [ "Tuple{ " ] + }, { + "s" : [ { + "r" : "2287", + "value" : [ "Id"," : ","2" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "Name"," : " ] + }, { + "r" : "2288", + "s" : [ { + "value" : [ "'John'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2299", + "locator" : "369:42-369:105", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2282", + "locator" : "369:42-369:105", + "type" : "Equal", + "signature" : [ { + "localId" : "2289", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2290", + "name" : "Id", + "elementType" : { + "localId" : "2291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2292", + "name" : "Name", + "elementType" : { + "localId" : "2293", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + }, { + "localId" : "2294", + "type" : "TupleTypeSpecifier", + "element" : [ { + "localId" : "2295", + "name" : "Id", + "elementType" : { + "localId" : "2296", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2297", + "name" : "Name", + "elementType" : { + "localId" : "2298", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ] + } ], + "operand" : [ { + "localId" : "2283", + "locator" : "369:42-369:71", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2284", + "locator" : "369:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2285", + "locator" : "369:64-369:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + }, { + "localId" : "2286", + "locator" : "369:76-369:105", + "type" : "Tuple", + "element" : [ { + "name" : "Id", + "value" : { + "localId" : "2287", + "locator" : "369:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "name" : "Name", + "value" : { + "localId" : "2288", + "locator" : "369:98-369:103", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "John", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "2301", + "locator" : "371:1-371:62", + "name" : "Not Equal.DateTimeNotEqTodayToday", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2301", + "s" : [ { + "value" : [ "","define ","\"Not Equal.DateTimeNotEqTodayToday\"",": " ] + }, { + "r" : "2311", + "s" : [ { + "r" : "2305", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2308", + "s" : [ { + "value" : [ "Today","()" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2311", + "locator" : "371:45-371:62", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2302", + "locator" : "371:45-371:62", + "type" : "Equal", + "signature" : [ { + "localId" : "2309", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2310", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2305", + "locator" : "371:45-371:51", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "2308", + "locator" : "371:56-371:62", + "type" : "Today", + "signature" : [ ] + } ] + } + } + }, { + "localId" : "2313", + "locator" : "373:1-373:75", + "name" : "Not Equal.DateTimeNotEqTodayYesterday", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2313", + "s" : [ { + "value" : [ "","define ","\"Not Equal.DateTimeNotEqTodayYesterday\"",": " ] + }, { + "r" : "2327", + "s" : [ { + "r" : "2317", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2318", + "s" : [ { + "r" : "2321", + "s" : [ { + "value" : [ "Today","()" ] + } ] + }, { + "value" : [ " - " ] + }, { + "r" : "2322", + "s" : [ { + "value" : [ "1 ","days" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2327", + "locator" : "373:49-373:75", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2314", + "locator" : "373:49-373:75", + "type" : "Equal", + "signature" : [ { + "localId" : "2325", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2326", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2317", + "locator" : "373:49-373:55", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "2318", + "locator" : "373:60-373:75", + "type" : "Subtract", + "signature" : [ { + "localId" : "2323", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2324", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2321", + "locator" : "373:60-373:66", + "type" : "Today", + "signature" : [ ] + }, { + "localId" : "2322", + "locator" : "373:70-373:75", + "value" : 1, + "unit" : "days", + "type" : "Quantity" + } ] + } ] + } + } + }, { + "localId" : "2329", + "locator" : "375:1-375:68", + "name" : "Not Equal.TimeNotEq10A10A", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2329", + "s" : [ { + "value" : [ "","define ","\"Not Equal.TimeNotEq10A10A\"",": " ] + }, { + "r" : "2343", + "s" : [ { + "r" : "2331", + "value" : [ "@T10:00:00.000"," ","!="," ","@T10:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2343", + "locator" : "375:37-375:68", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2330", + "locator" : "375:37-375:68", + "type" : "Equal", + "signature" : [ { + "localId" : "2341", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2342", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2331", + "locator" : "375:37-375:50", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2332", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "2333", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2334", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2335", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2336", + "locator" : "375:55-375:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2337", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "2338", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2339", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2340", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2345", + "locator" : "377:1-377:68", + "name" : "Not Equal.TimeNotEq10A10P", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2345", + "s" : [ { + "value" : [ "","define ","\"Not Equal.TimeNotEq10A10P\"",": " ] + }, { + "r" : "2359", + "s" : [ { + "r" : "2347", + "value" : [ "@T10:00:00.000"," ","!="," ","@T22:00:00.000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2359", + "locator" : "377:37-377:68", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2346", + "locator" : "377:37-377:68", + "type" : "Equal", + "signature" : [ { + "localId" : "2357", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "2358", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "2347", + "locator" : "377:37-377:50", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2348", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "2349", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2352", + "locator" : "377:55-377:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2353", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "minute" : { + "localId" : "2354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } + } + } ] + } + } +} + diff --git a/cql/CqlComparisonOperatorsTest.xml b/cql/CqlComparisonOperatorsTest.xml new file mode 100644 index 0000000..ff5dedd --- /dev/null +++ b/cql/CqlComparisonOperatorsTest.xml @@ -0,0 +1,5086 @@ + + + + + + library CqlComparisonOperatorsTest + + + + + + + + + + + + define "Between.BetweenIntTrue": + + 4 between 2 and 6 + + + + + + + + + + + + + + + + + + + + + + define "Equal.SimpleEqTrueTrue": + + true = true + + + + + + + + + + + + + + define "Equal.SimpleEqTrueFalse": + + true = false + + + + + + + + + + + + + + define "Equal.SimpleEqFalseFalse": + + false = false + + + + + + + + + + + + + + define "Equal.SimpleEqFalseTrue": + + false = true + + + + + + + + + + + + + + define "Equal.SimpleEqNullNull": + + + null as + + String + + + = null + + + + + + + + + + + + + + + + + + + define "Equal.SimpleEqTrueNull": + + true = null + + + + + + + + + + + + + + + + define "Equal.SimpleEqNullTrue": + + null = true + + + + + + + + + + + + + + + + define "Equal.SimpleEqInt1Int1": + + 1 = 1 + + + + + + + + + + + + + + define "Equal.SimpleEqInt1Int2": + + 1 = 2 + + + + + + + + + + + + + + define "Equal.SimpleEqStringAStringA": + + + 'a' + + = + + 'a' + + + + + + + + + + + + + + + define "Equal.SimpleEqStringAStringB": + + + 'a' + + = + + 'b' + + + + + + + + + + + + + + + define "Equal.SimpleEqFloat1Float1": + + 1.0 = 1.0 + + + + + + + + + + + + + + define "Equal.SimpleEqFloat1Float2": + + 1.0 = 2.0 + + + + + + + + + + + + + + define "Equal.SimpleEqFloat1Int1": + + 1.0 = 1 + + + + + + + + + + + + + + + + + define "Equal.SimpleEqFloat1Int2": + + 1.0 = 2 + + + + + + + + + + + + + + + + + define "Equal.QuantityEqCM1CM1": + + + 1'cm' + + = + + 1'cm' + + + + + + + + + + + + + + + define "Equal.QuantityEqCM1M01": + + + 1'cm' + + = + + 0.01'm' + + + + + + + + + + + + + + + define "Equal.QuantityEqDiffPrecision": + + + 2.0'cm' + + = + + 2.00'cm' + + + + + + + + + + + + + + + define "Equal.TupleEqJohnJohn": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + = + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TupleEqJohnJane": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + = + + Tuple { + + Id : 2 + + , + + Name : + + 'Jane' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TupleEqJohn1John2": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + = + + Tuple { + + Id : 2 + + , + + Name : + + 'John' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TupleEqDateTimeTrue": + + + Tuple { + + dateId: 1 + + , + + Date: + + DateTime(2012, 10, 5, 0, 0, 0, 0) + + + } + + = + + Tuple { + + dateId: 1 + + , + + Date: + + DateTime(2012, 10, 5, 0, 0, 0, 0) + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TupleEqDateTimeFalse": + + + Tuple { + + dateId: 1 + + , + + Date: + + DateTime(2012, 10, 5, 0, 0, 0, 0) + + + } + + = + + Tuple { + + dateId: 1 + + , + + Date: + + DateTime(2012, 10, 5, 5, 0, 0, 0) + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TupleEqTimeTrue": + + + Tuple { + + timeId: 55 + + , + + TheTime: @T05:15:15.541 + + } + + = + + Tuple { + + timeId: 55 + + , + + TheTime: @T05:15:15.541 + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TupleEqTimeFalse": + + + Tuple { + + timeId: 55 + + , + + TheTime: @T05:15:15.541 + + } + + = + + Tuple { + + timeId: 55 + + , + + TheTime: @T05:15:15.540 + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.DateTimeEqTodayToday": + + + Today() + + = + + Today() + + + + + + + + + + + + + + + define "Equal.DateTimeEqTodayYesterday": + + + Today() + + = + + + Today() + + - + + 1 days + + + + + + + + + + + + + + + + + + + + + define "Equal.DateTimeEqJanJan": + + + DateTime(2014, 1, 5, 5, 0, 0, 0, 0) + + = + + DateTime(2014, 1, 5, 5, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.DateTimeEqJanJuly": + + + DateTime(2014, 1, 5, 5, 0, 0, 0, 0) + + = + + DateTime(2014, 7, 5, 5, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.DateTimeEqNull": + + + DateTime(null) + + = + + DateTime(null) + + + + + + + + + + + + + + + + + + + + + + + define "Equal.DateTimeUTC": + + @2014-01-25T14:30:14.559+01:00 = @2014-01-25T14:30:14.559+01:00 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.DateTimeDayCompare": + + @2022-02-22T00:00:00.000-05:00 same day as @2022-02-22T04:59:00.000Z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TimeEq10A10A": + + @T10:00:00.000 = @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.TimeEq10A10P": + + @T10:00:00.000 = @T22:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Greater.GreaterZZ": + + 0 > 0 + + + + + + + + + + + + + + define "Greater.GreaterZ1": + + 0 > 1 + + + + + + + + + + + + + + define "Greater.GreaterZNeg1": + + 0 > + + -1 + + + + + + + + + + + + + + + + + + define "Greater.GreaterDecZZ": + + 0.0 > 0.0 + + + + + + + + + + + + + + define "Greater.GreaterDecZ1": + + 0.0 > 1.0 + + + + + + + + + + + + + + define "Greater.GreaterDecZNeg1": + + 0.0 > + + -1.0 + + + + + + + + + + + + + + + + + + define "Greater.GreaterDec1Int2": + + 1.0 > 2 + + + + + + + + + + + + + + + + + define "Greater.GreaterCM0CM0": + + + 0'cm' + + > + + 0'cm' + + + + + + + + + + + + + + + define "Greater.GreaterCM0CM1": + + + 0'cm' + + > + + 1'cm' + + + + + + + + + + + + + + + define "Greater.GreaterCM0NegCM1": + + + 0'cm' + + > + + - + + 1'cm' + + + + + + + + + + + + + + + + + + + define "Greater.GreaterM1CM1": + + + 1'm' + + > + + 1'cm' + + + + + + + + + + + + + + + define "Greater.GreaterM1CM10": + + + 1'm' + + > + + 10'cm' + + + + + + + + + + + + + + + define "Greater.GreaterAA": + + + 'a' + + > + + 'a' + + + + + + + + + + + + + + + define "Greater.GreaterAB": + + + 'a' + + > + + 'b' + + + + + + + + + + + + + + + define "Greater.GreaterBA": + + + 'b' + + > + + 'a' + + + + + + + + + + + + + + + define "Greater.GreaterAThanAA": + + + 'a' + + > + + 'aa' + + + + + + + + + + + + + + + define "Greater.GreaterAAThanA": + + + 'aa' + + > + + 'a' + + + + + + + + + + + + + + + define "Greater.GreaterJackJill": + + + 'Jack' + + > + + 'Jill' + + + + + + + + + + + + + + + define "Greater.DateTimeGreaterTrue": + + + DateTime(2012, 2, 12) + + > + + DateTime(2012, 2, 10) + + + + + + + + + + + + + + + + + + + + + + + define "Greater.DateTimeGreaterFalse": + + + DateTime(2012, 2, 12) + + > + + DateTime(2012, 2, 13) + + + + + + + + + + + + + + + + + + + + + + + define "Greater.TimeGreaterTrue": + + @T10:00:00.001 > @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Greater.TimeGreaterFalse": + + @T10:00:00.000 > @T10:00:00.001 + + + + + + + + + + + + + + + + + + + + + + + + define "Greater.UncertaintyGreaterNull": + + + DateTime(2014) + + > + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Greater.UncertaintyGreaterTrue": + + + DateTime(2015) + + > + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Greater.UncertaintyGreaterFalse": + + + DateTime(2013) + + > + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualZZ": + + 0 >= 0 + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualZ1": + + 0 >= 1 + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualZNeg1": + + 0 >= + + -1 + + + + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualDecZZ": + + 0.0 >= 0.0 + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualDecZ1": + + 0.0 >= 1.0 + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualDecZNeg1": + + 0.0 >= + + -1.0 + + + + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualDec1Int2": + + 1.0 >= 2 + + + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualCM0CM0": + + + 0'cm' + + >= + + 0'cm' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualCM0CM1": + + + 0'cm' + + >= + + 1'cm' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualCM0NegCM1": + + + 0'cm' + + >= + + - + + 1'cm' + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualM1CM1": + + + 1'm' + + >= + + 1'cm' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualM1CM10": + + + 1'm' + + >= + + 10'cm' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualAA": + + + 'a' + + >= + + 'a' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualAB": + + + 'a' + + >= + + 'b' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualBA": + + + 'b' + + >= + + 'a' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualAThanAA": + + + 'a' + + >= + + 'aa' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualAAThanA": + + + 'aa' + + >= + + 'a' + + + + + + + + + + + + + + + define "Greater Or Equal.GreaterOrEqualJackJill": + + + 'Jack' + + >= + + 'Jill' + + + + + + + + + + + + + + + define "Greater Or Equal.DateTimeGreaterEqTrue": + + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + >= + + DateTime(2012, 2, 10, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.DateTimeGreaterEqTrue2": + + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + >= + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.DateTimeGreaterEqFalse": + + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + >= + + DateTime(2012, 2, 13, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.TimeGreaterEqTrue": + + @T10:00:00.001 >= @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.TimeGreaterEqTrue2": + + @T10:00:00.000 >= @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.TimeGreaterEqFalse": + + @T10:00:00.000 >= @T10:00:00.001 + + + + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.UncertaintyGreaterEqualNull": + + + DateTime(2014) + + >= + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.UncertaintyGreaterEqualTrue": + + + DateTime(2015) + + >= + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Greater Or Equal.UncertaintyGreaterEqualFalse": + + + DateTime(2013) + + >= + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Less.LessZZ": + + 0 < 0 + + + + + + + + + + + + + + define "Less.LessZ1": + + 0 < 1 + + + + + + + + + + + + + + define "Less.LessZNeg1": + + 0 < + + -1 + + + + + + + + + + + + + + + + + + define "Less.LessDecZZ": + + 0.0 < 0.0 + + + + + + + + + + + + + + define "Less.LessDecZ1": + + 0.0 < 1.0 + + + + + + + + + + + + + + define "Less.LessDecZNeg1": + + 0.0 < + + -1.0 + + + + + + + + + + + + + + + + + + define "Less.LessDec1Int2": + + 1.0 < 2 + + + + + + + + + + + + + + + + + define "Less.LessCM0CM0": + + + 0'cm' + + < + + 0'cm' + + + + + + + + + + + + + + + define "Less.LessCM0CM1": + + + 0'cm' + + < + + 1'cm' + + + + + + + + + + + + + + + define "Less.LessCM0NegCM1": + + + 0'cm' + + < + + - + + 1'cm' + + + + + + + + + + + + + + + + + + + define "Less.LessM1CM1": + + + 1'm' + + < + + 1'cm' + + + + + + + + + + + + + + + define "Less.LessM1CM10": + + + 1'm' + + < + + 10'cm' + + + + + + + + + + + + + + + define "Less.LessAA": + + + 'a' + + < + + 'a' + + + + + + + + + + + + + + + define "Less.LessAB": + + + 'a' + + < + + 'b' + + + + + + + + + + + + + + + define "Less.LessBA": + + + 'b' + + < + + 'a' + + + + + + + + + + + + + + + define "Less.LessAThanAA": + + + 'a' + + < + + 'aa' + + + + + + + + + + + + + + + define "Less.LessAAThanA": + + + 'aa' + + < + + 'a' + + + + + + + + + + + + + + + define "Less.LessJackJill": + + + 'Jack' + + < + + 'Jill' + + + + + + + + + + + + + + + define "Less.DateTimeLessTrue": + + + DateTime(2012, 2, 9) + + < + + DateTime(2012, 2, 10) + + + + + + + + + + + + + + + + + + + + + + + define "Less.DateTimeLessFalse": + + + DateTime(2012, 2, 14) + + < + + DateTime(2012, 2, 13) + + + + + + + + + + + + + + + + + + + + + + + define "Less.TimeLessTrue": + + @T10:00:00.001 < @T10:00:00.002 + + + + + + + + + + + + + + + + + + + + + + + + define "Less.TimeLessFalse": + + @T10:10:00.000 < @T10:00:00.001 + + + + + + + + + + + + + + + + + + + + + + + + define "Less.UncertaintyLessNull": + + + DateTime(2014) + + < + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Less.UncertaintyLessTrue": + + + DateTime(2013) + + < + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Less.UncertaintyLessFalse": + + + DateTime(2015) + + < + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualZZ": + + 0 <= 0 + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualZ1": + + 0 <= 1 + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualZNeg1": + + 0 <= + + -1 + + + + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualDecZZ": + + 0.0 <= 0.0 + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualDecZ1": + + 0.0 <= 1.0 + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualDecZNeg1": + + 0.0 <= + + -1.0 + + + + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualDec1Int2": + + 1.0 <= 2 + + + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualCM0CM0": + + + 0'cm' + + <= + + 0'cm' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualCM0CM1": + + + 0'cm' + + <= + + 1'cm' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualCM0NegCM1": + + + 0'cm' + + <= + + - + + 1'cm' + + + + + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualM1CM1": + + + 1'm' + + <= + + 1'cm' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualM1CM10": + + + 1'm' + + <= + + 10'cm' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualAA": + + + 'a' + + <= + + 'a' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualAB": + + + 'a' + + <= + + 'b' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualBA": + + + 'b' + + <= + + 'a' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualAThanAA": + + + 'a' + + <= + + 'aa' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualAAThanA": + + + 'aa' + + <= + + 'a' + + + + + + + + + + + + + + + define "Less Or Equal.LessOrEqualJackJill": + + + 'Jack' + + <= + + 'Jill' + + + + + + + + + + + + + + + define "Less Or Equal.DateTimeLessEqTrue": + + + DateTime(2012, 2, 9, 0, 0, 0, 0) + + <= + + DateTime(2012, 2, 10, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.DateTimeLessEqTrue2": + + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + <= + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.DateTimeLessEqFalse": + + + DateTime(2012, 2, 12, 1, 0, 0, 0) + + <= + + DateTime(2012, 2, 12, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.TimeLessEqTrue": + + @T10:00:00.001 <= @T10:00:00.002 + + + + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.TimeLessEqTrue2": + + @T10:00:00.000 <= @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.TimeLessEqFalse": + + @T10:00:00.002 <= @T10:00:00.001 + + + + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.UncertaintyLessEqualNull": + + + DateTime(2014) + + <= + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.UncertaintyLessEqualTrue": + + + DateTime(2013) + + <= + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Less Or Equal.UncertaintyLessEqualFalse": + + + DateTime(2015) + + <= + + DateTime(2014, 2, 15) + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTrueTrue": + + true ~ true + + + + + + + + + + + + + + define "Equivalent.EquivTrueFalse": + + true ~ false + + + + + + + + + + + + + + define "Equivalent.EquivFalseFalse": + + false ~ false + + + + + + + + + + + + + + define "Equivalent.EquivFalseTrue": + + false ~ true + + + + + + + + + + + + + + define "Equivalent.EquivNullNull": + + + null as + + String + + + ~ null + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTrueNull": + + true ~ null + + + + + + + + + + + + + + + + define "Equivalent.EquivNullTrue": + + null ~ true + + + + + + + + + + + + + + + + define "Equivalent.EquivInt1Int1": + + 1 ~ 1 + + + + + + + + + + + + + + define "Equivalent.EquivInt1Int2": + + 1 ~ 2 + + + + + + + + + + + + + + define "Equivalent.EquivStringAStringA": + + + 'a' + + ~ + + 'a' + + + + + + + + + + + + + + + define "Equivalent.EquivStringAStringB": + + + 'a' + + ~ + + 'b' + + + + + + + + + + + + + + + define "Equivalent.EquivFloat1Float1": + + 1.0 ~ 1.0 + + + + + + + + + + + + + + define "Equivalent.EquivFloat1Float2": + + 1.0 ~ 2.0 + + + + + + + + + + + + + + define "Equivalent.EquivFloat1Int1": + + 1.0 ~ 1 + + + + + + + + + + + + + + + + + define "Equivalent.EquivFloat1Int2": + + 1.0 ~ 2 + + + + + + + + + + + + + + + + + define "Equivalent.EquivEqCM1CM1": + + + 1'cm' + + ~ + + 1'cm' + + + + + + + + + + + + + + + define "Equivalent.EquivEqCM1M01": + + + 1'cm' + + ~ + + 0.01'm' + + + + + + + + + + + + + + + define "Equivalent.EquivTupleJohnJohn": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + ~ + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTupleJohnJohnWithNulls": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + , + + Position: null + + } + + ~ + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + , + + Position: null + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTupleJohnJane": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + ~ + + Tuple { + + Id : 2 + + , + + Name : + + 'Jane' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTupleJohn1John2": + + + Tuple { + + Id : 1 + + , + + Name : + + 'John' + + + } + + ~ + + Tuple { + + Id : 2 + + , + + Name : + + 'John' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivDateTimeTodayToday": + + + Today() + + ~ + + Today() + + + + + + + + + + + + + + + define "Equivalent.EquivDateTimeTodayYesterday": + + + Today() + + ~ + + + Today() + + - + + 1 days + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTime10A10A": + + @T10:00:00.000 ~ @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivTime10A10P": + + @T10:00:00.000 ~ @T22:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqTrueTrue": + + true != true + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqTrueFalse": + + true != false + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqFalseFalse": + + false != false + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqFalseTrue": + + false != true + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqNullNull": + + + null as + + String + + + != null + + + + + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqTrueNull": + + true != null + + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqNullTrue": + + null != true + + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqInt1Int1": + + 1 != 1 + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqInt1Int2": + + 1 != 2 + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqStringAStringA": + + + 'a' + + != + + 'a' + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqStringAStringB": + + + 'a' + + != + + 'b' + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqFloat1Float1": + + 1.0 != 1.0 + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqFloat1Float2": + + 1.0 != 2.0 + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqFloat1Int1": + + 1.0 != 1 + + + + + + + + + + + + + + + + + + + define "Not Equal.SimpleNotEqFloat1Int2": + + 1.0 != 2 + + + + + + + + + + + + + + + + + + + define "Not Equal.QuantityNotEqCM1CM1": + + + 1'cm' + + != + + 1'cm' + + + + + + + + + + + + + + + + + define "Not Equal.QuantityNotEqCM1M01": + + + 1'cm' + + != + + 0.01'm' + + + + + + + + + + + + + + + + + define "Not Equal.TupleNotEqJohnJohn": + + + Tuple{ + + Id : 1 + + , + + Name : + + 'John' + + + } + + != + + Tuple{ + + Id : 1 + + , + + Name : + + 'John' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Not Equal.TupleNotEqJohnJane": + + + Tuple{ + + Id : 1 + + , + + Name : + + 'John' + + + } + + != + + Tuple{ + + Id : 2 + + , + + Name : + + 'Jane' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Not Equal.TupleNotEqJohn1John2": + + + Tuple{ + + Id : 1 + + , + + Name : + + 'John' + + + } + + != + + Tuple{ + + Id : 2 + + , + + Name : + + 'John' + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Not Equal.DateTimeNotEqTodayToday": + + + Today() + + != + + Today() + + + + + + + + + + + + + + + + + define "Not Equal.DateTimeNotEqTodayYesterday": + + + Today() + + != + + + Today() + + - + + 1 days + + + + + + + + + + + + + + + + + + + + + + + define "Not Equal.TimeNotEq10A10A": + + @T10:00:00.000 != @T10:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + + + define "Not Equal.TimeNotEq10A10P": + + @T10:00:00.000 != @T22:00:00.000 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cql/CqlConditionalOperatorsTest.cql b/cql/CqlConditionalOperatorsTest.cql new file mode 100644 index 0000000..48239c0 --- /dev/null +++ b/cql/CqlConditionalOperatorsTest.cql @@ -0,0 +1,44 @@ +library CqlConditionalOperatorsTest + +define "if-then-else.IfTrue1": if 10 > 5 then 5 else 10 + +define "if-then-else.IfFalse1": if 10 = 5 then 10 + 5 else 10 - 5 + +define "if-then-else.IfNull1": if 10 = null then 5 else 10 + +define "standard case.StandardCase1": case + when 10 > 5 then 5 + when 5 > 10 then 10 + else null + end + +define "standard case.StandardCase2": case + when 5 > 10 then 5 + 10 + when 5 = 10 then 10 + else 10 - 5 + end + +define "standard case.StandardCase3": case + when null ~ 10 then null + 10 + when null ~ 5 then 5 + else 5 + 10 + end + +define "selected case.SelectedCase1": case 5 + when 5 then 12 + when 10 then 10 + 5 + else 10 - 5 + end + +define "selected case.SelectedCase2": case 10 + when 5 then 12 + when 10 then 10 + 5 + else 10 - 5 + end + +define "selected case.SelectedCase3": case 10 + 5 + when 5 then 12 + when 10 then 10 + 5 + else 10 - 5 + end + diff --git a/cql/CqlConditionalOperatorsTest.json b/cql/CqlConditionalOperatorsTest.json new file mode 100644 index 0000000..22afd30 --- /dev/null +++ b/cql/CqlConditionalOperatorsTest.json @@ -0,0 +1,1321 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "","library CqlConditionalOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlConditionalOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:55", + "name" : "if-then-else.IfTrue1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"if-then-else.IfTrue1\"",": " ] + }, { + "r" : "208", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "209", + "s" : [ { + "r" : "210", + "value" : [ "10"," ",">"," ","5" ] + } ] + }, { + "r" : "214", + "value" : [ " then ","5"," else ","10" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "208", + "locator" : "3:32-3:55", + "type" : "If", + "condition" : { + "localId" : "209", + "locator" : "3:35-3:40", + "type" : "Greater", + "signature" : [ { + "localId" : "212", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "213", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "210", + "locator" : "3:35-3:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "211", + "locator" : "3:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "214", + "locator" : "3:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "else" : { + "localId" : "215", + "locator" : "3:54-3:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } + }, { + "localId" : "217", + "locator" : "5:1-5:65", + "name" : "if-then-else.IfFalse1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "","define ","\"if-then-else.IfFalse1\"",": " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "219", + "s" : [ { + "r" : "220", + "value" : [ "10"," ","="," ","5" ] + } ] + }, { + "value" : [ " then " ] + }, { + "r" : "224", + "s" : [ { + "r" : "225", + "value" : [ "10"," + ","5" ] + } ] + }, { + "value" : [ " else " ] + }, { + "r" : "229", + "s" : [ { + "r" : "230", + "value" : [ "10"," - ","5" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "218", + "locator" : "5:33-5:65", + "type" : "If", + "condition" : { + "localId" : "219", + "locator" : "5:36-5:41", + "type" : "Equal", + "signature" : [ { + "localId" : "222", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "223", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "220", + "locator" : "5:36-5:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "221", + "locator" : "5:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "224", + "locator" : "5:48-5:53", + "type" : "Add", + "signature" : [ { + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "228", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "225", + "locator" : "5:48-5:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "226", + "locator" : "5:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "else" : { + "localId" : "229", + "locator" : "5:60-5:65", + "type" : "Subtract", + "signature" : [ { + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "233", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "230", + "locator" : "5:60-5:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "231", + "locator" : "5:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "235", + "locator" : "7:1-7:58", + "name" : "if-then-else.IfNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "","define ","\"if-then-else.IfNull1\"",": " ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "if " ] + }, { + "r" : "237", + "s" : [ { + "r" : "238", + "value" : [ "10"," ","="," ","null" ] + } ] + }, { + "r" : "243", + "value" : [ " then ","5"," else ","10" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "236", + "locator" : "7:32-7:58", + "type" : "If", + "condition" : { + "localId" : "237", + "locator" : "7:35-7:43", + "type" : "Equal", + "signature" : [ { + "localId" : "241", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "242", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "238", + "locator" : "7:35-7:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "239", + "locator" : "7:40-7:43", + "type" : "Null" + } + } ] + }, + "then" : { + "localId" : "243", + "locator" : "7:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "else" : { + "localId" : "244", + "locator" : "7:57-7:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } + }, { + "localId" : "246", + "locator" : "9:1-13:7", + "name" : "standard case.StandardCase1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "","define ","\"standard case.StandardCase1\"",": " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "case\n\t\t\t\t\t" ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "249", + "s" : [ { + "r" : "250", + "value" : [ "10"," ",">"," ","5" ] + } ] + }, { + "r" : "254", + "value" : [ " then ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "256", + "s" : [ { + "r" : "257", + "value" : [ "5"," ",">"," ","10" ] + } ] + }, { + "r" : "261", + "value" : [ " then ","10" ] + } ] + }, { + "r" : "262", + "value" : [ "\n\t\t\t\t\telse ","null","\n\t\t\t\tend" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "247", + "locator" : "9:39-13:7", + "type" : "Case", + "caseItem" : [ { + "localId" : "248", + "locator" : "10:6-10:23", + "when" : { + "localId" : "249", + "locator" : "10:11-10:16", + "type" : "Greater", + "signature" : [ { + "localId" : "252", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "250", + "locator" : "10:11-10:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "251", + "locator" : "10:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "254", + "locator" : "10:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "255", + "locator" : "11:6-11:24", + "when" : { + "localId" : "256", + "locator" : "11:11-11:16", + "type" : "Greater", + "signature" : [ { + "localId" : "259", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "260", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "257", + "locator" : "11:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "258", + "locator" : "11:15-11:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "261", + "locator" : "11:23-11:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ], + "else" : { + "localId" : "263", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "262", + "locator" : "12:11-12:14", + "type" : "Null" + } + } + } + }, { + "localId" : "265", + "locator" : "15:1-19:7", + "name" : "standard case.StandardCase2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "","define ","\"standard case.StandardCase2\"",": " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "case\n\t\t\t\t\t" ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "268", + "s" : [ { + "r" : "269", + "value" : [ "5"," ",">"," ","10" ] + } ] + }, { + "value" : [ " then " ] + }, { + "r" : "273", + "s" : [ { + "r" : "274", + "value" : [ "5"," + ","10" ] + } ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "278", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "279", + "s" : [ { + "r" : "280", + "value" : [ "5"," ","="," ","10" ] + } ] + }, { + "r" : "284", + "value" : [ " then ","10" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\telse " ] + }, { + "r" : "285", + "s" : [ { + "r" : "286", + "value" : [ "10"," - ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\tend" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "266", + "locator" : "15:39-19:7", + "type" : "Case", + "caseItem" : [ { + "localId" : "267", + "locator" : "16:6-16:28", + "when" : { + "localId" : "268", + "locator" : "16:11-16:16", + "type" : "Greater", + "signature" : [ { + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "269", + "locator" : "16:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "270", + "locator" : "16:15-16:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "273", + "locator" : "16:23-16:28", + "type" : "Add", + "signature" : [ { + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "277", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "274", + "locator" : "16:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "275", + "locator" : "16:27-16:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + } + }, { + "localId" : "278", + "locator" : "17:6-17:24", + "when" : { + "localId" : "279", + "locator" : "17:11-17:16", + "type" : "Equal", + "signature" : [ { + "localId" : "282", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "283", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "280", + "locator" : "17:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "281", + "locator" : "17:15-17:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "284", + "locator" : "17:23-17:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ], + "else" : { + "localId" : "285", + "locator" : "18:11-18:16", + "type" : "Subtract", + "signature" : [ { + "localId" : "288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "289", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "286", + "locator" : "18:11-18:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "287", + "locator" : "18:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "291", + "locator" : "21:1-25:7", + "name" : "standard case.StandardCase3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "291", + "s" : [ { + "value" : [ "","define ","\"standard case.StandardCase3\"",": " ] + }, { + "r" : "292", + "s" : [ { + "value" : [ "case\n\t\t\t\t\t" ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "294", + "s" : [ { + "r" : "295", + "value" : [ "null"," ","~"," ","10" ] + } ] + }, { + "value" : [ " then " ] + }, { + "r" : "300", + "s" : [ { + "r" : "301", + "value" : [ "null"," + ","10" ] + } ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "306", + "s" : [ { + "value" : [ "when " ] + }, { + "r" : "307", + "s" : [ { + "r" : "308", + "value" : [ "null"," ","~"," ","5" ] + } ] + }, { + "r" : "313", + "value" : [ " then ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\telse " ] + }, { + "r" : "314", + "s" : [ { + "r" : "315", + "value" : [ "5"," + ","10" ] + } ] + }, { + "value" : [ "\n\t\t\t\tend" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "292", + "locator" : "21:39-25:7", + "type" : "Case", + "caseItem" : [ { + "localId" : "293", + "locator" : "22:6-22:34", + "when" : { + "localId" : "294", + "locator" : "22:11-22:19", + "type" : "Equivalent", + "signature" : [ { + "localId" : "298", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "299", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "297", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "295", + "locator" : "22:11-22:14", + "type" : "Null" + } + }, { + "localId" : "296", + "locator" : "22:18-22:19", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "300", + "locator" : "22:26-22:34", + "type" : "Add", + "signature" : [ { + "localId" : "304", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "303", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "301", + "locator" : "22:26-22:29", + "type" : "Null" + } + }, { + "localId" : "302", + "locator" : "22:33-22:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + } + }, { + "localId" : "306", + "locator" : "23:6-23:25", + "when" : { + "localId" : "307", + "locator" : "23:11-23:18", + "type" : "Equivalent", + "signature" : [ { + "localId" : "311", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "310", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "308", + "locator" : "23:11-23:14", + "type" : "Null" + } + }, { + "localId" : "309", + "locator" : "23:18", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "then" : { + "localId" : "313", + "locator" : "23:25", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ], + "else" : { + "localId" : "314", + "locator" : "24:11-24:16", + "type" : "Add", + "signature" : [ { + "localId" : "317", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "315", + "locator" : "24:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "316", + "locator" : "24:15-24:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "320", + "locator" : "27:1-31:7", + "name" : "selected case.SelectedCase1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "320", + "s" : [ { + "value" : [ "","define ","\"selected case.SelectedCase1\"",": " ] + }, { + "r" : "321", + "s" : [ { + "r" : "322", + "value" : [ "case ","5","\n\t\t\t\t\t" ] + }, { + "r" : "323", + "s" : [ { + "r" : "324", + "value" : [ "when ","5"," then ","12" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "326", + "s" : [ { + "r" : "327", + "value" : [ "when ","10"," then " ] + }, { + "r" : "328", + "s" : [ { + "r" : "329", + "value" : [ "10"," + ","5" ] + } ] + } ] + }, { + "value" : [ "\n\t\t\t\t\telse " ] + }, { + "r" : "333", + "s" : [ { + "r" : "334", + "value" : [ "10"," - ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\tend" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "321", + "locator" : "27:39-31:7", + "type" : "Case", + "comparand" : { + "localId" : "322", + "locator" : "27:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "caseItem" : [ { + "localId" : "323", + "locator" : "28:6-28:19", + "when" : { + "localId" : "324", + "locator" : "28:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "then" : { + "localId" : "325", + "locator" : "28:18-28:19", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "326", + "locator" : "29:6-29:24", + "when" : { + "localId" : "327", + "locator" : "29:11-29:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "then" : { + "localId" : "328", + "locator" : "29:19-29:24", + "type" : "Add", + "signature" : [ { + "localId" : "331", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "332", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "329", + "locator" : "29:19-29:20", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "330", + "locator" : "29:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } ], + "else" : { + "localId" : "333", + "locator" : "30:11-30:16", + "type" : "Subtract", + "signature" : [ { + "localId" : "336", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "337", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "334", + "locator" : "30:11-30:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "335", + "locator" : "30:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "339", + "locator" : "33:1-37:7", + "name" : "selected case.SelectedCase2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "","define ","\"selected case.SelectedCase2\"",": " ] + }, { + "r" : "340", + "s" : [ { + "r" : "341", + "value" : [ "case ","10","\n\t\t\t\t\t" ] + }, { + "r" : "342", + "s" : [ { + "r" : "343", + "value" : [ "when ","5"," then ","12" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "345", + "s" : [ { + "r" : "346", + "value" : [ "when ","10"," then " ] + }, { + "r" : "347", + "s" : [ { + "r" : "348", + "value" : [ "10"," + ","5" ] + } ] + } ] + }, { + "value" : [ "\n\t\t\t\t\telse " ] + }, { + "r" : "352", + "s" : [ { + "r" : "353", + "value" : [ "10"," - ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\tend" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "340", + "locator" : "33:39-37:7", + "type" : "Case", + "comparand" : { + "localId" : "341", + "locator" : "33:44-33:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "caseItem" : [ { + "localId" : "342", + "locator" : "34:6-34:19", + "when" : { + "localId" : "343", + "locator" : "34:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "then" : { + "localId" : "344", + "locator" : "34:18-34:19", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "345", + "locator" : "35:6-35:24", + "when" : { + "localId" : "346", + "locator" : "35:11-35:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "then" : { + "localId" : "347", + "locator" : "35:19-35:24", + "type" : "Add", + "signature" : [ { + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "351", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "348", + "locator" : "35:19-35:20", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "349", + "locator" : "35:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } ], + "else" : { + "localId" : "352", + "locator" : "36:11-36:16", + "type" : "Subtract", + "signature" : [ { + "localId" : "355", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "356", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "353", + "locator" : "36:11-36:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "354", + "locator" : "36:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "358", + "locator" : "39:1-43:7", + "name" : "selected case.SelectedCase3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "358", + "s" : [ { + "value" : [ "","define ","\"selected case.SelectedCase3\"",": " ] + }, { + "r" : "359", + "s" : [ { + "value" : [ "case " ] + }, { + "r" : "360", + "s" : [ { + "r" : "361", + "value" : [ "10"," + ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "365", + "s" : [ { + "r" : "366", + "value" : [ "when ","5"," then ","12" ] + } ] + }, { + "value" : [ "\n\t\t\t\t\t" ] + }, { + "r" : "368", + "s" : [ { + "r" : "369", + "value" : [ "when ","10"," then " ] + }, { + "r" : "370", + "s" : [ { + "r" : "371", + "value" : [ "10"," + ","5" ] + } ] + } ] + }, { + "value" : [ "\n\t\t\t\t\telse " ] + }, { + "r" : "375", + "s" : [ { + "r" : "376", + "value" : [ "10"," - ","5" ] + } ] + }, { + "value" : [ "\n\t\t\t\tend" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "359", + "locator" : "39:39-43:7", + "type" : "Case", + "comparand" : { + "localId" : "360", + "locator" : "39:44-39:49", + "type" : "Add", + "signature" : [ { + "localId" : "363", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "364", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "361", + "locator" : "39:44-39:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "362", + "locator" : "39:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "caseItem" : [ { + "localId" : "365", + "locator" : "40:6-40:19", + "when" : { + "localId" : "366", + "locator" : "40:11", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "then" : { + "localId" : "367", + "locator" : "40:18-40:19", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "368", + "locator" : "41:6-41:24", + "when" : { + "localId" : "369", + "locator" : "41:11-41:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "then" : { + "localId" : "370", + "locator" : "41:19-41:24", + "type" : "Add", + "signature" : [ { + "localId" : "373", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "374", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "371", + "locator" : "41:19-41:20", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "372", + "locator" : "41:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } ], + "else" : { + "localId" : "375", + "locator" : "42:11-42:16", + "type" : "Subtract", + "signature" : [ { + "localId" : "378", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "376", + "locator" : "42:11-42:12", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, { + "localId" : "377", + "locator" : "42:16", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + } + } + } ] + } + } +} + diff --git a/cql/CqlConditionalOperatorsTest.xml b/cql/CqlConditionalOperatorsTest.xml new file mode 100644 index 0000000..f84565f --- /dev/null +++ b/cql/CqlConditionalOperatorsTest.xml @@ -0,0 +1,466 @@ + + + + + + library CqlConditionalOperatorsTest + + + + + + + + + + + + define "if-then-else.IfTrue1": + + if + + 10 > 5 + + then 5 else 10 + + + + + + + + + + + + + + + + + + define "if-then-else.IfFalse1": + + if + + 10 = 5 + + then + + 10 + 5 + + else + + 10 - 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "if-then-else.IfNull1": + + if + + 10 = null + + then 5 else 10 + + + + + + + + + + + + + + + + + + + + define "standard case.StandardCase1": + + case + + + when + + 10 > 5 + + then 5 + + + + + when + + 5 > 10 + + then 10 + + + else null + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "standard case.StandardCase2": + + case + + + when + + 5 > 10 + + then + + 5 + 10 + + + + + + when + + 5 = 10 + + then 10 + + + else + + 10 - 5 + + + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "standard case.StandardCase3": + + case + + + when + + null ~ 10 + + then + + null + 10 + + + + + + when + + null ~ 5 + + then 5 + + + else + + 5 + 10 + + + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "selected case.SelectedCase1": + + case 5 + + + when 5 then 12 + + + + + when 10 then + + 10 + 5 + + + + else + + 10 - 5 + + + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "selected case.SelectedCase2": + + case 10 + + + when 5 then 12 + + + + + when 10 then + + 10 + 5 + + + + else + + 10 - 5 + + + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "selected case.SelectedCase3": + + case + + 10 + 5 + + + + + when 5 then 12 + + + + + when 10 then + + 10 + 5 + + + + else + + 10 - 5 + + + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cql/CqlDateTimeOperatorsTest.cql b/cql/CqlDateTimeOperatorsTest.cql new file mode 100644 index 0000000..11c880a --- /dev/null +++ b/cql/CqlDateTimeOperatorsTest.cql @@ -0,0 +1,594 @@ +library CqlDateTimeOperatorsTest + +define "Add.DateTimeAdd5Years": DateTime(2005, 10, 10) + 5 years + +define "Add.DateTimeAddInvalidYears": DateTime(2005, 10, 10) + 8000 years + +define "Add.DateTimeAdd5Months": DateTime(2005, 5, 10) + 5 months + +define "Add.DateTimeAddMonthsOverflow": DateTime(2005, 5, 10) + 10 months + +define "Add.DateTimeAdd5Days": DateTime(2005, 5, 10) + 5 days + +define "Add.DateTimeAddDaysOverflow": DateTime(2016, 6, 10) + 21 days + +define "Add.DateTimeAdd5Hours": DateTime(2005, 5, 10, 5) + 5 hours + +define "Add.DateTimeAddHoursOverflow": DateTime(2016, 6, 10, 5) + 19 hours + +define "Add.DateTimeAdd5Minutes": DateTime(2005, 5, 10, 5, 5) + 5 minutes + +define "Add.DateTimeAddMinutesOverflow": DateTime(2016, 6, 10, 5, 5) + 55 minutes + +define "Add.DateTimeAdd5Seconds": DateTime(2005, 5, 10, 5, 5, 5) + 5 seconds + +define "Add.DateTimeAddSecondsOverflow": DateTime(2016, 6, 10, 5, 5, 5) + 55 seconds + +define "Add.DateTimeAdd5Milliseconds": DateTime(2005, 5, 10, 5, 5, 5, 5) + 5 milliseconds + +define "Add.DateTimeAddMillisecondsOverflow": DateTime(2016, 6, 10, 5, 5, 5, 5) + 995 milliseconds + +define "Add.DateTimeAddLeapYear": DateTime(2012, 2, 29) + 1 year + +define "Add.DateTimeAdd2YearsByMonths": DateTime(2014) + 24 months + +define "Add.DateTimeAdd2YearsByDays": DateTime(2014) + 730 days + +define "Add.DateTimeAdd2YearsByDaysRem5Days": DateTime(2014) + 735 days + +define "Add.TimeAdd5Hours": @T15:59:59.999 + 5 hours + +define "Add.TimeAdd1Minute": @T15:59:59.999 + 1 minute + +define "Add.TimeAdd1Second": @T15:59:59.999 + 1 seconds + +define "Add.TimeAdd1Millisecond": @T15:59:59.999 + 1 milliseconds + +define "Add.TimeAdd5Hours1Minute": @T15:59:59.999 + 5 hours + 1 minutes + +define "Add.TimeAdd5hoursByMinute": @T15:59:59.999 + 300 minutes + +define "After.DateTimeAfterYearTrue": DateTime(2005, 10, 10) after year of DateTime(2004, 10, 10) + +define "After.DateTimeAfterYearFalse": DateTime(2004, 11, 10) after year of DateTime(2004, 10, 10) + +define "After.DateTimeAfterMonthTrue": DateTime(2004, 12, 10) after month of DateTime(2004, 11, 10) + +define "After.DateTimeAfterMonthFalse": DateTime(2004, 9, 10) after month of DateTime(2004, 10, 10) + +define "After.DateTimeAfterDayTrue": DateTime(2004, 12, 11) after day of DateTime(2004, 10, 10) + +define "After.DateTimeAfterDayTrue2": DateTime(2004, 12, 09) after day of DateTime(2003, 10, 10) + +define "After.DateTimeAfterDayFalse": DateTime(2004, 10, 9) after day of DateTime(2004, 10, 10) + +define "After.DateTimeAfterHourTrue": DateTime(2004, 10, 10, 10) after hour of DateTime(2004, 10, 10, 5) + +define "After.DateTimeAfterHourFalse": DateTime(2004, 10, 10, 20) after hour of DateTime(2004, 10, 10, 21) + +define "After.DateTimeAfterMinuteTrue": DateTime(2004, 10, 10, 20, 30) after minute of DateTime(2004, 10, 10, 20, 29) + +define "After.DateTimeAfterMinuteFalse": DateTime(2004, 10, 10, 20, 30) after minute of DateTime(2004, 10, 10, 20, 31) + +define "After.DateTimeAfterSecondTrue": DateTime(2004, 10, 10, 20, 30, 15) after second of DateTime(2004, 10, 10, 20, 30, 14) + +define "After.DateTimeAfterSecondFalse": DateTime(2004, 10, 10, 20, 30, 15) after second of DateTime(2004, 10, 10, 20, 30, 16) + +define "After.DateTimeAfterMillisecondTrue": DateTime(2004, 10, 10, 20, 30, 15, 512) after millisecond of DateTime(2004, 10, 10, 20, 30, 15, 510) + +define "After.DateTimeAfterMillisecondFalse": DateTime(2004, 10, 10, 20, 30, 15, 512) after millisecond of DateTime(2004, 10, 10, 20, 30, 15, 513) + +define "After.DateTimeAfterUncertain": DateTime(2005, 10, 10) after day of DateTime(2005, 9) + +define "After.AfterTimezoneTrue": @2012-03-10T10:20:00.999+07:00 after hour of @2012-03-10T08:20:00.999+06:00 + +define "After.AfterTimezoneFalse": @2012-03-10T10:20:00.999+07:00 after hour of @2012-03-10T10:20:00.999+06:00 + +define "After.TimeAfterHourTrue": @T15:59:59.999 after hour of @T14:59:59.999 + +define "After.TimeAfterHourFalse": @T15:59:59.999 after hour of @T16:59:59.999 + +define "After.TimeAfterMinuteTrue": @T15:59:59.999 after minute of @T15:58:59.999 + +define "After.TimeAfterMinuteFalse": @T15:58:59.999 after minute of @T15:59:59.999 + +define "After.TimeAfterSecondTrue": @T15:59:59.999 after second of @T15:59:58.999 + +define "After.TimeAfterSecondFalse": @T15:59:58.999 after second of @T15:59:59.999 + +define "After.TimeAfterMillisecondTrue": @T15:59:59.999 after millisecond of @T15:59:59.998 + +define "After.TimeAfterMillisecondFalse": @T15:59:59.998 after millisecond of @T15:59:59.999 + +define "After.TimeAfterTimeCstor": Time(12, 30) after hour of Time(11, 55) + +define "Before.DateTimeBeforeYearTrue": DateTime(2003) before year of DateTime(2004, 10, 10) + +define "Before.DateTimeBeforeYearFalse": DateTime(2004, 11, 10) before year of DateTime(2003, 10, 10) + +define "Before.DateTimeBeforeMonthTrue": DateTime(2004, 10, 10) before month of DateTime(2004, 11, 10) + +define "Before.DateTimeBeforeMonthFalse": DateTime(2004, 11, 10) before month of DateTime(2004, 10, 10) + +define "Before.DateTimeBeforeDayTrue": DateTime(2004, 10, 1) before day of DateTime(2004, 10, 10) + +define "Before.DateTimeBeforeDayTrue2": DateTime(2003, 10, 11) before day of DateTime(2004, 10, 10) + +define "Before.DateTimeBeforeDayFalse": DateTime(2004, 10, 11) before day of DateTime(2004, 10, 10) + +define "Before.DateTimeBeforeHourTrue": DateTime(2004, 10, 10, 1) before hour of DateTime(2004, 10, 10, 5) + +define "Before.DateTimeBeforeHourFalse": DateTime(2004, 10, 10, 23) before hour of DateTime(2004, 10, 10, 21) + +define "Before.DateTimeBeforeMinuteTrue": DateTime(2004, 10, 10, 20, 28) before minute of DateTime(2004, 10, 10, 20, 29) + +define "Before.DateTimeBeforeMinuteFalse": DateTime(2004, 10, 10, 20, 35) before minute of DateTime(2004, 10, 10, 20, 31) + +define "Before.DateTimeBeforeSecondTrue": DateTime(2004, 10, 10, 20, 30, 12) before second of DateTime(2004, 10, 10, 20, 30, 14) + +define "Before.DateTimeBeforeSecondFalse": DateTime(2004, 10, 10, 20, 30, 55) before second of DateTime(2004, 10, 10, 20, 30, 16) + +define "Before.DateTimeBeforeMillisecondTrue": DateTime(2004, 10, 10, 20, 30, 15, 508) before millisecond of DateTime(2004, 10, 10, 20, 30, 15, 510) + +define "Before.DateTimeBeforeMillisecondFalse": DateTime(2004, 10, 10, 20, 30, 15, 599) before millisecond of DateTime(2004, 10, 10, 20, 30, 15, 513) + +define "Before.BeforeTimezoneTrue": @2012-03-10T10:20:00.999+07:00 before hour of @2012-03-10T10:20:00.999+06:00 + +define "Before.BeforeTimezoneFalse": @2012-03-10T10:20:00.999+07:00 before hour of @2012-03-10T09:20:00.999+06:00 + +define "Before.TimeBeforeHourTrue": @T13:59:59.999 before hour of @T14:59:59.999 + +define "Before.TimeBeforeHourFalse": @T16:59:59.999 before hour of @T15:59:59.999 + +define "Before.TimeBeforeMinuteTrue": @T15:57:59.999 before minute of @T15:58:59.999 + +define "Before.TimeBeforeMinuteFalse": @T15:59:59.999 before minute of @T15:59:59.999 + +define "Before.TimeBeforeSecondTrue": @T15:59:57.999 before second of @T15:59:58.999 + +define "Before.TimeBeforeSecondFalse": @T15:59:56.999 before second of @T15:59:55.999 + +define "Before.TimeBeforeMillisecondTrue": @T15:59:59.997 before millisecond of @T15:59:59.998 + +define "Before.TimeBeforeMillisecondFalse": @T15:59:59.998 before millisecond of @T15:59:59.997 + +define "DateTime.DateTimeYear": DateTime(2003) + +define "DateTime.DateTimeMonth": DateTime(2003, 10) + +define "DateTime.DateTimeDay": DateTime(2003, 10, 29) + +define "DateTime.DateTimeHour": DateTime(2003, 10, 29, 20) + +define "DateTime.DateTimeMinute": DateTime(2003, 10, 29, 20, 50) + +define "DateTime.DateTimeSecond": DateTime(2003, 10, 29, 20, 50, 33) + +define "DateTime.DateTimeMillisecond": DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromYear": year from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromMonth": month from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromMonthMinBoundary": month from DateTime(2003, 01, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromDay": day from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromHour": hour from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromMinute": minute from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromSecond": second from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromMillisecond": millisecond from DateTime(2003, 10, 29, 20, 50, 33, 955) + +define "DateTimeComponentFrom.DateTimeComponentFromTimezone": timezone from DateTime(2003, 10, 29, 20, 50, 33, 955, 1) + +define "DateTimeComponentFrom.DateTimeComponentFromDate": date from DateTime(2003, 10, 29, 20, 50, 33, 955, 1) + +define "DateTimeComponentFrom.TimeComponentFromHour": hour from @T23:20:15.555 + +define "DateTimeComponentFrom.TimeComponentFromMinute": minute from @T23:20:15.555 + +define "DateTimeComponentFrom.TimeComponentFromSecond": second from @T23:20:15.555 + +define "DateTimeComponentFrom.TimeComponentFromMilli": millisecond from @T23:20:15.555 + +define "Difference.DateTimeDifferenceYear": difference in years between DateTime(2000) and DateTime(2005, 12) + +define "Difference.DateTimeDifferenceMonth": difference in months between DateTime(2000, 2) and DateTime(2000, 10) + +define "Difference.DateTimeDifferenceDay": difference in days between DateTime(2000, 10, 15, 10, 30) and DateTime(2000, 10, 25, 10, 0) + +define "Difference.DateTimeDifferenceHour": difference in hours between DateTime(2000, 4, 1, 12) and DateTime(2000, 4, 1, 20) + +define "Difference.DateTimeDifferenceMinute": difference in minutes between DateTime(2005, 12, 10, 5, 16) and DateTime(2005, 12, 10, 5, 25) + +define "Difference.DateTimeDifferenceSecond": difference in seconds between DateTime(2000, 10, 10, 10, 5, 45) and DateTime(2000, 10, 10, 10, 5, 50) + +define "Difference.DateTimeDifferenceMillisecond": difference in milliseconds between DateTime(2000, 10, 10, 10, 5, 45, 500, -6.0) and DateTime(2000, 10, 10, 10, 5, 45, 900, -7.0) + +define "Difference.DateTimeDifferenceWeeks": difference in weeks between DateTime(2000, 10, 15) and DateTime(2000, 10, 28) + +define "Difference.DateTimeDifferenceWeeks2": difference in weeks between DateTime(2000, 10, 15) and DateTime(2000, 10, 29) + +define "Difference.DateTimeDifferenceWeeks3": difference in weeks between @2012-03-10T22:05:09 and @2012-03-24T07:19:33 + +define "Difference.DateTimeDifferenceNegative": difference in years between DateTime(2016) and DateTime(1998) + +define "Difference.DateTimeDifferenceUncertain": difference in months between DateTime(2005) and DateTime(2006, 7) > 5 + +define "Difference.TimeDifferenceHour": difference in hours between @T20 and @T23:25:15.555 + +define "Difference.TimeDifferenceMinute": difference in minutes between @T20:20:15.555 and @T20:25:15.555 + +define "Difference.TimeDifferenceSecond": difference in seconds between @T20:20:15.555 and @T20:20:20.555 + +define "Difference.TimeDifferenceMillis": difference in milliseconds between @T20:20:15.555 and @T20:20:15.550 + +define "From Github issue #29.DateTimeA": @2017-03-12T01:00:00-07:00 + +define "From Github issue #29.DateTimeAA": DateTime(2017, 3, 12, 1, 0, 0, 0, -7.0) + +define "From Github issue #29.DateTimeB": @2017-03-12T03:00:00-06:00 + +define "From Github issue #29.DateTimeBB": DateTime(2017, 3, 12, 3, 0, 0, 0, -6.0) + +define "From Github issue #29.DateTimeC": @2017-11-05T01:30:00-06:00 + +define "From Github issue #29.DateTimeCC": DateTime(2017, 11, 5, 1, 30, 0, 0, -6.0) + +define "From Github issue #29.DateTimeD": @2017-11-05T01:15:00-07:00 + +define "From Github issue #29.DateTimeDD": DateTime(2017, 11, 5, 1, 15, 0, 0, -7.0) + +define "From Github issue #29.DateTimeE": @2017-03-12T00:00:00-07:00 + +define "From Github issue #29.DateTimeEE": DateTime(2017, 3, 12, 0, 0, 0, 0, -7.0) + +define "From Github issue #29.DateTimeF": @2017-03-13T00:00:00-06:00 + +define "From Github issue #29.DateTimeFF": DateTime(2017, 3, 13, 0, 0, 0, 0, -6.0) + +define "From Github issue #29.DifferenceInHoursA": difference in hours between @2017-03-12T01:00:00-07:00 and @2017-03-12T03:00:00-06:00 + +define "From Github issue #29.DifferenceInMinutesA": difference in minutes between @2017-11-05T01:30:00-06:00 and @2017-11-05T01:15:00-07:00 + +define "From Github issue #29.DifferenceInDaysA": difference in days between @2017-03-12T00:00:00-07:00 and @2017-03-13T00:00:00-06:00 + +define "From Github issue #29.DifferenceInHoursAA": difference in hours between DateTime(2017, 3, 12, 1, 0, 0, 0, -7.0) and DateTime(2017, 3, 12, 3, 0, 0, 0, -6.0) + +define "From Github issue #29.DifferenceInMinutesAA": difference in minutes between DateTime(2017, 11, 5, 1, 30, 0, 0, -6.0) and DateTime(2017, 11, 5, 1, 15, 0, 0, -7.0) + +define "From Github issue #29.DifferenceInDaysAA": difference in days between DateTime(2017, 3, 12, 0, 0, 0, 0, -7.0) and DateTime(2017, 3, 13, 0, 0, 0, 0, -6.0) + +define "Duration.DateTimeDurationBetweenYear": years between DateTime(2005) and DateTime(2010) + +define "Duration.DateTimeDurationBetweenYearOffset": years between DateTime(2005, 5) and DateTime(2010, 4) + +define "Duration.DateTimeDurationBetweenMonth": months between @2014-01-31 and @2014-02-01 + +define "Duration.DateTimeDurationBetweenDaysDiffYears": days between DateTime(2010, 10, 12, 12, 5) and DateTime(2008, 8, 15, 8, 8) + +define "Uncertainty tests.DateTimeDurationBetweenUncertainInterval": days between DateTime(2014, 1, 15) and DateTime(2014, 2) + +define "Uncertainty tests.DateTimeDurationBetweenUncertainInterval2": months between DateTime(2005) and DateTime(2006, 5) + +define "Uncertainty tests.DateTimeDurationBetweenUncertainAdd": (days between DateTime(2014, 1, 15) and DateTime(2014, 2)) + + (days between DateTime(2014, 1, 15) and DateTime(2014, 2)) + +define "Uncertainty tests.DateTimeDurationBetweenUncertainSubtract": (days between DateTime(2014, 1, 15) and DateTime(2014, 2)) + - (months between DateTime(2005) and DateTime(2006, 5)) + +define "Uncertainty tests.DateTimeDurationBetweenUncertainMultiply": (days between DateTime(2014, 1, 15) and DateTime(2014, 2)) + * (days between DateTime(2014, 1, 15) and DateTime(2014, 2)) + +define "Uncertainty tests.DateTimeDurationBetweenUncertainDiv": (days between DateTime(2014, 1, 15) and DateTime(2014, 2)) + div (months between DateTime(2005) and DateTime(2006, 5)) + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain": months between DateTime(2005) and DateTime(2006, 7) > 5 + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain2": months between DateTime(2005) and DateTime(2006, 2) > 5 + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain3": months between DateTime(2005) and DateTime(2006, 7) > 25 + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain4": months between DateTime(2005) and DateTime(2006, 7) < 24 + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain5": months between DateTime(2005) and DateTime(2006, 7) = 24 + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain6": months between DateTime(2005) and DateTime(2006, 7) >= 5 + +define "Uncertainty tests.DateTimeDurationBetweenMonthUncertain7": months between DateTime(2005) and DateTime(2006, 7) <= 24 + +define "Uncertainty tests.DateTime1": @2012-03-10T10:20:00 + +define "Uncertainty tests.DateTime2": @2013-03-10T09:20:00 + +define "Uncertainty tests.DurationInYears": years between (date from @2012-03-10T10:20:00) and (date from @2013-03-10T09:20:00) + +define "Uncertainty tests.DurationInWeeks": weeks between @2012-03-10T22:05:09 and @2012-03-20T07:19:33 + +define "Uncertainty tests.DurationInWeeks2": weeks between @2012-03-10T22:05:09 and @2012-03-24T07:19:33 + +define "Uncertainty tests.DurationInWeeks3": weeks between @2012-03-10T06:05:09 and @2012-03-24T07:19:33 + +define "Uncertainty tests.TimeDurationBetweenHour": hours between @T20:26:15.555 and @T23:25:15.555 + +define "Uncertainty tests.TimeDurationBetweenHourDiffPrecision": hours between @T06Z and @T07:00:00Z + +define "Uncertainty tests.TimeDurationBetweenMinute": minutes between @T23:20:16.555 and @T23:25:15.555 + +define "Uncertainty tests.TimeDurationBetweenSecond": seconds between @T23:25:10.556 and @T23:25:15.555 + +define "Uncertainty tests.TimeDurationBetweenMillis": milliseconds between @T23:25:25.555 and @T23:25:25.560 + +define "Uncertainty tests.DurationInHoursA": hours between @2017-03-12T01:00:00-07:00 and @2017-03-12T03:00:00-06:00 + +define "Uncertainty tests.DurationInMinutesA": minutes between @2017-11-05T01:30:00-06:00 and @2017-11-05T01:15:00-07:00 + +define "Uncertainty tests.DurationInDaysA": days between @2017-03-12T00:00:00-07:00 and @2017-03-13T00:00:00-06:00 + +define "Uncertainty tests.DurationInHoursAA": hours between DateTime(2017, 3, 12, 1, 0, 0, 0, -7.0) and DateTime(2017, 3, 12, 3, 0, 0, 0, -6.0) + +define "Uncertainty tests.DurationInMinutesAA": minutes between DateTime(2017, 11, 5, 1, 30, 0, 0, -6.0) and DateTime(2017, 11, 5, 1, 15, 0, 0, -7.0) + +define "Uncertainty tests.DurationInDaysAA": days between DateTime(2017, 3, 12, 0, 0, 0, 0, -7.0) and DateTime(2017, 3, 13, 0, 0, 0, 0, -6.0) + +define "Now.DateTimeNow": Now() = Now() + +define "SameAs.DateTimeSameAsYearTrue": DateTime(2014) same year as DateTime(2014) + +define "SameAs.DateTimeSameAsYearFalse": DateTime(2013) same year as DateTime(2014) + +define "SameAs.DateTimeSameAsMonthTrue": DateTime(2014, 12) same month as DateTime(2014, 12) + +define "SameAs.DateTimeSameAsMonthFalse": DateTime(2014, 12) same month as DateTime(2014, 10) + +define "SameAs.DateTimeSameAsDayTrue": DateTime(2014, 12, 10) same day as DateTime(2014, 12, 10) + +define "SameAs.DateTimeSameAsDayFalse": DateTime(2014, 10, 10) same day as DateTime(2014, 10, 11) + +define "SameAs.DateTimeSameAsHourTrue": DateTime(2014, 12, 10, 20) same hour as DateTime(2014, 12, 10, 20) + +define "SameAs.DateTimeSameAsHourFalse": DateTime(2014, 10, 10, 20) same hour as DateTime(2014, 10, 10, 21) + +define "SameAs.DateTimeSameAsMinuteTrue": DateTime(2014, 12, 10, 20, 55) same minute as DateTime(2014, 12, 10, 20, 55) + +define "SameAs.DateTimeSameAsMinuteFalse": DateTime(2014, 10, 10, 20, 55) same minute as DateTime(2014, 10, 10, 21, 56) + +define "SameAs.DateTimeSameAsSecondTrue": DateTime(2014, 12, 10, 20, 55, 45) same second as DateTime(2014, 12, 10, 20, 55, 45) + +define "SameAs.DateTimeSameAsSecondFalse": DateTime(2014, 10, 10, 20, 55, 45) same second as DateTime(2014, 10, 10, 21, 55, 44) + +define "SameAs.DateTimeSameAsMillisecondTrue": DateTime(2014, 12, 10, 20, 55, 45, 500) same millisecond as DateTime(2014, 12, 10, 20, 55, 45, 500) + +define "SameAs.DateTimeSameAsMillisecondFalse": DateTime(2014, 10, 10, 20, 55, 45, 500) same millisecond as DateTime(2014, 10, 10, 21, 55, 45, 501) + +define "SameAs.DateTimeSameAsNull": DateTime(2014, 10) same day as DateTime(2014, 10, 12) + +define "SameAs.SameAsTimezoneTrue": @2012-03-10T10:20:00.999+07:00 same hour as @2012-03-10T09:20:00.999+06:00 + +define "SameAs.SameAsTimezoneFalse": @2012-03-10T10:20:00.999+07:00 same hour as @2012-03-10T10:20:00.999+06:00 + +define "SameAs.TimeSameAsHourTrue": @T23:25:25.555 same hour as @T23:55:25.900 + +define "SameAs.TimeSameAsHourFalse": @T22:25:25.555 same hour as @T23:25:25.555 + +define "SameAs.TimeSameAsMinuteTrue": @T23:55:22.555 same minute as @T23:55:25.900 + +define "SameAs.TimeSameAsMinuteFalse": @T23:26:25.555 same minute as @T23:25:25.555 + +define "SameAs.TimeSameAsSecondTrue": @T23:55:25.555 same second as @T23:55:25.900 + +define "SameAs.TimeSameAsSecondFalse": @T23:25:35.555 same second as @T23:25:25.555 + +define "SameAs.TimeSameAsMillisTrue": @T23:55:25.555 same millisecond as @T23:55:25.555 + +define "SameAs.TimeSameAsMillisFalse": @T23:25:25.555 same millisecond as @T23:25:25.554 + +define "SameOrAfter.DateTimeSameOrAfterYearTrue1": DateTime(2014) same year or after DateTime(2014) + +define "SameOrAfter.DateTimeSameOrAfterYearTrue2": DateTime(2016) same year or after DateTime(2014) + +define "SameOrAfter.DateTimeSameOrAfterYearFalse": DateTime(2013) same year or after DateTime(2014) + +define "SameOrAfter.DateTimeSameOrAfterMonthTrue1": DateTime(2014, 12) same month or after DateTime(2014, 12) + +define "SameOrAfter.DateTimeSameOrAfterMonthTrue2": DateTime(2014, 10) same month or after DateTime(2014, 9) + +define "SameOrAfter.DateTimeSameOrAfterMonthFalse": DateTime(2014, 10) same month or after DateTime(2014, 11) + +define "SameOrAfter.DateTimeSameOrAfterDayTrue1": DateTime(2014, 12, 20) same day or after DateTime(2014, 12, 20) + +define "SameOrAfter.DateTimeSameOrAfterDayTrue2": DateTime(2014, 10, 25) same day or after DateTime(2014, 10, 20) + +define "SameOrAfter.DateTimeSameOrAfterDayFalse": DateTime(2014, 10, 20) same day or after DateTime(2014, 10, 25) + +define "SameOrAfter.DateTimeSameOrAfterHourTrue1": DateTime(2014, 12, 20, 12) same hour or after DateTime(2014, 12, 20, 12) + +define "SameOrAfter.DateTimeSameOrAfterHourTrue2": DateTime(2014, 10, 25, 12) same hour or after DateTime(2014, 10, 25, 10) + +define "SameOrAfter.DateTimeSameOrAfterHourFalse": DateTime(2014, 10, 25, 12) same hour or after DateTime(2014, 10, 25, 15) + +define "SameOrAfter.DateTimeSameOrAfterMinuteTrue1": DateTime(2014, 12, 20, 12, 30) same minute or after DateTime(2014, 12, 20, 12, 30) + +define "SameOrAfter.DateTimeSameOrAfterMinuteTrue2": DateTime(2014, 10, 25, 10, 30) same minute or after DateTime(2014, 10, 25, 10, 25) + +define "SameOrAfter.DateTimeSameOrAfterMinuteFalse": DateTime(2014, 10, 25, 15, 30) same minute or after DateTime(2014, 10, 25, 15, 45) + +define "SameOrAfter.DateTimeSameOrAfterSecondTrue1": DateTime(2014, 12, 20, 12, 30, 15) same second or after DateTime(2014, 12, 20, 12, 30, 15) + +define "SameOrAfter.DateTimeSameOrAfterSecondTrue2": DateTime(2014, 10, 25, 10, 25, 25) same second or after DateTime(2014, 10, 25, 10, 25, 20) + +define "SameOrAfter.DateTimeSameOrAfterSecondFalse": DateTime(2014, 10, 25, 15, 45, 20) same second or after DateTime(2014, 10, 25, 15, 45, 21) + +define "SameOrAfter.DateTimeSameOrAfterMillisecondTrue1": DateTime(2014, 12, 20, 12, 30, 15, 250) same millisecond or after DateTime(2014, 12, 20, 12, 30, 15, 250) + +define "SameOrAfter.DateTimeSameOrAfterMillisecondTrue2": DateTime(2014, 10, 25, 10, 25, 20, 500) same millisecond or after DateTime(2014, 10, 25, 10, 25, 20, 499) + +define "SameOrAfter.DateTimeSameOrAfterMillisecondFalse": DateTime(2014, 10, 25, 15, 45, 20, 500) same millisecond or after DateTime(2014, 10, 25, 15, 45, 20, 501) + +define "SameOrAfter.DateTimeSameOrAfterNull1": DateTime(2014, 12, 20) same day or after DateTime(2014, 12) + +define "SameOrAfter.SameOrAfterTimezoneTrue": @2012-03-10T10:20:00.999+07:00 same hour or after @2012-03-10T09:20:00.999+06:00 + +define "SameOrAfter.SameOrAfterTimezoneFalse": @2012-03-10T10:20:00.999+07:00 same hour or after @2012-03-10T10:20:00.999+06:00 + +define "SameOrAfter.TimeSameOrAfterHourTrue1": @T23:25:25.555 same hour or after @T23:55:25.900 + +define "SameOrAfter.TimeSameOrAfterHourTrue2": @T23:25:25.555 same hour or after @T22:55:25.900 + +define "SameOrAfter.TimeSameOrAfterHourFalse": @T22:25:25.555 same hour or after @T23:55:25.900 + +define "SameOrAfter.TimeSameOrAfterMinuteTrue1": @T23:25:25.555 same minute or after @T23:25:25.900 + +define "SameOrAfter.TimeSameOrAfterMinuteTrue2": @T23:25:25.555 same minute or after @T22:15:25.900 + +define "SameOrAfter.TimeSameOrAfterMinuteFalse": @T23:25:25.555 same minute or after @T23:55:25.900 + +define "SameOrAfter.TimeSameOrAfterSecondTrue1": @T23:25:25.555 same second or after @T23:25:25.900 + +define "SameOrAfter.TimeSameOrAfterSecondTrue2": @T23:25:35.555 same second or after @T22:25:25.900 + +define "SameOrAfter.TimeSameOrAfterSecondFalse": @T23:55:25.555 same second or after @T23:55:35.900 + +define "SameOrAfter.TimeSameOrAfterMillisTrue1": @T23:25:25.555 same millisecond or after @T23:25:25.555 + +define "SameOrAfter.TimeSameOrAfterMillisTrue2": @T23:25:25.555 same millisecond or after @T22:25:25.550 + +define "SameOrAfter.TimeSameOrAfterMillisFalse": @T23:55:25.555 same millisecond or after @T23:55:25.900 + +define "SameOrAfter.OnOrAfterTrue": @2017-12-20T11:00:00.000 on or after @2017-12-20T11:00:00.000 + +define "SameOrAfter.Issue32DateTime": @2017-12-21T02:00:00.0 same or after @2017-12-20T11:00:00.0 + +define "SameOrBefore.DateTimeSameOrBeforeYearTrue1": DateTime(2014) same year or before DateTime(2014) + +define "SameOrBefore.DateTimeSameOrBeforeYearTrue2": DateTime(2013) same year or before DateTime(2014) + +define "SameOrBefore.DateTimeSameOrBeforeYearFalse": DateTime(2015) same year or before DateTime(2014) + +define "SameOrBefore.DateTimeSameOrBeforeMonthTrue1": DateTime(2014, 12) same month or before DateTime(2014, 12) + +define "SameOrBefore.DateTimeSameOrBeforeMonthTrue2": DateTime(2014, 8) same month or before DateTime(2014, 9) + +define "SameOrBefore.DateTimeSameOrBeforeMonthFalse": DateTime(2014, 12) same month or before DateTime(2014, 11) + +define "SameOrBefore.DateTimeSameOrBeforeDayTrue1": DateTime(2014, 12, 20) same day or before DateTime(2014, 12, 20) + +define "SameOrBefore.DateTimeSameOrBeforeDayTrue2": DateTime(2014, 10, 15) same day or before DateTime(2014, 10, 20) + +define "SameOrBefore.DateTimeSameOrBeforeDayFalse": DateTime(2014, 10, 30) same day or before DateTime(2014, 10, 25) + +define "SameOrBefore.DateTimeSameOrBeforeHourTrue1": DateTime(2014, 12, 20, 12) same hour or before DateTime(2014, 12, 20, 12) + +define "SameOrBefore.DateTimeSameOrBeforeHourTrue2": DateTime(2014, 10, 25, 5) same hour or before DateTime(2014, 10, 25, 10) + +define "SameOrBefore.DateTimeSameOrBeforeHourFalse": DateTime(2014, 10, 25, 20) same hour or before DateTime(2014, 10, 25, 15) + +define "SameOrBefore.DateTimeSameOrBeforeMinuteTrue1": DateTime(2014, 12, 20, 12, 30) same minute or before DateTime(2014, 12, 20, 12, 30) + +define "SameOrBefore.DateTimeSameOrBeforeMinuteTrue2": DateTime(2014, 10, 25, 10, 20) same minute or before DateTime(2014, 10, 25, 10, 25) + +define "SameOrBefore.DateTimeSameOrBeforeMinuteFalse": DateTime(2014, 10, 25, 15, 55) same minute or before DateTime(2014, 10, 25, 15, 45) + +define "SameOrBefore.DateTimeSameOrBeforeSecondTrue1": DateTime(2014, 12, 20, 12, 30, 15) same second or before DateTime(2014, 12, 20, 12, 30, 15) + +define "SameOrBefore.DateTimeSameOrBeforeSecondTrue2": DateTime(2014, 10, 25, 10, 25, 15) same second or before DateTime(2014, 10, 25, 10, 25, 20) + +define "SameOrBefore.DateTimeSameOrBeforeSecondFalse": DateTime(2014, 10, 25, 15, 45, 25) same second or before DateTime(2014, 10, 25, 15, 45, 21) + +define "SameOrBefore.DateTimeSameOrBeforeMillisecondTrue1": DateTime(2014, 12, 20, 12, 30, 15, 250) same millisecond or before DateTime(2014, 12, 20, 12, 30, 15, 250) + +define "SameOrBefore.DateTimeSameOrBeforeMillisecondTrue2": DateTime(2014, 10, 25, 10, 25, 20, 450) same millisecond or before DateTime(2014, 10, 25, 10, 25, 20, 499) + +define "SameOrBefore.DateTimeSameOrBeforeMillisecondFalse": DateTime(2014, 10, 25, 15, 45, 20, 505) same millisecond or before DateTime(2014, 10, 25, 15, 45, 20, 501) + +define "SameOrBefore.DateTimeSameOrBeforeNull1": DateTime(2014, 12, 20) same minute or before DateTime(2014, 12, 20, 15) + +define "SameOrBefore.SameOrBeforeTimezoneTrue": @2012-03-10T09:20:00.999+07:00 same hour or before @2012-03-10T10:20:00.999+06:00 + +define "SameOrBefore.SameOrBeforeTimezoneFalse": @2012-03-10T10:20:00.999+06:00 same hour or before @2012-03-10T10:20:00.999+07:00 + +define "SameOrBefore.TimeSameOrBeforeHourTrue1": @T23:25:25.555 same hour or before @T23:55:25.900 + +define "SameOrBefore.TimeSameOrBeforeHourTrue2": @T21:25:25.555 same hour or before @T22:55:25.900 + +define "SameOrBefore.TimeSameOrBeforeHourFalse": @T22:25:25.555 same hour or before @T21:55:25.900 + +define "SameOrBefore.TimeSameOrBeforeMinuteTrue1": @T23:25:25.555 same minute or before @T23:25:25.900 + +define "SameOrBefore.TimeSameOrBeforeMinuteFalse0": @T23:10:25.555 same minute or before @T22:15:25.900 + +define "SameOrBefore.TimeSameOrBeforeMinuteFalse": @T23:56:25.555 same minute or before @T23:55:25.900 + +define "SameOrBefore.TimeSameOrBeforeSecondTrue1": @T23:25:25.555 same second or before @T23:25:25.900 + +define "SameOrBefore.TimeSameOrBeforeSecondFalse0": @T23:25:35.555 same second or before @T22:25:45.900 + +define "SameOrBefore.TimeSameOrBeforeSecondFalse": @T23:55:45.555 same second or before @T23:55:35.900 + +define "SameOrBefore.TimeSameOrBeforeMillisTrue1": @T23:25:25.555 same millisecond or before @T23:25:25.555 + +define "SameOrBefore.TimeSameOrBeforeMillisFalse0": @T23:25:25.200 same millisecond or before @T22:25:25.550 + +define "SameOrBefore.TimeSameOrBeforeMillisFalse": @T23:55:25.966 same millisecond or before @T23:55:25.900 + +define "Subtract.DateTimeSubtract5Years": DateTime(2005, 10, 10) - 5 years + +define "Subtract.DateTimeSubtractInvalidYears": DateTime(2005, 10, 10) - 2005 years + +define "Subtract.DateTimeSubtract5Months": DateTime(2005, 6, 10) - 5 months + +define "Subtract.DateTimeSubtractMonthsUnderflow": DateTime(2005, 5, 10) - 6 months + +define "Subtract.DateTimeSubtract5Days": DateTime(2005, 5, 10) - 5 days + +define "Subtract.DateTimeSubtractDaysUnderflow": DateTime(2016, 6, 10) - 11 days + +define "Subtract.DateTimeSubtract5Hours": DateTime(2005, 5, 10, 10) - 5 hours + +define "Subtract.DateTimeSubtractHoursUnderflow": DateTime(2016, 6, 10, 5) - 6 hours + +define "Subtract.DateTimeSubtract5Minutes": DateTime(2005, 5, 10, 5, 10) - 5 minutes + +define "Subtract.DateTimeSubtractMinutesUnderflow": DateTime(2016, 6, 10, 5, 5) - 6 minutes + +define "Subtract.DateTimeSubtract5Seconds": DateTime(2005, 5, 10, 5, 5, 10) - 5 seconds + +define "Subtract.DateTimeSubtractSecondsUnderflow": DateTime(2016, 6, 10, 5, 5, 5) - 6 seconds + +define "Subtract.DateTimeSubtract5Milliseconds": DateTime(2005, 5, 10, 5, 5, 5, 10) - 5 milliseconds + +define "Subtract.DateTimeSubtractMillisecondsUnderflow": DateTime(2016, 6, 10, 5, 5, 5, 5) - 6 milliseconds + +define "Subtract.DateTimeSubtract2YearsAsMonths": DateTime(2014) - 24 months + +define "Subtract.DateTimeSubtract2YearsAsMonthsRem1": DateTime(2014) - 25 months + +define "Subtract.TimeSubtract5Hours": @T15:59:59.999 - 5 hours + +define "Subtract.TimeSubtract1Minute": @T15:59:59.999 - 1 minutes + +define "Subtract.TimeSubtract1Second": @T15:59:59.999 - 1 seconds + +define "Subtract.TimeSubtract1Millisecond": @T15:59:59.0 - 1 milliseconds + +define "Subtract.TimeSubtract5Hours1Minute": @T15:59:59.999 - 5 hours - 1 minutes + +define "Subtract.TimeSubtract5hoursByMinute": @T15:59:59.999 - 300 minutes + +define "Time.TimeTest2": @T23:59:59.999 + +define "TimeOfDay.TimeOfDayTest": TimeOfDay() + +define "Today.DateTimeSameOrBeforeTodayTrue1": Today() same day or before Today() + +define "Today.DateTimeSameOrBeforeTodayTrue2": Today() same day or before Today() + 1 days + +define "Today.DateTimeSameOrBeforeTodayFalse": Today() + 1 years same day or before Today() + +define "Today.DateTimeAddTodayTrue": Today() + 1 days > Today() + +define "Today.Issue34B": Today() + diff --git a/cql/CqlErrorsAndMessagingOperatorsTest.cql b/cql/CqlErrorsAndMessagingOperatorsTest.cql new file mode 100644 index 0000000..ef25121 --- /dev/null +++ b/cql/CqlErrorsAndMessagingOperatorsTest.cql @@ -0,0 +1,10 @@ +library CqlErrorsAndMessagingOperatorsTest + +define "undefined.TestMessageInfo": Message(1, true, '100', 'Message', 'Test Message') + +define "undefined.TestMessageWarn": Message(2, true, '200', 'Warning', 'You have been warned!') + +define "undefined.TestMessageTrace": Message({3, 4, 5}, true, '300', 'Trace', 'This is a trace') + +define "undefined.TestMessageError": Message(3 + 1, true, '400', 'Error', 'This is an error!') + diff --git a/cql/CqlErrorsAndMessagingOperatorsTest.json b/cql/CqlErrorsAndMessagingOperatorsTest.json new file mode 100644 index 0000000..93e92a1 --- /dev/null +++ b/cql/CqlErrorsAndMessagingOperatorsTest.json @@ -0,0 +1,466 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "","library CqlErrorsAndMessagingOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlErrorsAndMessagingOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:86", + "name" : "undefined.TestMessageInfo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"undefined.TestMessageInfo\"",": " ] + }, { + "r" : "215", + "s" : [ { + "r" : "208", + "value" : [ "Message","(","1",", ","true",", " ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "'100'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "211", + "s" : [ { + "value" : [ "'Message'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "212", + "s" : [ { + "value" : [ "'Test Message'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "215", + "locator" : "3:37-3:86", + "type" : "Message", + "signature" : [ ], + "source" : { + "localId" : "208", + "locator" : "3:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "condition" : { + "localId" : "209", + "locator" : "3:48-3:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, + "code" : { + "localId" : "210", + "locator" : "3:54-3:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "100", + "type" : "Literal" + }, + "severity" : { + "localId" : "211", + "locator" : "3:61-3:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Message", + "type" : "Literal" + }, + "message" : { + "localId" : "212", + "locator" : "3:72-3:85", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Test Message", + "type" : "Literal" + } + } + }, { + "localId" : "217", + "locator" : "5:1-5:95", + "name" : "undefined.TestMessageWarn", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "","define ","\"undefined.TestMessageWarn\"",": " ] + }, { + "r" : "225", + "s" : [ { + "r" : "218", + "value" : [ "Message","(","2",", ","true",", " ] + }, { + "r" : "220", + "s" : [ { + "value" : [ "'200'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "221", + "s" : [ { + "value" : [ "'Warning'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "222", + "s" : [ { + "value" : [ "'You have been warned!'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "225", + "locator" : "5:37-5:95", + "type" : "Message", + "signature" : [ ], + "source" : { + "localId" : "218", + "locator" : "5:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "condition" : { + "localId" : "219", + "locator" : "5:48-5:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, + "code" : { + "localId" : "220", + "locator" : "5:54-5:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "200", + "type" : "Literal" + }, + "severity" : { + "localId" : "221", + "locator" : "5:61-5:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Warning", + "type" : "Literal" + }, + "message" : { + "localId" : "222", + "locator" : "5:72-5:94", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "You have been warned!", + "type" : "Literal" + } + } + }, { + "localId" : "227", + "locator" : "7:1-7:96", + "name" : "undefined.TestMessageTrace", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "","define ","\"undefined.TestMessageTrace\"",": " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "Message","(" ] + }, { + "r" : "228", + "s" : [ { + "r" : "229", + "value" : [ "{","3",", ","4",", ","5","}" ] + } ] + }, { + "r" : "232", + "value" : [ ", ","true",", " ] + }, { + "r" : "233", + "s" : [ { + "value" : [ "'300'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "234", + "s" : [ { + "value" : [ "'Trace'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "'This is a trace'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "244", + "locator" : "7:38-7:96", + "type" : "Message", + "signature" : [ { + "localId" : "245", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "248", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "249", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "250", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "source" : { + "localId" : "228", + "locator" : "7:46-7:54", + "type" : "List", + "element" : [ { + "localId" : "229", + "locator" : "7:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "230", + "locator" : "7:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "231", + "locator" : "7:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "condition" : { + "localId" : "232", + "locator" : "7:57-7:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, + "code" : { + "localId" : "233", + "locator" : "7:63-7:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "300", + "type" : "Literal" + }, + "severity" : { + "localId" : "234", + "locator" : "7:70-7:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Trace", + "type" : "Literal" + }, + "message" : { + "localId" : "235", + "locator" : "7:79-7:95", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "This is a trace", + "type" : "Literal" + } + } + }, { + "localId" : "252", + "locator" : "9:1-9:94", + "name" : "undefined.TestMessageError", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "","define ","\"undefined.TestMessageError\"",": " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "Message","(" ] + }, { + "r" : "253", + "s" : [ { + "r" : "254", + "value" : [ "3"," + ","1" ] + } ] + }, { + "r" : "258", + "value" : [ ", ","true",", " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "'400'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "260", + "s" : [ { + "value" : [ "'Error'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "261", + "s" : [ { + "value" : [ "'This is an error!'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "269", + "locator" : "9:38-9:94", + "type" : "Message", + "signature" : [ { + "localId" : "270", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "271", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "272", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "274", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "source" : { + "localId" : "253", + "locator" : "9:46-9:50", + "type" : "Add", + "signature" : [ { + "localId" : "256", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "257", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "254", + "locator" : "9:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "255", + "locator" : "9:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + }, + "condition" : { + "localId" : "258", + "locator" : "9:53-9:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, + "code" : { + "localId" : "259", + "locator" : "9:59-9:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "400", + "type" : "Literal" + }, + "severity" : { + "localId" : "260", + "locator" : "9:66-9:72", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Error", + "type" : "Literal" + }, + "message" : { + "localId" : "261", + "locator" : "9:75-9:93", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "This is an error!", + "type" : "Literal" + } + } + } ] + } + } +} + diff --git a/cql/CqlErrorsAndMessagingOperatorsTest.xml b/cql/CqlErrorsAndMessagingOperatorsTest.xml new file mode 100644 index 0000000..325b63d --- /dev/null +++ b/cql/CqlErrorsAndMessagingOperatorsTest.xml @@ -0,0 +1,163 @@ + + + + + + library CqlErrorsAndMessagingOperatorsTest + + + + + + + + + + + + define "undefined.TestMessageInfo": + + Message(1, true, + + '100' + + , + + 'Message' + + , + + 'Test Message' + + ) + + + + + + + + + + + + + + + define "undefined.TestMessageWarn": + + Message(2, true, + + '200' + + , + + 'Warning' + + , + + 'You have been warned!' + + ) + + + + + + + + + + + + + + + define "undefined.TestMessageTrace": + + Message( + + {3, 4, 5} + + , true, + + '300' + + , + + 'Trace' + + , + + 'This is a trace' + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + define "undefined.TestMessageError": + + Message( + + 3 + 1 + + , true, + + '400' + + , + + 'Error' + + , + + 'This is an error!' + + ) + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cql/CqlIntervalOperatorsTest.cql b/cql/CqlIntervalOperatorsTest.cql new file mode 100644 index 0000000..7740c51 --- /dev/null +++ b/cql/CqlIntervalOperatorsTest.cql @@ -0,0 +1,732 @@ +library CqlIntervalOperatorsTest + +define "After.TestAfterNull": (null as Integer) after Interval[1, 10] + +define "After.IntegerIntervalAfterTrue": Interval[11, 20] after Interval[1, 10] + +define "After.IntegerIntervalAfterFalse": Interval[1, 10] after Interval[11, 20] + +define "After.IntegerIntervalPointAfterTrue": 12 after Interval[1, 10] + +define "After.IntegerIntervalPointAfterFalse": 9 after Interval[1, 10] + +define "After.IntegerIntervalAfterPointTrue": Interval[11, 20] after 5 + +define "After.IntegerIntervalAfterPointFalse": Interval[11, 20] after 12 + +define "After.DecimalIntervalAfterTrue": Interval[11.0, 20.0] after Interval[1.0, 10.0] + +define "After.DecimalIntervalAfterFalse": Interval[1.0, 10.0] after Interval[11.0, 20.0] + +define "After.DecimalIntervalPointAfterTrue": 12.0 after Interval[1.0, 10.0] + +define "After.DecimalIntervalPointAfterFalse": 9.0 after Interval[1.0, 10.0] + +define "After.DecimalIntervalAfterPointTrue": Interval[11.0, 20.0] after 5.0 + +define "After.DecimalIntervalAfterPointFalse": Interval[11.0, 20.0] after 12.0 + +define "After.QuantityIntervalAfterTrue": Interval[11.0 'g', 20.0 'g'] after Interval[1.0 'g', 10.0 'g'] + +define "After.QuantityIntervalAfterFalse": Interval[1.0 'g', 10.0 'g'] after Interval[11.0 'g', 20.0 'g'] + +define "After.QuantityIntervalPointAfterTrue": 12.0'g' after Interval[1.0 'g', 10.0 'g'] + +define "After.QuantityIntervalPointAfterFalse": 9.0'g' after Interval[1.0 'g', 10.0 'g'] + +define "After.QuantityIntervalAfterPointTrue": Interval[11.0 'g', 20.0 'g'] after 5.0'g' + +define "After.QuantityIntervalAfterPointFalse": Interval[11.0 'g', 20.0 'g'] after 12.0'g' + +define "After.DateTimeAfterTrue": Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] after DateTime(2011, 12, 31) + +define "After.DateTimeAfterFalse": Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] after DateTime(2012, 12, 31) + +define "After.TimeAfterTrue": Interval[@T15:59:59.999, @T20:59:59.999] after @T12:59:59.999 + +define "After.TimeAfterFalse": Interval[@T15:59:59.999, @T20:59:59.999] after @T17:59:59.999 + +define "Before.TestBeforeNull": (null as Integer) before Interval[1, 10] + +define "Before.IntegerIntervalBeforeFalse": Interval[11, 20] before Interval[1, 10] + +define "Before.IntegerIntervalBeforeTrue": Interval[1, 10] before Interval[11, 20] + +define "Before.IntegerIntervalPointBeforeTrue": 9 before Interval[11, 20] + +define "Before.IntegerIntervalPointBeforeFalse": 9 before Interval[1, 10] + +define "Before.IntegerIntervalBeforePointTrue": Interval[1, 10] before 11 + +define "Before.IntegerIntervalBeforePointFalse": Interval[1, 10] before 8 + +define "Before.DecimalIntervalBeforeFalse": Interval[11.0, 20.0] before Interval[1.0, 10.0] + +define "Before.DecimalIntervalBeforeTrue": Interval[1.0, 10.0] before Interval[11.0, 20.0] + +define "Before.DecimalIntervalPointBeforeTrue": 9.0 before Interval[11.0, 20.0] + +define "Before.DecimalIntervalPointBeforeFalse": 9.0 before Interval[1.0, 10.0] + +define "Before.DecimalIntervalBeforePointTrue": Interval[1.0, 10.0] before 11.0 + +define "Before.DecimalIntervalBeforePointFalse": Interval[1.0, 10.0] before 8.0 + +define "Before.QuantityIntervalBeforeTrue": Interval[1.0 'g', 10.0 'g'] before Interval[11.0 'g', 20.0 'g'] + +define "Before.QuantityIntervalBeforeFalse": Interval[11.0 'g', 20.0 'g'] before Interval[1.0 'g', 10.0 'g'] + +define "Before.QuantityIntervalPointBeforeTrue": Interval[1.0 'g', 10.0 'g'] before 12.0'g' + +define "Before.QuantityIntervalPointBeforeFalse": Interval[1.0 'g', 10.0 'g'] before 9.0'g' + +define "Before.QuantityIntervalBeforePointTrue": 5.0'g' before Interval[11.0 'g', 20.0 'g'] + +define "Before.QuantityIntervalBeforePointFalse": 12.0'g' before Interval[11.0 'g', 20.0 'g'] + +define "Before.DateTimeBeforeTrue": Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] before DateTime(2012, 2, 27) + +define "Before.DateTimeBeforeFalse": Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] before DateTime(2011, 12, 31) + +define "Before.TimeBeforeTrue": Interval[@T15:59:59.999, @T20:59:59.999] before @T22:59:59.999 + +define "Before.TimeBeforeFalse": Interval[@T15:59:59.999, @T20:59:59.999] before @T10:59:59.999 + +define "Collapse.TestCollapseNull": collapse {Interval(null, null)} + +define "Collapse.IntegerIntervalCollapse": collapse { Interval[1,5], Interval[3,7], Interval[12,19], Interval[7,10] } + +define "Collapse.IntegerIntervalCollapse2": collapse { Interval[1,2], Interval[3,7], Interval[10,19], Interval[7,10] } + +define "Collapse.IntegerIntervalCollapse3": collapse { Interval[4,6], Interval[7,8] } + +define "Collapse.DecimalIntervalCollapse": collapse { Interval[1.0,5.0], Interval[3.0,7.0], Interval[12.0,19.0], Interval[7.0,10.0] } + +define "Collapse.DecimalIntervalCollapse2": collapse { Interval[4.0,6.0], Interval[6.00000001,8.0] } + +define "Collapse.QuantityIntervalCollapse": collapse { Interval[1.0 'g',5.0 'g'], Interval[3.0 'g',7.0 'g'], Interval[12.0 'g',19.0 'g'], Interval[7.0 'g',10.0 'g'] } + +define "Collapse.DateTimeCollapse": collapse { Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)], Interval[DateTime(2012, 1, 10), DateTime(2012, 1, 25)], Interval[DateTime(2012, 5, 10), DateTime(2012, 5, 25)], Interval[DateTime(2012, 5, 20), DateTime(2012, 5, 30)] } + +define "Collapse.DateTimeCollapse2": collapse { Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)], Interval[DateTime(2012, 1, 16), DateTime(2012, 5, 25)] } + +define "Collapse.TimeCollapse": collapse { Interval[@T01:59:59.999, @T10:59:59.999], Interval[@T08:59:59.999, @T15:59:59.999], Interval[@T17:59:59.999, @T20:59:59.999], Interval[@T18:59:59.999, @T22:59:59.999] } + +define "Collapse.TimeCollapse2": collapse { Interval[@T01:59:59.999, @T10:59:59.999], Interval[@T11:00:00.000, @T15:59:59.999] } + +define "Expand.ExpandPerDay": expand { Interval[@2018-01-01, @2018-01-04] } per day + +define "Expand.ExpandPer2Days": expand { Interval[@2018-01-01, @2018-01-04] } per 2 days + +define "Expand.ExpandPerHour": expand { Interval[@T10:00, @T12:30] } per hour + +define "Expand.ExpandPer1": expand { Interval[10.0, 12.5] } per 1 + +define "Expand.ExpandPerMinute": expand { Interval[@T10, @T10] } per minute + +define "Expand.ExpandPer0D1": expand { Interval[10, 10] } per 0.1 + +define "Expand.ExpandInterval": expand { Interval[1, 10] } + +define "Expand.ExpandIntervalPer2": expand { Interval[1, 10] } per 2 + +define "Contains.TestContainsNull": Interval[1, 10] contains null + +define "Contains.TestNullElement1": null contains 5 + +define "Contains.TestNullElement2": Interval[null, 5] contains 10 + +define "Contains.IntegerIntervalContainsTrue": Interval[1, 10] contains 5 + +define "Contains.IntegerIntervalContainsFalse": Interval[1, 10] contains 25 + +define "Contains.DecimalIntervalContainsTrue": Interval[1.0, 10.0] contains 8.0 + +define "Contains.DecimalIntervalContainsFalse": Interval[1.0, 10.0] contains 255.0 + +define "Contains.QuantityIntervalContainsTrue": Interval[1.0 'g', 10.0 'g'] contains 2.0 'g' + +define "Contains.QuantityIntervalContainsFalse": Interval[1.0 'g', 10.0 'g'] contains 100.0 'g' + +define "Contains.DateTimeContainsTrue": Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] contains DateTime(2012, 1, 10) + +define "Contains.DateTimeContainsFalse": Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] contains DateTime(2012, 1, 16) + +define "Contains.TimeContainsTrue": Interval[@T01:59:59.999, @T10:59:59.999] contains @T05:59:59.999 + +define "Contains.TimeContainsFalse": Interval[@T01:59:59.999, @T10:59:59.999] contains @T15:59:59.999 + +define "End.IntegerIntervalEnd": end of Interval[1, 10] + +define "End.DecimalIntervalEnd": end of Interval[1.0, 10.0] + +define "End.QuantityIntervalEnd": end of Interval[1.0 'g', 10.0 'g'] + +define "End.DateTimeIntervalEnd": end of Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000] + +define "End.TimeIntervalEnd": end of Interval[@T00:00:00.000, @T23:59:59.599] + +define "Ends.TestEndsNull": Interval[1, 10] ends Interval(null, null) + +define "Ends.IntegerIntervalEndsTrue": Interval[4, 10] ends Interval[1, 10] + +define "Ends.IntegerIntervalEndsFalse": Interval[44, 50] ends Interval[1, 10] + +define "Ends.DecimalIntervalEndsTrue": Interval[4.0, 10.0] ends Interval[1.0, 10.0] + +define "Ends.DecimalIntervalEndsFalse": Interval[11.0, 20.0] ends Interval[1.0, 10.0] + +define "Ends.QuantityIntervalEndsTrue": Interval[5.0 'g', 10.0 'g'] ends Interval[1.0 'g', 10.0 'g'] + +define "Ends.QuantityIntervalEndsFalse": Interval[11.0 'g', 20.0 'g'] ends Interval[1.0 'g', 10.0 'g'] + +define "Ends.DateTimeEndsTrue": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] + +define "Ends.DateTimeEndsFalse": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 16)] + +define "Ends.TimeEndsTrue": Interval[@T05:59:59.999, @T10:59:59.999] ends Interval[@T01:59:59.999, @T10:59:59.999] + +define "Ends.TimeEndsFalse": Interval[@T05:59:59.999, @T10:59:59.999] ends Interval[@T01:59:59.999, @T11:59:59.999] + +define "Equal.TestEqualNull": Interval[1, 10] = Interval(null, null) + +define "Equal.IntegerIntervalEqualTrue": Interval[1, 10] = Interval[1, 10] + +define "Equal.IntegerIntervalEqualFalse": Interval[1, 10] = Interval[11, 20] + +define "Equal.DecimalIntervalEqualTrue": Interval[1.0, 10.0] = Interval[1.0, 10.0] + +define "Equal.DecimalIntervalEqualFalse": Interval[1.0, 10.0] = Interval[11.0, 20.0] + +define "Equal.QuantityIntervalEqualTrue": Interval[1.0 'g', 10.0 'g'] = Interval[1.0 'g', 10.0 'g'] + +define "Equal.QuantityIntervalEqualFalse": Interval[1.0 'g', 10.0 'g'] = Interval[11.0 'g', 20.0 'g'] + +define "Equal.DateTimeEqualTrue": Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] = Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] + +define "Equal.DateTimeEqualFalse": Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] = Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 16, 0, 0, 0, 0)] + +define "Equal.TimeEqualTrue": Interval[@T05:59:59.999, @T10:59:59.999] = Interval[@T05:59:59.999, @T10:59:59.999] + +define "Equal.TimeEqualFalse": Interval[@T05:59:59.999, @T10:59:59.999] = Interval[@T05:59:59.999, @T10:58:59.999] + +define "Except.NullInterval": Interval[null, null] + +define "Except.TestExceptNull": Interval[null, null] except Interval[null, null] + +define "Except.IntegerIntervalExcept1to3": Interval[1, 10] except Interval[4, 10] + +define "Except.IntegerIntervalExceptNull": Interval[1, 10] except Interval[3, 7] + +define "Except.DecimalIntervalExcept1to3": Interval[1.0, 10.0] except Interval[4.0, 10.0] + +define "Except.DecimalIntervalExceptNull": Interval[1.0, 10.0] except Interval[3.0, 7.0] + +define "Except.QuantityIntervalExcept1to4": Interval[1.0 'g', 10.0 'g'] except Interval[5.0 'g', 10.0 'g'] + +define "Except.Except12": Interval[1, 4] except Interval[3, 6] + +define "Except.ExceptDateTimeInterval": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] except Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 15)] + +define "Except.ExceptDateTime2": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 16)] except Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 12)] + +define "Except.ExceptTimeInterval": Interval[@T05:59:59.999, @T10:59:59.999] except Interval[@T08:59:59.999, @T10:59:59.999] + +define "Except.ExceptTime2": Interval[@T08:59:59.999, @T11:59:59.999] except Interval[@T05:59:59.999, @T10:59:59.999] + +define "In.TestInNullBoundaries": 5 in Interval[null, null] + +define "In.IntegerIntervalInTrue": 5 in Interval[1, 10] + +define "In.IntegerIntervalInFalse": 500 in Interval[1, 10] + +define "In.DecimalIntervalInTrue": 9.0 in Interval[1.0, 10.0] + +define "In.DecimalIntervalInFalse": -2.0 in Interval[1.0, 10.0] + +define "In.QuantityIntervalInTrue": 1.0 'g' in Interval[1.0 'g', 10.0 'g'] + +define "In.QuantityIntervalInFalse": 55.0 'g' in Interval[1.0 'g', 10.0 'g'] + +define "In.DateTimeInTrue": DateTime(2012, 1, 7) in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] + +define "In.DateTimeInFalse": DateTime(2012, 1, 17) in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] + +define "In.DateTimeInNullTrue": DateTime(2012, 1, 7) in Interval[DateTime(2012, 1, 5), null] + +define "In.TimeInTrue": @T07:59:59.999 in Interval[@T05:59:59.999, @T10:59:59.999] + +define "In.TimeInFalse": @T17:59:59.999 in Interval[@T05:59:59.999, @T10:59:59.999] + +define "In.TimeInNull": null in Interval[@T05:59:59.999, @T10:59:59.999] + +define "In.TestPeriod1": Interval[@2017-12-20T11:00:00, @2017-12-21T21:00:00] + +define "In.TestPeriod2": Interval[@2017-12-20T10:30:00, @2017-12-20T12:00:00] + +define "In.Issue32Interval": Interval[@2017-12-20T10:30:00, @2017-12-20T12:00:00] + starts 1 day or less on or after day of start of + Interval[@2017-12-20T11:00:00, @2017-12-21T21:00:00] + +define "Includes.TestIncludesNull": Interval[1, 10] includes null + +define "Includes.IntegerIntervalIncludesTrue": Interval[1, 10] includes Interval[4, 10] + +define "Includes.IntegerIntervalIncludesFalse": Interval[1, 10] includes Interval[44, 50] + +define "Includes.DecimalIntervalIncludesTrue": Interval[1.0, 10.0] includes Interval[4.0, 10.0] + +define "Includes.DecimalIntervalIncludesFalse": Interval[1.0, 10.0] includes Interval[11.0, 20.0] + +define "Includes.QuantityIntervalIncludesTrue": Interval[1.0 'g', 10.0 'g'] includes Interval[5.0 'g', 10.0 'g'] + +define "Includes.QuantityIntervalIncludesFalse": Interval[1.0 'g', 10.0 'g'] includes Interval[11.0 'g', 20.0 'g'] + +define "Includes.DateTimeIncludesTrue": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] includes Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] + +define "Includes.DateTimeIncludesFalse": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] includes Interval[DateTime(2012, 1, 4), DateTime(2012, 1, 14)] + +define "Includes.TimeIncludesTrue": Interval[@T05:59:59.999, @T10:59:59.999] includes Interval[@T06:59:59.999, @T09:59:59.999] + +define "Includes.TimeIncludesFalse": Interval[@T05:59:59.999, @T10:59:59.999] includes Interval[@T04:59:59.999, @T09:59:59.999] + +define "Included In.TestIncludedInNull": null included in Interval[1, 10] + +define "Included In.IntegerIntervalIncludedInTrue": Interval[4, 10] included in Interval[1, 10] + +define "Included In.IntegerIntervalIncludedInFalse": Interval[44, 50] included in Interval[1, 10] + +define "Included In.DecimalIntervalIncludedInTrue": Interval[4.0, 10.0] included in Interval[1.0, 10.0] + +define "Included In.DecimalIntervalIncludedInFalse": Interval[11.0, 20.0] included in Interval[1.0, 10.0] + +define "Included In.QuantityIntervalIncludedInTrue": Interval[5.0 'g', 10.0 'g'] included in Interval[1.0 'g', 10.0 'g'] + +define "Included In.QuantityIntervalIncludedInFalse": Interval[11.0 'g', 20.0 'g'] included in Interval[1.0 'g', 10.0 'g'] + +define "Included In.DateTimeIncludedInTrue": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] included in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] + +define "Included In.DateTimeIncludedInFalse": Interval[DateTime(2012, 1, 4), DateTime(2012, 1, 14)] included in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] + +define "Included In.TimeIncludedInTrue": Interval[@T06:59:59.999, @T09:59:59.999] included in Interval[@T05:59:59.999, @T10:59:59.999] + +define "Included In.TimeIncludedInFalse": Interval[@T04:59:59.999, @T09:59:59.999] included in Interval[@T05:59:59.999, @T10:59:59.999] + +define "Included In.DateTimeIncludedInNull": Interval [@2017-09-01T00:00:00, @2017-09-01T00:00:00] included in Interval [@2017-09-01T00:00:00.000, @2017-12-30T23:59:59.999] + +define "Included In.DateTimeIncludedInPrecisionTrue": Interval [@2017-09-01T00:00:00, @2017-09-01T00:00:00] included in day of Interval [@2017-09-01T00:00:00.000, @2017-12-30T23:59:59.999] + +define "Included In.DateTimeIncludedInPrecisionNull": Interval [@2017-09-01T00:00:00, @2017-09-01T00:00:00] included in millisecond of Interval [@2017-09-01T00:00:00.000, @2017-12-30T23:59:59.999] + +define "Intersect.TestIntersectNull": Interval[1, 10] intersect Interval[5, null) + +define "Intersect.TestIntersectNull1": start of (Interval[1, 10] intersect Interval[5, null)) <= 10 + +define "Intersect.TestIntersectNull2": start of (Interval[1, 10] intersect Interval[5, null)) >= 5 + +define "Intersect.TestIntersectNull3": start of (Interval[1, 10] intersect Interval[5, null)) > 10 + +define "Intersect.TestIntersectNull4": start of (Interval[1, 10] intersect Interval[5, null)) < 5 + +define "Intersect.IntegerIntervalIntersectTest4to10": Interval[1, 10] intersect Interval[4, 10] + +define "Intersect.IntegerIntervalIntersectTestNull": Interval[1, 10] intersect Interval[11, 20] + +define "Intersect.DecimalIntervalIntersectTest4to10": Interval[1.0, 10.0] intersect Interval[4.0, 10.0] + +define "Intersect.DecimalIntervalIntersectTestNull": Interval[1.0, 10.0] intersect Interval[11.0, 20.0] + +define "Intersect.QuantityIntervalIntersectTest5to10": Interval[1.0 'g', 10.0 'g'] intersect Interval[5.0 'g', 10.0 'g'] + +define "Intersect.QuantityIntervalIntersectTestNull": Interval[1.0 'g', 10.0 'g'] intersect Interval[11.0 'g', 20.0 'g'] + +define "Intersect.DateTimeIntersect": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] intersect Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 10)] + +define "Intersect.TimeIntersect": Interval[@T04:59:59.999, @T09:59:59.999] intersect Interval[@T04:59:59.999, @T06:59:59.999] + +define "Equivalent.IntegerIntervalEquivalentTrue": Interval[1, 10] ~ Interval[1, 10] + +define "Equivalent.IntegerIntervalEquivalentFalse": Interval[44, 50] ~ Interval[1, 10] + +define "Equivalent.DecimalIntervalEquivalentTrue": Interval[1.0, 10.0] ~ Interval[1.0, 10.0] + +define "Equivalent.DecimalIntervalEquivalentFalse": Interval[11.0, 20.0] ~ Interval[1.0, 10.0] + +define "Equivalent.QuantityIntervalEquivalentTrue": Interval[1.0 'g', 10.0 'g'] ~ Interval[1.0 'g', 10.0 'g'] + +define "Equivalent.QuantityIntervalEquivalentFalse": Interval[11.0 'g', 20.0 'g'] ~ Interval[1.0 'g', 10.0 'g'] + +define "Equivalent.DateTimeEquivalentTrue": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] ~ Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] + +define "Equivalent.DateTimeEquivalentFalse": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] ~ Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 15)] + +define "Equivalent.TimeEquivalentTrue": Interval[@T04:59:59.999, @T09:59:59.999] ~ Interval[@T04:59:59.999, @T09:59:59.999] + +define "Equivalent.TimeEquivalentFalse": Interval[@T04:59:59.999, @T09:59:59.999] ~ Interval[@T04:58:59.999, @T09:59:59.999] + +define "Meets.TestMeetsNull": Interval(null, 5] meets Interval(null, 15) + +define "Meets.IntegerIntervalMeetsTrue": Interval[1, 10] meets Interval[11, 20] + +define "Meets.IntegerIntervalMeetsFalse": Interval[1, 10] meets Interval[44, 50] + +define "Meets.DecimalIntervalMeetsTrue": Interval[3.01, 5.00000001] meets Interval[5.00000002, 8.50] + +define "Meets.DecimalIntervalMeetsFalse": Interval[3.01, 5.00000001] meets Interval[5.5, 8.50] + +define "Meets.QuantityIntervalMeetsTrue": Interval[3.01 'g', 5.00000001 'g'] meets Interval[5.00000002 'g', 8.50 'g'] + +define "Meets.QuantityIntervalMeetsFalse": Interval[3.01 'g', 5.00000001 'g'] meets Interval[5.5 'g', 8.50 'g'] + +define "Meets.DateTimeMeetsTrue": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 25)] + +define "Meets.DateTimeMeetsFalse": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 20), DateTime(2012, 1, 25)] + +define "Meets.TimeMeetsTrue": Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:00:00.000, @T19:59:59.999] + +define "Meets.TimeMeetsFalse": Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:12:00.000, @T19:59:59.999] + +define "MeetsBefore.TestMeetsBeforeNull": Interval(null, 5] meets before Interval(null, 25] + +define "MeetsBefore.IntegerIntervalMeetsBeforeTrue": Interval[1, 10] meets before Interval[11, 20] + +define "MeetsBefore.IntegerIntervalMeetsBeforeFalse": Interval[1, 10] meets before Interval[44, 50] + +define "MeetsBefore.DecimalIntervalMeetsBeforeTrue": Interval[3.50000001, 5.00000011] meets before Interval[5.00000012, 8.50] + +define "MeetsBefore.DecimalIntervalMeetsBeforeFalse": Interval[8.01, 15.00000001] meets before Interval[15.00000000, 18.50] + +define "MeetsBefore.QuantityIntervalMeetsBeforeTrue": Interval[3.50000001 'g', 5.00000011 'g'] meets before Interval[5.00000012 'g', 8.50 'g'] + +define "MeetsBefore.QuantityIntervalMeetsBeforeFalse": Interval[8.01 'g', 15.00000001 'g'] meets before Interval[15.00000000 'g', 18.50 'g'] + +define "MeetsBefore.DateTimeMeetsBeforeTrue": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 25)] + +define "MeetsBefore.DateTimeMeetsBeforeFalse": Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 20), DateTime(2012, 1, 25)] + +define "MeetsBefore.TimeMeetsBeforeTrue": Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:00:00.000, @T19:59:59.999] + +define "MeetsBefore.TimeMeetsBeforeFalse": Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:12:00.000, @T19:59:59.999] + +define "MeetsAfter.TestMeetsAfterNull": Interval(null, 5] meets after Interval[11, null) + +define "MeetsAfter.IntegerIntervalMeetsAfterTrue": Interval[11, 20] meets after Interval[1, 10] + +define "MeetsAfter.IntegerIntervalMeetsAfterFalse": Interval[44, 50] meets after Interval[1, 10] + +define "MeetsAfter.DecimalIntervalMeetsAfterTrue": Interval[55.00000123, 128.032156] meets after Interval[12.00258, 55.00000122] + +define "MeetsAfter.DecimalIntervalMeetsAfterFalse": Interval[55.00000124, 150.222222] meets after Interval[12.00258, 55.00000122] + +define "MeetsAfter.QuantityIntervalMeetsAfterTrue": Interval[55.00000123 'g', 128.032156 'g'] meets after Interval[12.00258 'g', 55.00000122 'g'] + +define "MeetsAfter.QuantityIntervalMeetsAfterFalse": Interval[55.00000124 'g', 150.222222 'g'] meets after Interval[12.00258 'g', 55.00000122 'g'] + +define "MeetsAfter.DateTimeMeetsAfterTrue": Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 25)] meets Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] + +define "MeetsAfter.DateTimeMeetsAfterFalse": Interval[DateTime(2012, 1, 20), DateTime(2012, 1, 25)] meets Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] + +define "MeetsAfter.TimeMeetsAfterTrue": Interval[@T10:00:00.000, @T19:59:59.999] meets Interval[@T04:59:59.999, @T09:59:59.999] + +define "MeetsAfter.TimeMeetsAfterFalse": Interval[@T10:12:00.000, @T19:59:59.999] meets Interval[@T04:59:59.999, @T09:59:59.999] + +define "NotEqual.IntegerIntervalNotEqualTrue": Interval[1, 10] != Interval[11, 20] + +define "NotEqual.IntegerIntervalNotEqualFalse": Interval[1, 10] != Interval[1, 10] + +define "NotEqual.DecimalIntervalNotEqualTrue": Interval[1.0, 10.0] != Interval[11.0, 20.0] + +define "NotEqual.DecimalIntervalNotEqualFalse": Interval[1.0, 10.0] != Interval[1.0, 10.0] + +define "NotEqual.QuantityIntervalNotEqualTrue": Interval[1.0 'g', 10.0 'g'] != Interval[11.0 'g', 20.0 'g'] + +define "NotEqual.QuantityIntervalNotEqualFalse": Interval[1.0 'g', 10.0 'g'] != Interval[1.0 'g', 10.0 'g'] + +define "NotEqual.DateTimeNotEqualTrue": Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] != Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 22)] + +define "NotEqual.DateTimeNotEqualFalse": Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] != Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] + +define "NotEqual.TimeNotEqualTrue": Interval[@T10:00:00.000, @T19:59:59.999] != Interval[@T10:10:00.000, @T19:59:59.999] + +define "NotEqual.TimeNotEqualFalse": Interval[@T10:00:00.000, @T19:59:59.999] != Interval[@T10:00:00.000, @T19:59:59.999] + +define "OnOrAfter.TestOnOrAfterNull": Interval[@2012-12-01, @2013-12-01] on or after (null as Interval) + +define "OnOrAfter.TestOnOrAfterDateTrue": Interval[@2012-12-01, @2013-12-01] on or after month of @2012-11-15 + +define "OnOrAfter.TestOnOrAfterDateFalse": @2012-11-15 on or after month of Interval[@2012-12-01, @2013-12-01] + +define "OnOrAfter.TestOnOrAfterTimeTrue": Interval[@T10:00:00.000, @T19:59:59.999] on or after hour of Interval[@T08:00:00.000, @T09:59:59.999] + +define "OnOrAfter.TestOnOrAfterTimeFalse": Interval[@T10:00:00.000, @T19:59:59.999] on or after hour of Interval[@T08:00:00.000, @T11:59:59.999] + +define "OnOrAfter.TestOnOrAfterIntegerTrue": Interval[6, 10] on or after 6 + +define "OnOrAfter.TestOnOrAfterDecimalFalse": 2.5 on or after Interval[1.666, 2.50000001] + +define "OnOrAfter.TestOnOrAfterQuantityTrue": 2.5 'mg' on or after Interval[1.666 'mg', 2.50000000 'mg'] + +define "OnOrBefore.TestOnOrBeforeNull": Interval[@2012-12-01, @2013-12-01] on or before (null as Interval) + +define "OnOrBefore.TestOnOrBeforeDateTrue": Interval[@2012-10-01, @2012-11-01] on or before month of @2012-11-15 + +define "OnOrBefore.TestOnOrBeforeDateFalse": @2012-11-15 on or before month of Interval[@2012-10-01, @2013-12-01] + +define "OnOrBefore.TestOnOrBeforeTimeTrue": Interval[@T05:00:00.000, @T07:59:59.999] on or before hour of Interval[@T08:00:00.000, @T09:59:59.999] + +define "OnOrBefore.TestOnOrBeforeTimeFalse": Interval[@T10:00:00.000, @T19:59:59.999] on or before hour of Interval[@T08:00:00.000, @T11:59:59.999] + +define "OnOrBefore.TestOnOrBeforeIntegerTrue": Interval[4, 6] on or before 6 + +define "OnOrBefore.TestOnOrBeforeDecimalFalse": 1.6667 on or before Interval[1.666, 2.50000001] + +define "OnOrBefore.TestOnOrBeforeQuantityTrue": 1.666 'mg' on or before Interval[1.666 'mg', 2.50000000 'mg'] + +define "Overlaps.TestOverlapsNull": Interval[null, null] overlaps Interval[1, 10] + +define "Overlaps.IntegerIntervalOverlapsTrue": Interval[1, 10] overlaps Interval[4, 10] + +define "Overlaps.IntegerIntervalOverlapsFalse": Interval[1, 10] overlaps Interval[11, 20] + +define "Overlaps.DecimalIntervalOverlapsTrue": Interval[1.0, 10.0] overlaps Interval[4.0, 10.0] + +define "Overlaps.DecimalIntervalOverlapsFalse": Interval[1.0, 10.0] overlaps Interval[11.0, 20.0] + +define "Overlaps.QuantityIntervalOverlapsTrue": Interval[1.0 'g', 10.0 'g'] overlaps Interval[5.0 'g', 10.0 'g'] + +define "Overlaps.QuantityIntervalOverlapsFalse": Interval[1.0 'g', 10.0 'g'] overlaps Interval[11.0 'g', 20.0 'g'] + +define "Overlaps.DateTimeOverlapsTrue": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] + +define "Overlaps.DateTimeOverlapsFalse": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 26), DateTime(2012, 1, 28)] + +define "Overlaps.TimeOverlapsTrue": Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T12:00:00.000, @T21:59:59.999] + +define "Overlaps.TimeOverlapsFalse": Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T20:00:00.000, @T21:59:59.999] + +define "OverlapsBefore.TestOverlapsBeforeNull": Interval[null, null] overlaps before Interval[1, 10] + +define "OverlapsBefore.IntegerIntervalOverlapsBeforeTrue": Interval[1, 10] overlaps before Interval[4, 10] + +define "OverlapsBefore.IntegerIntervalOverlapsBeforeFalse": Interval[4, 10] overlaps before Interval[1, 10] + +define "OverlapsBefore.DecimalIntervalOverlapsBeforeTrue": Interval[1.0, 10.0] overlaps before Interval[4.0, 10.0] + +define "OverlapsBefore.DecimalIntervalOverlapsBeforeFalse": Interval[4.0, 10.0] overlaps before Interval[1.0, 10.0] + +define "OverlapsBefore.QuantityIntervalOverlapsBeforeTrue": Interval[1.0 'g', 10.0 'g'] overlaps before Interval[5.0 'g', 10.0 'g'] + +define "OverlapsBefore.QuantityIntervalOverlapsBeforeFalse": Interval[5.0 'g', 10.0 'g'] overlaps before Interval[1.0 'g', 10.0 'g'] + +define "OverlapsBefore.DateTimeOverlapsBeforeTrue": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] + +define "OverlapsBefore.DateTimeOverlapsBeforeFalse": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 26), DateTime(2012, 1, 28)] + +define "OverlapsBefore.TimeOverlapsBeforeTrue": Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T12:00:00.000, @T21:59:59.999] + +define "OverlapsBefore.TimeOverlapsBeforeFalse": Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T20:00:00.000, @T21:59:59.999] + +define "OverlapsAfter.TestOverlapsAfterNull": Interval[null, null] overlaps after Interval[1, 10] + +define "OverlapsAfter.IntegerIntervalOverlapsAfterTrue": Interval[4, 15] overlaps after Interval[1, 10] + +define "OverlapsAfter.IntegerIntervalOverlapsAfterFalse": Interval[4, 10] overlaps after Interval[1, 10] + +define "OverlapsAfter.DecimalIntervalOverlapsAfterTrue": Interval[4.0, 15.0] overlaps after Interval[1.0, 10.0] + +define "OverlapsAfter.DecimalIntervalOverlapsAfterFalse": Interval[4.0, 10.0] overlaps after Interval[1.0, 10.0] + +define "OverlapsAfter.QuantityIntervalOverlapsAfterTrue": Interval[5.0 'g', 15.0 'g'] overlaps after Interval[1.0 'g', 10.0 'g'] + +define "OverlapsAfter.QuantityIntervalOverlapsAfterFalse": Interval[5.0 'g', 10.0 'g'] overlaps after Interval[1.0 'g', 10.0 'g'] + +define "OverlapsAfter.DateTimeOverlapsAfterTrue": Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] overlaps Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] + +define "OverlapsAfter.DateTimeOverlapsAfterFalse": Interval[DateTime(2012, 1, 26), DateTime(2012, 1, 28)] overlaps Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] + +define "OverlapsAfter.TimeOverlapsAfterTrue": Interval[@T12:00:00.000, @T21:59:59.999] overlaps Interval[@T10:00:00.000, @T19:59:59.999] + +define "OverlapsAfter.TimeOverlapsAfterFalse": Interval[@T20:00:00.000, @T21:59:59.999] overlaps Interval[@T10:00:00.000, @T19:59:59.999] + +define "PointFrom.TestPointFromNull": point from Interval[null, null] + +define "PointFrom.TestPointFromInteger": point from Interval[1, 1] + +define "PointFrom.TestPointFromDecimal": point from Interval[1.0, 1.0] + +define "PointFrom.TestPointFromQuantity": point from Interval[1.0 'cm', 1.0 'cm'] + +define "ProperContains.TimeProperContainsTrue": Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.001 + +define "ProperContains.TimeProperContainsFalse": Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000 + +define "ProperContains.TimeProperContainsNull": Interval[@T12:00:00.001, @T21:59:59.999] properly includes @T12:00:00 + +define "ProperContains.TimeProperContainsPrecisionTrue": Interval[@T12:00:00.000, @T21:59:59.999] properly includes second of @T12:00:01 + +define "ProperContains.TimeProperContainsPrecisionFalse": Interval[@T12:00:00.001, @T21:59:59.999] properly includes second of @T12:00:00 + +define "ProperContains.TimeProperContainsPrecisionNull": Interval[@T12:00:00.001, @T21:59:59.999] properly includes millisecond of @T12:00:00 + +define "ProperIn.TimeProperInTrue": @T12:00:00.001 properly included in Interval[@T12:00:00.000, @T21:59:59.999] + +define "ProperIn.TimeProperInFalse": @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999] + +define "ProperIn.TimeProperInNull": @T12:00:00 properly included in Interval[@T12:00:00.001, @T21:59:59.999] + +define "ProperIn.TimeProperInPrecisionTrue": @T12:00:01 properly included in second of Interval[@T12:00:00.000, @T21:59:59.999] + +define "ProperIn.TimeProperInPrecisionFalse": @T12:00:00 properly included in second of Interval[@T12:00:00.001, @T21:59:59.999] + +define "ProperIn.TimeProperInPrecisionNull": @T12:00:00 properly included in millisecond of Interval[@T12:00:00.001, @T21:59:59.999] + +define "ProperlyIncludes.NullBoundariesProperlyIncludesIntegerInterval": Interval[null as Integer, null as Integer] properly includes Interval[1, 10] + +define "ProperlyIncludes.IntegerIntervalProperlyIncludesTrue": Interval[1, 10] properly includes Interval[4, 10] + +define "ProperlyIncludes.IntegerIntervalProperlyIncludesFalse": Interval[1, 10] properly includes Interval[4, 15] + +define "ProperlyIncludes.DecimalIntervalProperlyIncludesTrue": Interval[1.0, 10.0] properly includes Interval[4.0, 10.0] + +define "ProperlyIncludes.DecimalIntervalProperlyIncludesFalse": Interval[1.0, 10.0] properly includes Interval[4.0, 15.0] + +define "ProperlyIncludes.QuantityIntervalProperlyIncludesTrue": Interval[1.0 'g', 10.0 'g'] properly includes Interval[5.0 'g', 10.0 'g'] + +define "ProperlyIncludes.QuantityIntervalProperlyIncludesFalse": Interval[1.0 'g', 10.0 'g'] properly includes Interval[5.0 'g', 15.0 'g'] + +define "ProperlyIncludes.DateTimeProperlyIncludesTrue": Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] properly includes Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 27)] + +define "ProperlyIncludes.DateTimeProperlyIncludesFalse": Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] properly includes Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 29)] + +define "ProperlyIncludes.TimeProperlyIncludesTrue": Interval[@T12:00:00.000, @T21:59:59.999] properly includes Interval[@T12:01:01.000, @T21:59:59.998] + +define "ProperlyIncludes.TimeProperlyIncludesFalse": Interval[@T12:00:00.000, @T21:59:59.999] properly includes Interval[@T12:01:01.000, @T22:00:00.000] + +define "ProperlyIncludedIn.IntegerIntervalProperlyIncludedInNullBoundaries": Interval[1, 10] properly included in Interval[null, null] + +define "ProperlyIncludedIn.IntegerIntervalProperlyIncludedInTrue": Interval[4, 10] properly included in Interval[1, 10] + +define "ProperlyIncludedIn.IntegerIntervalProperlyIncludedInFalse": Interval[4, 15] properly included in Interval[1, 10] + +define "ProperlyIncludedIn.DecimalIntervalProperlyIncludedInTrue": Interval[4.0, 10.0] properly included in Interval[1.0, 10.0] + +define "ProperlyIncludedIn.DecimalIntervalProperlyIncludedInFalse": Interval[4.0, 15.0] properly included in Interval[1.0, 10.0] + +define "ProperlyIncludedIn.QuantityIntervalProperlyIncludedInTrue": Interval[5.0 'g', 10.0 'g'] properly included in Interval[1.0 'g', 10.0 'g'] + +define "ProperlyIncludedIn.QuantityIntervalProperlyIncludedInFalse": Interval[1.0 'g', 10.0 'g'] properly included in Interval[5.0 'g', 15.0 'g'] + +define "ProperlyIncludedIn.DateTimeProperlyIncludedInTrue": Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 27)] properly included in Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] + +define "ProperlyIncludedIn.DateTimeProperlyIncludedInFalse": Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 29)] properly included in Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] + +define "ProperlyIncludedIn.TimeProperlyIncludedInTrue": Interval[@T12:01:01.000, @T21:59:59.998] properly included in Interval[@T12:00:00.000, @T21:59:59.999] + +define "ProperlyIncludedIn.TimeProperlyIncludedInFalse": Interval[@T12:01:01.000, @T22:00:00.000] properly included in Interval[@T12:00:00.000, @T21:59:59.999] + +define "Start.IntegerIntervalStart": start of Interval[1, 10] + +define "Start.DecimalIntervalStart": start of Interval[1.0, 10.0] + +define "Start.QuantityIntervalStart": start of Interval[1.0 'g', 10.0 'g'] + +define "Start.DateTimeIntervalStart": start of Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000] + +define "Start.TimeIntervalStart": start of Interval[@T00:00:00.000, @T23:59:59.599] + +define "Starts.TestStartsNull": Interval[null, null] starts Interval[1, 10] + +define "Starts.IntegerIntervalStartsTrue": Interval[4, 10] starts Interval[4, 15] + +define "Starts.IntegerIntervalStartsFalse": Interval[1, 10] starts Interval[4, 10] + +define "Starts.DecimalIntervalStartsTrue": Interval[4.0, 10.0] starts Interval[4.0, 15.0] + +define "Starts.DecimalIntervalStartsFalse": Interval[1.0, 10.0] starts Interval[4.0, 10.0] + +define "Starts.QuantityIntervalStartsTrue": Interval[5.0 'g', 10.0 'g'] starts Interval[5.0 'g', 15.0 'g'] + +define "Starts.QuantityIntervalStartsFalse": Interval[1.0 'g', 10.0 'g'] starts Interval[5.0 'g', 10.0 'g'] + +define "Starts.DateTimeStartsTrue": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 27)] + +define "Starts.DateTimeStartsFalse": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts Interval[DateTime(2012, 1, 6), DateTime(2012, 1, 27)] + +define "Starts.TimeStartsTrue": Interval[@T05:59:59.999, @T15:59:59.999] starts Interval[@T05:59:59.999, @T17:59:59.999] + +define "Starts.TimeStartsFalse": Interval[@T05:59:59.999, @T15:59:59.999] starts Interval[@T04:59:59.999, @T17:59:59.999] + +define "Union.TestUnionNull": Interval[null, null] union Interval[1, 10] + +define "Union.IntegerIntervalUnion1To15": Interval[1, 10] union Interval[4, 15] + +define "Union.IntegerIntervalUnionNull": Interval[1, 10] union Interval[44, 50] + +define "Union.DecimalIntervalUnion1To15": Interval[1.0, 10.0] union Interval[4.0, 15.0] + +define "Union.DecimalIntervalUnionNull": Interval[1.0, 10.0] union Interval[14.0, 15.0] + +define "Union.QuantityIntervalUnion1To15": Interval[1.0 'g', 10.0 'g'] union Interval[5.0 'g', 15.0 'g'] + +define "Union.QuantityIntervalUnionNull": Interval[1.0 'g', 10.0 'g'] union Interval[14.0 'g', 15.0 'g'] + +define "Union.DateTimeUnion": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] union Interval[DateTime(2012, 1, 25), DateTime(2012, 1, 28)] + +define "Union.DateTimeUnionNull": Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] union Interval[DateTime(2012, 1, 27), DateTime(2012, 1, 28)] + +define "Union.TimeUnion": Interval[@T05:59:59.999, @T15:59:59.999] union Interval[@T10:59:59.999, @T20:59:59.999] + +define "Union.TimeUnionNull": Interval[@T05:59:59.999, @T15:59:59.999] union Interval[@T16:59:59.999, @T20:59:59.999] + +define "Width.IntegerIntervalTestWidth9": width of Interval[1, 10] + +define "Width.IntervalTestWidthNull": width of (null as Interval) + +define "Width.DecimalIntervalTestWidth11": width of Interval[4.0, 15.0] + +define "Width.QuantityIntervalTestWidth5": width of Interval[5.0 'g', 10.0 'g'] + +define "Width.DateTimeWidth": width of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] + +define "Width.TimeWidth": width of Interval[@T05:59:59.999, @T15:59:59.999] + +define "Interval.IntegerIntervalTest": Interval[1, 10] + +define "Interval.IntegerIntervalTest2": Interval[11, 20] + +define "Interval.IntegerIntervalTest3": Interval[44, 50] + +define "Interval.IntegerIntervalTest4": Interval[4, 10] + +define "Interval.IntegerIntervalTest5": Interval[4, 15] + +define "Interval.DecimalIntervalTest": Interval[1.0, 10.0] + +define "Interval.DecimalIntervalTest2": Interval[11.0, 20.0] + +define "Interval.DecimalIntervalTest3": Interval[4.0, 10.0] + +define "Interval.DecimalIntervalTest4": Interval[4.0, 15.0] + +define "Interval.DecimalIntervalTest5": Interval[14.0, 15.0] + +define "Interval.QuantityIntervalTest": Interval[1.0 'g', 10.0 'g'] + +define "Interval.QuantityIntervalTest2": Interval[11.0 'g', 20.0 'g'] + +define "Interval.QuantityIntervalTest3": Interval[5.0 'g', 10.0 'g'] + +define "Interval.QuantityIntervalTest4": Interval[5.0 'g', 15.0 'g'] + +define "Interval.QuantityIntervalTest5": Interval[14.0 'g', 15.0 'g'] + +define "Interval.DateTimeIntervalTest": Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000] + +define "Interval.TimeIntervalTest": Interval[@T00:00:00.000, @T23:59:59.599] + +define "Interval.CollapseIntervalTestInteger": {Interval[1, 10], Interval[11, 20], Interval[44, 50]} + +define "Interval.InvalidIntegerInterval": Interval[5, 3] + +define "Interval.InvalidIntegerIntervalA": Interval[5, 5) + diff --git a/cql/CqlListOperatorsTest.cql b/cql/CqlListOperatorsTest.cql new file mode 100644 index 0000000..a47e095 --- /dev/null +++ b/cql/CqlListOperatorsTest.cql @@ -0,0 +1,416 @@ +library CqlListOperatorsTest + +define "Sort.simpleSortAsc": ({4, 5, 1, 6, 2, 1}) sL sort asc + +define "Sort.simpleSortDesc": ({4, 5, 1, 6, 2, 1}) sL sort desc + +define "Sort.simpleSortStringAsc": ({'back', 'aardvark', 'alligator', 'zebra', 'iguana', 'Wolf', 'Armadillo'}) sls sort asc + +define "Sort.simpleSortStringDesc": ({'back', 'aardvark', 'alligator', 'zebra', 'iguana', 'Wolf', 'Armadillo'}) sls sort desc + +define "Sort.SortDatesAsc": ({ DateTime(2012, 10, 5, 10), DateTime(2012, 1, 1), DateTime(2012, 1, 1, 12), DateTime(2012, 10, 5) }) S sort asc + +define "Sort.SortDatesDesc": ({ DateTime(2012, 10, 5, 10), DateTime(2012, 1, 1), DateTime(2012, 1, 1, 12), DateTime(2012, 10, 5) }) S sort desc + +define "Sort.intList": { 3, 2, 1 } + +define "Sort.decimalList": { 3.8, 2.4, 1.9 } + +define "Sort.quantityList": { 19.99 '[lb_av]', 17.33 '[lb_av]', 10.66 '[lb_av]' } + +define "Sort.dateTimeList": { DateTime(2016), DateTime(2015), DateTime(2010) } + +define "Sort.timeList": { @T15:59:59.999, @T15:12:59.999, @T15:12:13.999 } + +define "Contains.ContainsABNullHasNull": { 'a', 'b', null } contains null + +define "Contains.ContainsNullFirst": { null, 'b', 'c' } contains 'a' + +define "Contains.ContainsABCHasA": { 'a', 'b', 'c' } contains 'a' + +define "Contains.ContainsJan2012True": { DateTime(2012, 10, 5), DateTime(2012, 9, 5), DateTime(2012, 1, 1) } contains DateTime(2012, 1, 1) + +define "Contains.ContainsJan2012False": { DateTime(2012, 10, 5), DateTime(2012, 9, 5), DateTime(2012, 10, 1) } contains DateTime(2012, 1, 1) + +define "Contains.ContainsTimeTrue": { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } contains @T05:59:59.999 + +define "Contains.ContainsTimeFalse": { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } contains @T08:59:59.999 + +define "Contains.ContainsNullLeft": null contains 'a' + +define "Descendents.DescendentsEmptyList": (null).descendents() + +define "Distinct.DistinctEmptyList": distinct {} + +define "Distinct.DistinctNullNullNull": distinct { null, null, null} + +define "Distinct.DistinctANullANull": distinct { 'a', null, 'a', null} + +define "Distinct.Distinct112233": distinct { 1, 1, 2, 2, 3, 3} + +define "Distinct.Distinct123123": distinct { 1, 2, 3, 1, 2, 3} + +define "Distinct.DistinctAABBCC": distinct { 'a', 'a', 'b', 'b', 'c', 'c'} + +define "Distinct.DistinctABCABC": distinct { 'a', 'b', 'c', 'a', 'b', 'c'} + +define "Distinct.DistinctDateTime": distinct { DateTime(2012, 10, 5), DateTime(2012, 1, 1), DateTime(2012, 1, 1)} + +define "Distinct.DistinctTime": distinct { @T15:59:59.999, @T20:59:59.999 } + +define "Equal.EqualNullNull": {null} = {null} + +define "Equal.EqualEmptyListNull": {} as List = null + +define "Equal.EqualNullEmptyList": null = {} as List + +define "Equal.EqualEmptyListAndEmptyList": {} = {} + +define "Equal.Equal12And123": { 1, 2 } = { 1, 2, 3 } + +define "Equal.Equal123And12": { 1, 2, 3 } = { 1, 2 } + +define "Equal.Equal123And123": { 1, 2, 3 } = { 1, 2, 3 } + +define "Equal.EqualDateTimeTrue": {DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} = {DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} + +define "Equal.EqualDateTimeFalse": {DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} = {DateTime(2012, 1, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} + +define "Equal.EqualTimeTrue": { @T15:59:59.999, @T20:59:59.999, @T20:59:59.999 } = { @T15:59:59.999, @T20:59:59.999, @T20:59:59.999 } + +define "Equal.EqualTimeFalse": { @T15:59:59.999, @T20:59:59.999, @T20:59:59.999 } = { @T10:59:59.999, @T20:59:59.999, @T20:59:59.999 } + +define "Except.ExceptEmptyListAndEmptyList": {} except {} + +define "Except.Except1234And23": { 1, 2, 3, 4 } except { 2, 3 } + +define "Except.Except23And1234": { 2, 3 } except { 1, 2, 3, 4 } + +define "Except.ExceptDateTimeList": { DateTime(2012, 5, 10), DateTime(2014, 12, 10), DateTime(2010, 1, 1)} except {DateTime(2014, 12, 10), DateTime(2010, 1, 1) } + +define "Except.ExceptTimeList": { @T15:59:59.999, @T20:59:59.999, @T12:59:59.999 } except { @T20:59:59.999, @T12:59:59.999 } + +define "Except.ExceptNullRight": { 1, 4 } except null + +define "Exists.ExistsEmpty": Exists({}) + +define "Exists.ExistsListNull": Exists({ null }) + +define "Exists.Exists1": Exists({ 1 }) + +define "Exists.Exists12": Exists({ 1, 2 }) + +define "Exists.ExistsDateTime": Exists({ DateTime(2012, 5, 10), DateTime(2014, 12, 10) }) + +define "Exists.ExistsTime": Exists({ @T15:59:59.999, @T20:59:59.999 }) + +define "Exists.ExistsNull": Exists(null) + +define "Flatten.FlattenEmpty": Flatten({{},{}}) + +define "Flatten.FlattenListNullAndNull": Flatten({{null}, {null}}) + +define "Flatten.FlattenList12And34": Flatten({{1,2}, {3,4}}) + +define "Flatten.FlattenDateTime": Flatten({ {DateTime(2012, 5, 10)}, {DateTime(2014, 12, 10)} }) + +define "Flatten.FlattenTime": Flatten({ {@T15:59:59.999}, {@T20:59:59.999} }) + +define "First.FirstEmpty": First({}) + +define "First.FirstNull1": First({ null, 1 }) + +define "First.First1Null": First({ 1, null }) + +define "First.First12": First({ 1, 2 }) + +define "First.FirstDateTime": First({ DateTime(2012, 5, 10), DateTime(2014, 12, 10) }) + +define "First.FirstTime": First({ @T15:59:59.999, @T20:59:59.999 }) + +define "In.InNullEmpty": null in {} + +define "In.InNullAnd1Null": null in { 1, null } + +define "In.In1Null": 1 in null + +define "In.In1And12": 1 in { 1, 2 } + +define "In.In3And12": 3 in { 1, 2 } + +define "In.InDateTimeTrue": DateTime(2012, 5, 10) in { DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10) } + +define "In.InDateTimeFalse": DateTime(2012, 6, 10) in { DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10) } + +define "In.InTimeTrue": @T15:59:59.999 in { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + +define "In.InTimeFalse": @T16:59:59.999 in { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + +define "Includes.IncludesEmptyAndEmpty": {} includes {} + +define "Includes.IncludesListNullAndListNull": {null} includes {null} + +define "Includes.Includes123AndEmpty": {1, 2, 3} includes {} + +define "Includes.Includes123And2": {1, 2, 3} includes {2} + +define "Includes.Includes123And4": {1, 2, 3} includes {4} + +define "Includes.IncludesDateTimeTrue": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} includes {DateTime(2012, 5, 10)} + +define "Includes.IncludesDateTimeFalse": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} includes {DateTime(2012, 5, 11)} + +define "Includes.IncludesTimeTrue": { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } includes @T15:59:59.999 + +define "Includes.IncludesTimeFalse": { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } includes @T16:59:59.999 + +define "Includes.IncludesNullLeft": null includes {2} + +define "Includes.IncludesNullRight": {'s', 'a', 'm'} includes null + +define "IncludedIn.IncludedInEmptyAndEmpty": {} included in {} + +define "IncludedIn.IncludedInListNullAndListNull": { null } included in { null } + +define "IncludedIn.IncludedInEmptyAnd123": {} included in { 1, 2, 3 } + +define "IncludedIn.IncludedIn2And123": { 2 } included in { 1, 2, 3 } + +define "IncludedIn.IncludedIn4And123": { 4 } included in { 1, 2, 3 } + +define "IncludedIn.IncludedInDateTimeTrue": { DateTime(2012, 5, 10)} included in {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} + +define "IncludedIn.IncludedInDateTimeFalse": {DateTime(2012, 5, 11)} included in {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} + +define "IncludedIn.IncludedInTimeTrue": @T15:59:59.999 included in { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + +define "IncludedIn.IncludedInTimeFalse": @T16:59:59.999 included in { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + +define "IncludedIn.IncludedInNullLeft": null included in {2} + +define "IncludedIn.IncludedInNullRight": {'s', 'a', 'm'} included in null + +define "Indexer.IndexerNull1List": (null as List)[1] + +define "Indexer.Indexer0Of12": { 1, 2 }[0] + +define "Indexer.Indexer1Of12": { 1, 2 }[1] + +define "Indexer.Indexer2Of12": { 1, 2 }[2] + +define "Indexer.IndexerNeg1Of12": { 1, 2 }[-1] + +define "Indexer.IndexerDateTime": { DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10) }[1] + +define "Indexer.IndexerTime": { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 }[1] + +define "IndexOf.IndexOfEmptyNull": IndexOf({}, null) + +define "IndexOf.IndexOfNullEmpty": IndexOf(null, {}) + +define "IndexOf.IndexOfNullIn1Null": IndexOf({ 1, null }, null) + +define "IndexOf.IndexOf1In12": IndexOf({ 1, 2 }, 1) + +define "IndexOf.IndexOf2In12": IndexOf({ 1, 2 }, 2) + +define "IndexOf.IndexOf3In12": IndexOf({ 1, 2 }, 3) + +define "IndexOf.IndexOfDateTime": IndexOf({ DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10) }, DateTime(2014, 12, 10)) + +define "IndexOf.IndexOfTime": IndexOf({ @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 }, @T15:59:59.999) + +define "Intersect.IntersectEmptyListAndEmptyList": {} intersect {} + +define "Intersect.Intersect1234And23": { 1, 2, 3, 4 } intersect { 2, 3 } + +define "Intersect.Intersect23And1234": {2, 3} intersect { 1, 2, 3, 4 } + +define "Intersect.IntersectDateTime": { DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10) } intersect { DateTime(2012, 5, 10), DateTime(2014, 12, 10), DateTime(2000, 5, 5) } + +define "Intersect.IntersectTime": { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } intersect { @T01:29:15.156, @T15:59:59.999, @T20:59:59.999 } + +define "Last.LastEmpty": Last({}) + +define "Last.LastNull1": Last({null, 1}) + +define "Last.Last1Null": Last({1, null}) + +define "Last.Last12": Last({1, 2}) + +define "Last.LastDateTime": Last({DateTime(2012, 5, 10), DateTime(2014, 12, 10)}) + +define "Last.LastTime": Last({ @T15:59:59.999, @T20:59:59.999 }) + +define "Length.LengthEmptyList": Length({}) + +define "Length.LengthNull1": Length({null, 1}) + +define "Length.Length1Null": Length({1, null}) + +define "Length.Length12": Length({1, 2}) + +define "Length.LengthDateTime": Length({DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)}) + +define "Length.LengthTime": Length({ @T15:59:59.999, @T20:59:59.999, @T15:59:59.999, @T20:59:59.999, @T15:59:59.999, @T20:59:59.999 }) + +define "Length.LengthNullList": Length(null as List) + +define "Equivalent.EquivalentEmptyAndEmpty": {} ~ {} + +define "Equivalent.EquivalentABCAndABC": { 'a', 'b', 'c' } ~ { 'a', 'b', 'c' } + +define "Equivalent.EquivalentABCAndAB": { 'a', 'b', 'c' } ~ { 'a', 'b' } + +define "Equivalent.EquivalentABCAnd123": { 'a', 'b', 'c' } ~ { 1, 2, 3 } + +define "Equivalent.Equivalent123AndABC": { 1, 2, 3 } ~ { 'a', 'b', 'c' } + +define "Equivalent.Equivalent123AndString123": { 1, 2, 3 } ~ { '1', '2', '3' } + +define "Equivalent.EquivalentDateTimeTrue": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10), null} ~ {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10), null} + +define "Equivalent.EquivalentDateTimeNull": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} ~ {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10), null} + +define "Equivalent.EquivalentDateTimeFalse": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} ~ {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 1)} + +define "Equivalent.EquivalentTimeTrue": { @T15:59:59.999, @T20:59:59.999 } ~ { @T15:59:59.999, @T20:59:59.999 } + +define "Equivalent.EquivalentTimeNull": { @T15:59:59.999, @T20:59:59.999 } ~ { @T15:59:59.999, @T20:59:59.999, null } + +define "Equivalent.EquivalentTimeFalse": { @T15:59:59.999, @T20:59:59.999 } ~ { @T15:59:59.999, @T20:59:59.995 } + +define "NotEqual.NotEqualEmptyAndEmpty": {} != {} + +define "NotEqual.NotEqualABCAndABC": { 'a', 'b', 'c' } != { 'a', 'b', 'c' } + +define "NotEqual.NotEqualABCAndAB": { 'a', 'b', 'c' } != { 'a', 'b' } + +define "NotEqual.NotEqualABCAnd123": { 'a', 'b', 'c' } != { 1, 2, 3 } + +define "NotEqual.NotEqual123AndABC": { 1, 2, 3 } != { 'a', 'b', 'c' } + +define "NotEqual.NotEqual123AndString123": { 1, 2, 3 } != { '1', '2', '3' } + +define "NotEqual.NotEqualDateTimeTrue": {DateTime(2001, 9, 11, 0, 0, 0, 0), DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} != {DateTime(2001, 9, 11, 0, 0, 0, 0), DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 1, 0, 0, 0, 0)} + +define "NotEqual.NotEqualDateTimeFalse": {DateTime(2001, 9, 11, 0, 0, 0, 0), DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} != {DateTime(2001, 9, 11, 0, 0, 0, 0), DateTime(2012, 5, 10, 0, 0, 0, 0), DateTime(2014, 12, 10, 0, 0, 0, 0)} + +define "NotEqual.NotEqualTimeTrue": { @T15:59:59.999, @T20:59:59.999 } = { @T15:59:59.999, @T20:59:59.999 } + +define "NotEqual.NotEqualTimeFalse": { @T15:59:59.999, @T20:59:59.999 } = { @T15:59:59.999, @T20:59:49.999 } + +define "ProperContains.ProperContainsNullRightFalse": {'s', 'u', 'n'} properly includes null + +define "ProperContains.ProperContainsNullRightTrue": {'s', 'u', 'n', null} properly includes null + +define "ProperContains.ProperContainsTimeTrue": { @T15:59:59, @T20:59:59.999, @T20:59:49.999 } properly includes @T15:59:59 + +define "ProperContains.ProperContainsTimeNull": { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } properly includes @T15:59:59 + +define "ProperIn.ProperInNullRightFalse": null properly included in {'s', 'u', 'n'} + +define "ProperIn.ProperInNullRightTrue": null properly included in {'s', 'u', 'n', null} + +define "ProperIn.ProperInTimeTrue": @T15:59:59 properly included in { @T15:59:59, @T20:59:59.999, @T20:59:49.999 } + +define "ProperIn.ProperInTimeNull": @T15:59:59 properly included in { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + +define "ProperlyIncludes.ProperIncludesEmptyAndEmpty": {} properly includes {} + +define "ProperlyIncludes.ProperIncludesListNullAndListNull": {null} properly includes {null} + +define "ProperlyIncludes.ProperIncludes123AndEmpty": {1, 2, 3} properly includes {} + +define "ProperlyIncludes.ProperIncludes123And2": {1, 2, 3} properly includes {2} + +define "ProperlyIncludes.ProperIncludes123And4": {1, 2, 3} properly includes {4} + +define "ProperlyIncludes.ProperIncludesDateTimeTrue": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} properly includes {DateTime(2012, 5, 10), DateTime(2014, 12, 10)} + +define "ProperlyIncludes.ProperIncludesDateTimeFalse": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} properly includes {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} + +define "ProperlyIncludes.ProperIncludesTimeTrue": { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } properly includes { @T15:59:59.999, @T20:59:59.999 } + +define "ProperlyIncludes.ProperIncludesTimeFalse": { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } properly includes { @T15:59:59.999, @T20:59:59.999, @T14:59:22.999 } + +define "ProperlyIncludes.ProperlyIncludesNullLeft": null properly includes {2} + +define "ProperlyIncludedIn.ProperIncludedInEmptyAndEmpty": {} properly included in {} + +define "ProperlyIncludedIn.ProperIncludedInListNullAndListNull": {null} properly included in {null} + +define "ProperlyIncludedIn.ProperIncludedInEmptyAnd123": {} properly included in {1, 2, 3} + +define "ProperlyIncludedIn.ProperIncludedIn2And123": {2} properly included in {1, 2, 3} + +define "ProperlyIncludedIn.ProperIncludedIn4And123": {4} properly included in {1, 2, 3} + +define "ProperlyIncludedIn.ProperIncludedInDateTimeTrue": {DateTime(2012, 5, 10), DateTime(2014, 12, 10)} properly included in {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} + +define "ProperlyIncludedIn.ProperIncludedInDateTimeFalse": {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} properly included in {DateTime(2001, 9, 11), DateTime(2012, 5, 10), DateTime(2014, 12, 10)} + +define "ProperlyIncludedIn.ProperIncludedInTimeTrue": { @T15:59:59.999, @T20:59:59.999 } properly included in { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + +define "ProperlyIncludedIn.ProperIncludedInTimeFalse": { @T15:59:59.999, @T20:59:59.999, @T14:59:22.999 } properly included in { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + +define "ProperlyIncludedIn.ProperlyIncludedInNulRight": {'s', 'u', 'n'} properly included in null + +define "SingletonFrom.SingletonFromEmpty": singleton from {} + +define "SingletonFrom.SingletonFromListNull": singleton from {null} + +define "SingletonFrom.SingletonFrom1": singleton from { 1 } + +define "SingletonFrom.SingletonFrom12": singleton from { 1, 2 } + +define "SingletonFrom.SingletonFromDateTime": singleton from { DateTime(2012, 5, 10) } + +define "SingletonFrom.SingletonFromTime": singleton from { @T15:59:59.999 } + +define "Skip.SkipNull": Skip(null, 3) + +define "Skip.SkipEven": Skip({1,2,3,4,5}, 2) + +define "Skip.SkipOdd": Skip({1,2,3,4,5}, 3) + +define "Skip.SkipNone": Skip({1,2,3,4,5}, 0) + +define "Skip.SkipAll": Skip({1,2,3,4,5}, 5) + +define "Tail.TailNull": Tail(null) + +define "Tail.TailEven": Tail({1,2,3,4}) + +define "Tail.TailOdd": Tail({1,2,3,4,5}) + +define "Tail.TailEmpty": Tail({}) + +define "Tail.TailOneElement": Tail({1}) + +define "Take.TakeNull": Take(null, 3) + +define "Take.TakeNullEmpty": Take({1,2,3}, null as Integer) + +define "Take.TakeEmpty": Take({1,2,3}, 0) + +define "Take.TakeEven": Take({1,2,3,4}, 2) + +define "Take.TakeOdd": Take({1,2,3,4}, 3) + +define "Take.TakeAll": Take({1,2,3,4}, 4) + +define "Union.UnionEmptyAndEmpty": {} union {} + +define "Union.UnionListNullAndListNull": { null } union { null } + +define "Union.Union123AndEmpty": { 1, 2, 3 } union {} + +define "Union.Union123And2": { 1, 2, 3 } union { 2 } + +define "Union.Union123And4": { 1, 2, 3 } union { 4 } + +define "Union.UnionDateTime": { DateTime(2001, 9, 11)} union {DateTime(2012, 5, 10), DateTime(2014, 12, 10) } + +define "Union.UnionTime": { @T15:59:59.999, @T20:59:59.999, @T12:59:59.999 } union { @T10:59:59.999 } + diff --git a/cql/CqlListOperatorsTest.json b/cql/CqlListOperatorsTest.json new file mode 100644 index 0000000..e620127 --- /dev/null +++ b/cql/CqlListOperatorsTest.json @@ -0,0 +1,23583 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 159, + "startChar" : 121, + "endLine" : 159, + "endChar" : 143, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 161, + "startChar" : 122, + "endLine" : 161, + "endChar" : 144, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 175, + "startChar" : 44, + "endLine" : 175, + "endChar" : 45, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 177, + "startChar" : 40, + "endLine" : 177, + "endChar" : 44, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 179, + "startChar" : 40, + "endLine" : 179, + "endChar" : 44, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 181, + "startChar" : 45, + "endLine" : 181, + "endChar" : 68, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 183, + "startChar" : 46, + "endLine" : 183, + "endChar" : 68, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 333, + "startChar" : 120, + "endLine" : 333, + "endChar" : 153, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "libraryId" : "CqlListOperatorsTest", + "startLine" : 335, + "startChar" : 121, + "endLine" : 335, + "endChar" : 170, + "message" : "List-valued expression was demoted to a singleton.", + "errorType" : "semantic", + "errorSeverity" : "warning", + "type" : "CqlToElmError" + }, { + "type" : "Annotation", + "s" : { + "r" : "4026", + "s" : [ { + "value" : [ "","library CqlListOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlListOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:61", + "name" : "Sort.simpleSortAsc", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"Sort.simpleSortAsc\"",": " ] + }, { + "r" : "223", + "s" : [ { + "s" : [ { + "r" : "208", + "s" : [ { + "r" : "209", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "209", + "s" : [ { + "r" : "210", + "value" : [ "{","4",", ","5",", ","1",", ","6",", ","2",", ","1","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ","sL" ] + } ] + } ] + }, { + "r" : "216", + "value" : [ " ","sort asc" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "223", + "locator" : "3:30-3:61", + "type" : "Query", + "source" : [ { + "localId" : "208", + "locator" : "3:30-3:52", + "alias" : "sL", + "expression" : { + "localId" : "209", + "locator" : "3:30-3:49", + "type" : "List", + "element" : [ { + "localId" : "210", + "locator" : "3:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "211", + "locator" : "3:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "212", + "locator" : "3:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "213", + "locator" : "3:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + }, { + "localId" : "214", + "locator" : "3:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "215", + "locator" : "3:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "216", + "locator" : "3:54-3:61", + "by" : [ { + "localId" : "217", + "direction" : "asc", + "type" : "ByDirection" + } ] + } + } + }, { + "localId" : "225", + "locator" : "5:1-5:63", + "name" : "Sort.simpleSortDesc", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "","define ","\"Sort.simpleSortDesc\"",": " ] + }, { + "r" : "241", + "s" : [ { + "s" : [ { + "r" : "226", + "s" : [ { + "r" : "227", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "227", + "s" : [ { + "r" : "228", + "value" : [ "{","4",", ","5",", ","1",", ","6",", ","2",", ","1","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ","sL" ] + } ] + } ] + }, { + "r" : "234", + "value" : [ " ","sort desc" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "241", + "locator" : "5:31-5:63", + "type" : "Query", + "source" : [ { + "localId" : "226", + "locator" : "5:31-5:53", + "alias" : "sL", + "expression" : { + "localId" : "227", + "locator" : "5:31-5:50", + "type" : "List", + "element" : [ { + "localId" : "228", + "locator" : "5:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "229", + "locator" : "5:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, { + "localId" : "230", + "locator" : "5:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "231", + "locator" : "5:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + }, { + "localId" : "232", + "locator" : "5:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "233", + "locator" : "5:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "234", + "locator" : "5:55-5:63", + "by" : [ { + "localId" : "235", + "direction" : "desc", + "type" : "ByDirection" + } ] + } + } + }, { + "localId" : "243", + "locator" : "7:1-7:123", + "name" : "Sort.simpleSortStringAsc", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "243", + "s" : [ { + "value" : [ "","define ","\"Sort.simpleSortStringAsc\"",": " ] + }, { + "r" : "260", + "s" : [ { + "s" : [ { + "r" : "244", + "s" : [ { + "r" : "245", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "'back'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "'aardvark'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "'alligator'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "'zebra'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "'iguana'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "251", + "s" : [ { + "value" : [ "'Wolf'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "'Armadillo'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ","sls" ] + } ] + } ] + }, { + "r" : "253", + "value" : [ " ","sort asc" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "260", + "locator" : "7:36-7:123", + "type" : "Query", + "source" : [ { + "localId" : "244", + "locator" : "7:36-7:114", + "alias" : "sls", + "expression" : { + "localId" : "245", + "locator" : "7:36-7:110", + "type" : "List", + "element" : [ { + "localId" : "246", + "locator" : "7:38-7:43", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "back", + "type" : "Literal" + }, { + "localId" : "247", + "locator" : "7:46-7:55", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aardvark", + "type" : "Literal" + }, { + "localId" : "248", + "locator" : "7:58-7:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "alligator", + "type" : "Literal" + }, { + "localId" : "249", + "locator" : "7:71-7:77", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "zebra", + "type" : "Literal" + }, { + "localId" : "250", + "locator" : "7:80-7:87", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "iguana", + "type" : "Literal" + }, { + "localId" : "251", + "locator" : "7:90-7:95", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Wolf", + "type" : "Literal" + }, { + "localId" : "252", + "locator" : "7:98-7:108", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Armadillo", + "type" : "Literal" + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "253", + "locator" : "7:116-7:123", + "by" : [ { + "localId" : "254", + "direction" : "asc", + "type" : "ByDirection" + } ] + } + } + }, { + "localId" : "262", + "locator" : "9:1-9:125", + "name" : "Sort.simpleSortStringDesc", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "262", + "s" : [ { + "value" : [ "","define ","\"Sort.simpleSortStringDesc\"",": " ] + }, { + "r" : "279", + "s" : [ { + "s" : [ { + "r" : "263", + "s" : [ { + "r" : "264", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "264", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "'back'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "'aardvark'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "267", + "s" : [ { + "value" : [ "'alligator'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "268", + "s" : [ { + "value" : [ "'zebra'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "269", + "s" : [ { + "value" : [ "'iguana'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "'Wolf'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "'Armadillo'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ","sls" ] + } ] + } ] + }, { + "r" : "272", + "value" : [ " ","sort desc" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "279", + "locator" : "9:37-9:125", + "type" : "Query", + "source" : [ { + "localId" : "263", + "locator" : "9:37-9:115", + "alias" : "sls", + "expression" : { + "localId" : "264", + "locator" : "9:37-9:111", + "type" : "List", + "element" : [ { + "localId" : "265", + "locator" : "9:39-9:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "back", + "type" : "Literal" + }, { + "localId" : "266", + "locator" : "9:47-9:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aardvark", + "type" : "Literal" + }, { + "localId" : "267", + "locator" : "9:59-9:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "alligator", + "type" : "Literal" + }, { + "localId" : "268", + "locator" : "9:72-9:78", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "zebra", + "type" : "Literal" + }, { + "localId" : "269", + "locator" : "9:81-9:88", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "iguana", + "type" : "Literal" + }, { + "localId" : "270", + "locator" : "9:91-9:96", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Wolf", + "type" : "Literal" + }, { + "localId" : "271", + "locator" : "9:99-9:109", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Armadillo", + "type" : "Literal" + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "272", + "locator" : "9:117-9:125", + "by" : [ { + "localId" : "273", + "direction" : "desc", + "type" : "ByDirection" + } ] + } + } + }, { + "localId" : "281", + "locator" : "11:1-11:141", + "name" : "Sort.SortDatesAsc", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "281", + "s" : [ { + "value" : [ "","define ","\"Sort.SortDatesAsc\"",": " ] + }, { + "r" : "317", + "s" : [ { + "s" : [ { + "r" : "282", + "s" : [ { + "r" : "283", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "290", + "s" : [ { + "r" : "284", + "value" : [ "DateTime","(","2012",", ","10",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "296", + "s" : [ { + "r" : "291", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "303", + "s" : [ { + "r" : "297", + "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","12",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "309", + "s" : [ { + "r" : "304", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ","S" ] + } ] + } ] + }, { + "r" : "310", + "value" : [ " ","sort asc" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "317", + "locator" : "11:29-11:141", + "type" : "Query", + "source" : [ { + "localId" : "282", + "locator" : "11:29-11:132", + "alias" : "S", + "expression" : { + "localId" : "283", + "locator" : "11:29-11:130", + "type" : "List", + "element" : [ { + "localId" : "290", + "locator" : "11:32-11:56", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "284", + "locator" : "11:41-11:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "285", + "locator" : "11:47-11:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "286", + "locator" : "11:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "287", + "locator" : "11:54-11:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "296", + "locator" : "11:59-11:78", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "291", + "locator" : "11:68-11:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "292", + "locator" : "11:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "293", + "locator" : "11:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "303", + "locator" : "11:81-11:104", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "297", + "locator" : "11:90-11:93", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "298", + "locator" : "11:96", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "299", + "locator" : "11:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "300", + "locator" : "11:102-11:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "309", + "locator" : "11:107-11:127", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "304", + "locator" : "11:116-11:119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "305", + "locator" : "11:122-11:123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "306", + "locator" : "11:126", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "310", + "locator" : "11:134-11:141", + "by" : [ { + "localId" : "311", + "direction" : "asc", + "type" : "ByDirection" + } ] + } + } + }, { + "localId" : "319", + "locator" : "13:1-13:143", + "name" : "Sort.SortDatesDesc", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "319", + "s" : [ { + "value" : [ "","define ","\"Sort.SortDatesDesc\"",": " ] + }, { + "r" : "355", + "s" : [ { + "s" : [ { + "r" : "320", + "s" : [ { + "r" : "321", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "328", + "s" : [ { + "r" : "322", + "value" : [ "DateTime","(","2012",", ","10",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "334", + "s" : [ { + "r" : "329", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "341", + "s" : [ { + "r" : "335", + "value" : [ "DateTime","(","2012",", ","1",", ","1",", ","12",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "347", + "s" : [ { + "r" : "342", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ " ","S" ] + } ] + } ] + }, { + "r" : "348", + "value" : [ " ","sort desc" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "355", + "locator" : "13:30-13:143", + "type" : "Query", + "source" : [ { + "localId" : "320", + "locator" : "13:30-13:133", + "alias" : "S", + "expression" : { + "localId" : "321", + "locator" : "13:30-13:131", + "type" : "List", + "element" : [ { + "localId" : "328", + "locator" : "13:33-13:57", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "322", + "locator" : "13:42-13:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "323", + "locator" : "13:48-13:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "324", + "locator" : "13:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "hour" : { + "localId" : "325", + "locator" : "13:55-13:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "334", + "locator" : "13:60-13:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "329", + "locator" : "13:69-13:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "330", + "locator" : "13:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "331", + "locator" : "13:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "341", + "locator" : "13:82-13:105", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "335", + "locator" : "13:91-13:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "336", + "locator" : "13:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "337", + "locator" : "13:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "338", + "locator" : "13:103-13:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + } + }, { + "localId" : "347", + "locator" : "13:108-13:128", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "342", + "locator" : "13:117-13:120", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "343", + "locator" : "13:123-13:124", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "344", + "locator" : "13:127", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "sort" : { + "localId" : "348", + "locator" : "13:135-13:143", + "by" : [ { + "localId" : "349", + "direction" : "desc", + "type" : "ByDirection" + } ] + } + } + }, { + "localId" : "357", + "locator" : "15:1-15:34", + "name" : "Sort.intList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "357", + "s" : [ { + "value" : [ "","define ","\"Sort.intList\"",": " ] + }, { + "r" : "358", + "s" : [ { + "r" : "359", + "value" : [ "{ ","3",", ","2",", ","1"," }" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "358", + "locator" : "15:24-15:34", + "type" : "List", + "element" : [ { + "localId" : "359", + "locator" : "15:26", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "360", + "locator" : "15:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "361", + "locator" : "15:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "363", + "locator" : "17:1-17:44", + "name" : "Sort.decimalList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "363", + "s" : [ { + "value" : [ "","define ","\"Sort.decimalList\"",": " ] + }, { + "r" : "364", + "s" : [ { + "r" : "365", + "value" : [ "{ ","3.8",", ","2.4",", ","1.9"," }" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "364", + "locator" : "17:28-17:44", + "type" : "List", + "element" : [ { + "localId" : "365", + "locator" : "17:30-17:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "3.8", + "type" : "Literal" + }, { + "localId" : "366", + "locator" : "17:35-17:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.4", + "type" : "Literal" + }, { + "localId" : "367", + "locator" : "17:40-17:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.9", + "type" : "Literal" + } ] + } + }, { + "localId" : "369", + "locator" : "19:1-19:81", + "name" : "Sort.quantityList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "369", + "s" : [ { + "value" : [ "","define ","\"Sort.quantityList\"",": " ] + }, { + "r" : "370", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "19.99 ","'[lb_av]'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "372", + "s" : [ { + "value" : [ "17.33 ","'[lb_av]'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "373", + "s" : [ { + "value" : [ "10.66 ","'[lb_av]'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "370", + "locator" : "19:29-19:81", + "type" : "List", + "element" : [ { + "localId" : "371", + "locator" : "19:31-19:45", + "value" : 19.99, + "unit" : "[lb_av]", + "type" : "Quantity" + }, { + "localId" : "372", + "locator" : "19:48-19:62", + "value" : 17.33, + "unit" : "[lb_av]", + "type" : "Quantity" + }, { + "localId" : "373", + "locator" : "19:65-19:79", + "value" : 10.66, + "unit" : "[lb_av]", + "type" : "Quantity" + } ] + } + }, { + "localId" : "375", + "locator" : "21:1-21:78", + "name" : "Sort.dateTimeList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "375", + "s" : [ { + "value" : [ "","define ","\"Sort.dateTimeList\"",": " ] + }, { + "r" : "376", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "380", + "s" : [ { + "r" : "377", + "value" : [ "DateTime","(","2016",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "384", + "s" : [ { + "r" : "381", + "value" : [ "DateTime","(","2015",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "388", + "s" : [ { + "r" : "385", + "value" : [ "DateTime","(","2010",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "376", + "locator" : "21:29-21:78", + "type" : "List", + "element" : [ { + "localId" : "380", + "locator" : "21:31-21:44", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "377", + "locator" : "21:40-21:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "type" : "Literal" + } + }, { + "localId" : "384", + "locator" : "21:47-21:60", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "381", + "locator" : "21:56-21:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + } + }, { + "localId" : "388", + "locator" : "21:63-21:76", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "385", + "locator" : "21:72-21:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "390", + "locator" : "23:1-23:74", + "name" : "Sort.timeList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "390", + "s" : [ { + "value" : [ "","define ","\"Sort.timeList\"",": " ] + }, { + "r" : "391", + "s" : [ { + "r" : "392", + "value" : [ "{ ","@T15:59:59.999",", ","@T15:12:59.999",", ","@T15:12:13.999"," }" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "391", + "locator" : "23:25-23:74", + "type" : "List", + "element" : [ { + "localId" : "392", + "locator" : "23:27-23:40", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "393", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "394", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "395", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "396", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "397", + "locator" : "23:43-23:56", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "398", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "399", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "second" : { + "localId" : "400", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "401", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "402", + "locator" : "23:59-23:72", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "403", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "404", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "second" : { + "localId" : "405", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "13", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "406", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "408", + "locator" : "25:1-25:73", + "name" : "Contains.ContainsABNullHasNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "408", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsABNullHasNull\"",": " ] + }, { + "r" : "415", + "s" : [ { + "r" : "409", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "411", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "r" : "412", + "value" : [ ", ","null"," }" ] + } ] + }, { + "r" : "414", + "value" : [ " contains ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "415", + "locator" : "25:42-25:73", + "type" : "Contains", + "signature" : [ ], + "operand" : [ { + "localId" : "409", + "locator" : "25:42-25:59", + "type" : "List", + "element" : [ { + "localId" : "410", + "locator" : "25:44-25:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "411", + "locator" : "25:49-25:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "413", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "412", + "locator" : "25:54-25:57", + "type" : "Null" + } + } ] + }, { + "localId" : "416", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "414", + "locator" : "25:70-25:73", + "type" : "Null" + } + } ] + } + }, { + "localId" : "418", + "locator" : "27:1-27:68", + "name" : "Contains.ContainsNullFirst", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "418", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsNullFirst\"",": " ] + }, { + "r" : "425", + "s" : [ { + "r" : "419", + "s" : [ { + "r" : "420", + "value" : [ "{ ","null",", " ] + }, { + "r" : "421", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "424", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "425", + "locator" : "27:38-27:68", + "type" : "Contains", + "signature" : [ ], + "operand" : [ { + "localId" : "419", + "locator" : "27:38-27:55", + "type" : "List", + "element" : [ { + "localId" : "423", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "420", + "locator" : "27:40-27:43", + "type" : "Null" + } + }, { + "localId" : "421", + "locator" : "27:46-27:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "422", + "locator" : "27:51-27:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "424", + "locator" : "27:66-27:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "427", + "locator" : "29:1-29:65", + "name" : "Contains.ContainsABCHasA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "427", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsABCHasA\"",": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "428", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "429", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "430", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "432", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "433", + "locator" : "29:36-29:65", + "type" : "Contains", + "signature" : [ ], + "operand" : [ { + "localId" : "428", + "locator" : "29:36-29:52", + "type" : "List", + "element" : [ { + "localId" : "429", + "locator" : "29:38-29:40", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "430", + "locator" : "29:43-29:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "431", + "locator" : "29:48-29:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "432", + "locator" : "29:63-29:65", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "435", + "locator" : "31:1-31:138", + "name" : "Contains.ContainsJan2012True", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "435", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsJan2012True\"",": " ] + }, { + "r" : "461", + "s" : [ { + "r" : "436", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "442", + "s" : [ { + "r" : "437", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "448", + "s" : [ { + "r" : "443", + "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "454", + "s" : [ { + "r" : "449", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "460", + "s" : [ { + "r" : "455", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "461", + "locator" : "31:40-31:138", + "type" : "Contains", + "signature" : [ { + "localId" : "462", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "463", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "464", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "436", + "locator" : "31:40-31:108", + "type" : "List", + "element" : [ { + "localId" : "442", + "locator" : "31:42-31:62", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "437", + "locator" : "31:51-31:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "438", + "locator" : "31:57-31:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "439", + "locator" : "31:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "448", + "locator" : "31:65-31:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "443", + "locator" : "31:74-31:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "444", + "locator" : "31:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "445", + "locator" : "31:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "454", + "locator" : "31:87-31:106", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "449", + "locator" : "31:96-31:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "450", + "locator" : "31:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "451", + "locator" : "31:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + }, { + "localId" : "460", + "locator" : "31:119-31:138", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "455", + "locator" : "31:128-31:131", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "456", + "locator" : "31:134", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "457", + "locator" : "31:137", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "466", + "locator" : "33:1-33:140", + "name" : "Contains.ContainsJan2012False", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "466", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsJan2012False\"",": " ] + }, { + "r" : "492", + "s" : [ { + "r" : "467", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "473", + "s" : [ { + "r" : "468", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "479", + "s" : [ { + "r" : "474", + "value" : [ "DateTime","(","2012",", ","9",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "485", + "s" : [ { + "r" : "480", + "value" : [ "DateTime","(","2012",", ","10",", ","1",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " contains " ] + }, { + "r" : "491", + "s" : [ { + "r" : "486", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "492", + "locator" : "33:41-33:140", + "type" : "Contains", + "signature" : [ { + "localId" : "493", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "494", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "495", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "467", + "locator" : "33:41-33:110", + "type" : "List", + "element" : [ { + "localId" : "473", + "locator" : "33:43-33:63", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "468", + "locator" : "33:52-33:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "469", + "locator" : "33:58-33:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "470", + "locator" : "33:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "479", + "locator" : "33:66-33:85", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "474", + "locator" : "33:75-33:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "475", + "locator" : "33:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "476", + "locator" : "33:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "485", + "locator" : "33:88-33:108", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "480", + "locator" : "33:97-33:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "481", + "locator" : "33:103-33:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "482", + "locator" : "33:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + }, { + "localId" : "491", + "locator" : "33:121-33:140", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "486", + "locator" : "33:130-33:133", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "487", + "locator" : "33:136", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "488", + "locator" : "33:139", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "497", + "locator" : "35:1-35:110", + "name" : "Contains.ContainsTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "497", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsTimeTrue\"",": " ] + }, { + "r" : "519", + "s" : [ { + "r" : "498", + "s" : [ { + "r" : "499", + "value" : [ "{ ","@T15:59:59.999",", ","@T05:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "514", + "value" : [ " contains ","@T05:59:59.999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "519", + "locator" : "35:37-35:110", + "type" : "Contains", + "signature" : [ { + "localId" : "520", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "521", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "522", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "498", + "locator" : "35:37-35:86", + "type" : "List", + "element" : [ { + "localId" : "499", + "locator" : "35:39-35:52", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "500", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "501", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "502", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "503", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "504", + "locator" : "35:55-35:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "505", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "506", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "507", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "508", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "509", + "locator" : "35:71-35:84", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "510", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "511", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "512", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "513", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "514", + "locator" : "35:97-35:110", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "515", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "516", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "517", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "518", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "524", + "locator" : "37:1-37:111", + "name" : "Contains.ContainsTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "524", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsTimeFalse\"",": " ] + }, { + "r" : "546", + "s" : [ { + "r" : "525", + "s" : [ { + "r" : "526", + "value" : [ "{ ","@T15:59:59.999",", ","@T05:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "541", + "value" : [ " contains ","@T08:59:59.999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "546", + "locator" : "37:38-37:111", + "type" : "Contains", + "signature" : [ { + "localId" : "547", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "548", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "549", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "525", + "locator" : "37:38-37:87", + "type" : "List", + "element" : [ { + "localId" : "526", + "locator" : "37:40-37:53", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "527", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "528", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "529", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "530", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "531", + "locator" : "37:56-37:69", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "532", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "533", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "534", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "535", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "536", + "locator" : "37:72-37:85", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "537", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "538", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "539", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "540", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "541", + "locator" : "37:98-37:111", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "542", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + }, + "minute" : { + "localId" : "543", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "544", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "545", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "551", + "locator" : "39:1-39:53", + "name" : "Contains.ContainsNullLeft", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "551", + "s" : [ { + "value" : [ "","define ","\"Contains.ContainsNullLeft\"",": " ] + }, { + "r" : "554", + "s" : [ { + "r" : "552", + "value" : [ "null"," contains " ] + }, { + "r" : "553", + "s" : [ { + "value" : [ "'a'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "554", + "locator" : "39:37-39:53", + "type" : "Contains", + "signature" : [ { + "localId" : "558", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "559", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "560", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "555", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "552", + "locator" : "39:37-39:40", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "556", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "557", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "553", + "locator" : "39:51-39:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "562", + "locator" : "41:1-41:63", + "name" : "Descendents.DescendentsEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "562", + "s" : [ { + "value" : [ "","define ","\"Descendents.DescendentsEmptyList\"",": " ] + }, { + "r" : "564", + "s" : [ { + "r" : "563", + "s" : [ { + "r" : "563", + "value" : [ "(","null",")" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "564", + "s" : [ { + "value" : [ "descendents","()" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "564", + "locator" : "41:44-41:63", + "type" : "Descendents", + "signature" : [ ], + "source" : { + "localId" : "563", + "locator" : "41:44-41:49", + "type" : "Null" + } + } + }, { + "localId" : "566", + "locator" : "43:1-43:48", + "name" : "Distinct.DistinctEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "566", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctEmptyList\"",": " ] + }, { + "r" : "567", + "s" : [ { + "r" : "568", + "value" : [ "distinct ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "567", + "locator" : "43:38-43:48", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "568", + "locator" : "43:47-43:48", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "570", + "locator" : "45:1-45:68", + "name" : "Distinct.DistinctNullNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "570", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctNullNullNull\"",": " ] + }, { + "r" : "571", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "572", + "s" : [ { + "r" : "573", + "value" : [ "{ ","null",", ","null",", ","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "571", + "locator" : "45:41-45:68", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "572", + "locator" : "45:50-45:68", + "type" : "List", + "element" : [ { + "localId" : "573", + "locator" : "45:52-45:55", + "type" : "Null" + }, { + "localId" : "574", + "locator" : "45:58-45:61", + "type" : "Null" + }, { + "localId" : "575", + "locator" : "45:64-45:67", + "type" : "Null" + } ] + } + } + }, { + "localId" : "577", + "locator" : "47:1-47:70", + "name" : "Distinct.DistinctANullANull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "577", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctANullANull\"",": " ] + }, { + "r" : "578", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "579", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "580", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "581", + "value" : [ ", ","null",", " ] + }, { + "r" : "582", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "583", + "value" : [ ", ","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "578", + "locator" : "47:39-47:70", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "579", + "locator" : "47:48-47:70", + "type" : "List", + "element" : [ { + "localId" : "580", + "locator" : "47:50-47:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "584", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "581", + "locator" : "47:55-47:58", + "type" : "Null" + } + }, { + "localId" : "582", + "locator" : "47:61-47:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "585", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "583", + "locator" : "47:66-47:69", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "587", + "locator" : "49:1-49:62", + "name" : "Distinct.Distinct112233", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "587", + "s" : [ { + "value" : [ "","define ","\"Distinct.Distinct112233\"",": " ] + }, { + "r" : "588", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "589", + "s" : [ { + "r" : "590", + "value" : [ "{ ","1",", ","1",", ","2",", ","2",", ","3",", ","3","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "588", + "locator" : "49:35-49:62", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "589", + "locator" : "49:44-49:62", + "type" : "List", + "element" : [ { + "localId" : "590", + "locator" : "49:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "591", + "locator" : "49:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "592", + "locator" : "49:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "593", + "locator" : "49:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "594", + "locator" : "49:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "595", + "locator" : "49:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "597", + "locator" : "51:1-51:62", + "name" : "Distinct.Distinct123123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "597", + "s" : [ { + "value" : [ "","define ","\"Distinct.Distinct123123\"",": " ] + }, { + "r" : "598", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "599", + "s" : [ { + "r" : "600", + "value" : [ "{ ","1",", ","2",", ","3",", ","1",", ","2",", ","3","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "598", + "locator" : "51:35-51:62", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "599", + "locator" : "51:44-51:62", + "type" : "List", + "element" : [ { + "localId" : "600", + "locator" : "51:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "601", + "locator" : "51:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "602", + "locator" : "51:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "603", + "locator" : "51:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "604", + "locator" : "51:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "605", + "locator" : "51:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "607", + "locator" : "53:1-53:74", + "name" : "Distinct.DistinctAABBCC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "607", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctAABBCC\"",": " ] + }, { + "r" : "608", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "609", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "610", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "611", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "612", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "613", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "614", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "615", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "608", + "locator" : "53:35-53:74", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "609", + "locator" : "53:44-53:74", + "type" : "List", + "element" : [ { + "localId" : "610", + "locator" : "53:46-53:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "611", + "locator" : "53:51-53:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "612", + "locator" : "53:56-53:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "613", + "locator" : "53:61-53:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "614", + "locator" : "53:66-53:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + }, { + "localId" : "615", + "locator" : "53:71-53:73", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "617", + "locator" : "55:1-55:74", + "name" : "Distinct.DistinctABCABC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "617", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctABCABC\"",": " ] + }, { + "r" : "618", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "619", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "620", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "621", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "622", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "623", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "624", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "625", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "618", + "locator" : "55:35-55:74", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "619", + "locator" : "55:44-55:74", + "type" : "List", + "element" : [ { + "localId" : "620", + "locator" : "55:46-55:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "621", + "locator" : "55:51-55:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "622", + "locator" : "55:56-55:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + }, { + "localId" : "623", + "locator" : "55:61-55:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "624", + "locator" : "55:66-55:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "625", + "locator" : "55:71-55:73", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "627", + "locator" : "57:1-57:113", + "name" : "Distinct.DistinctDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "627", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctDateTime\"",": " ] + }, { + "r" : "628", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "629", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "635", + "s" : [ { + "r" : "630", + "value" : [ "DateTime","(","2012",", ","10",", ","5",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "641", + "s" : [ { + "r" : "636", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "647", + "s" : [ { + "r" : "642", + "value" : [ "DateTime","(","2012",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "628", + "locator" : "57:37-57:113", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "629", + "locator" : "57:46-57:113", + "type" : "List", + "element" : [ { + "localId" : "635", + "locator" : "57:48-57:68", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "630", + "locator" : "57:57-57:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "631", + "locator" : "57:63-57:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "day" : { + "localId" : "632", + "locator" : "57:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "localId" : "641", + "locator" : "57:71-57:90", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "636", + "locator" : "57:80-57:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "637", + "locator" : "57:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "638", + "locator" : "57:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "647", + "locator" : "57:93-57:112", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "642", + "locator" : "57:102-57:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "643", + "locator" : "57:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "644", + "locator" : "57:111", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "649", + "locator" : "59:1-59:75", + "name" : "Distinct.DistinctTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "649", + "s" : [ { + "value" : [ "","define ","\"Distinct.DistinctTime\"",": " ] + }, { + "r" : "650", + "s" : [ { + "value" : [ "distinct " ] + }, { + "r" : "651", + "s" : [ { + "r" : "652", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "650", + "locator" : "59:33-59:75", + "type" : "Distinct", + "signature" : [ ], + "operand" : { + "localId" : "651", + "locator" : "59:42-59:75", + "type" : "List", + "element" : [ { + "localId" : "652", + "locator" : "59:44-59:57", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "653", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "654", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "655", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "656", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "657", + "locator" : "59:60-59:73", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "658", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "659", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "660", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "661", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "663", + "locator" : "61:1-61:45", + "name" : "Equal.EqualNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "663", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualNullNull\"",": " ] + }, { + "r" : "664", + "s" : [ { + "r" : "665", + "s" : [ { + "r" : "666", + "value" : [ "{","null","}" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "667", + "s" : [ { + "r" : "668", + "value" : [ "{","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "664", + "locator" : "61:31-61:45", + "type" : "Equal", + "signature" : [ { + "localId" : "669", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "670", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "671", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "672", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "665", + "locator" : "61:31-61:36", + "type" : "List", + "element" : [ { + "localId" : "666", + "locator" : "61:32-61:35", + "type" : "Null" + } ] + }, { + "localId" : "667", + "locator" : "61:40-61:45", + "type" : "List", + "element" : [ { + "localId" : "668", + "locator" : "61:41-61:44", + "type" : "Null" + } ] + } ] + } + }, { + "localId" : "674", + "locator" : "63:1-63:60", + "name" : "Equal.EqualEmptyListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "674", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualEmptyListNull\"",": " ] + }, { + "r" : "675", + "s" : [ { + "r" : "676", + "s" : [ { + "r" : "677", + "value" : [ "{}"," as " ] + }, { + "r" : "678", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "679", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "r" : "680", + "value" : [ " ","="," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "675", + "locator" : "63:36-63:60", + "type" : "Equal", + "signature" : [ { + "localId" : "684", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "685", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "686", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "687", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "676", + "locator" : "63:36-63:53", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "677", + "locator" : "63:36-63:37", + "type" : "List", + "element" : [ ] + }, + "asTypeSpecifier" : { + "localId" : "678", + "locator" : "63:42-63:53", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "679", + "locator" : "63:47-63:52", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "681", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "680", + "locator" : "63:57-63:60", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "682", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "683", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "689", + "locator" : "65:1-65:60", + "name" : "Equal.EqualNullEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "689", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualNullEmptyList\"",": " ] + }, { + "r" : "690", + "s" : [ { + "r" : "691", + "value" : [ "null"," ","="," " ] + }, { + "r" : "692", + "s" : [ { + "r" : "693", + "value" : [ "{}"," as " ] + }, { + "r" : "694", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "695", + "s" : [ { + "value" : [ "String" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "690", + "locator" : "65:36-65:60", + "type" : "Equal", + "signature" : [ { + "localId" : "699", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "700", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "701", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "702", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "696", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "691", + "locator" : "65:36-65:39", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "697", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "698", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "692", + "locator" : "65:43-65:60", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "693", + "locator" : "65:43-65:44", + "type" : "List", + "element" : [ ] + }, + "asTypeSpecifier" : { + "localId" : "694", + "locator" : "65:49-65:60", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "695", + "locator" : "65:54-65:59", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "704", + "locator" : "67:1-67:50", + "name" : "Equal.EqualEmptyListAndEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "704", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualEmptyListAndEmptyList\"",": " ] + }, { + "r" : "705", + "s" : [ { + "r" : "706", + "value" : [ "{}"," ","="," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "705", + "locator" : "67:44-67:50", + "type" : "Equal", + "signature" : [ { + "localId" : "708", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "709", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "710", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "711", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "706", + "locator" : "67:44-67:45", + "type" : "List", + "element" : [ ] + }, { + "localId" : "707", + "locator" : "67:49-67:50", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "713", + "locator" : "69:1-69:52", + "name" : "Equal.Equal12And123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "713", + "s" : [ { + "value" : [ "","define ","\"Equal.Equal12And123\"",": " ] + }, { + "r" : "714", + "s" : [ { + "r" : "715", + "s" : [ { + "r" : "716", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "718", + "s" : [ { + "r" : "719", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "714", + "locator" : "69:31-69:52", + "type" : "Equal", + "signature" : [ { + "localId" : "722", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "723", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "724", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "725", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "715", + "locator" : "69:31-69:38", + "type" : "List", + "element" : [ { + "localId" : "716", + "locator" : "69:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "717", + "locator" : "69:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "718", + "locator" : "69:42-69:52", + "type" : "List", + "element" : [ { + "localId" : "719", + "locator" : "69:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "720", + "locator" : "69:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "721", + "locator" : "69:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "727", + "locator" : "71:1-71:52", + "name" : "Equal.Equal123And12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "727", + "s" : [ { + "value" : [ "","define ","\"Equal.Equal123And12\"",": " ] + }, { + "r" : "728", + "s" : [ { + "r" : "729", + "s" : [ { + "r" : "730", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "733", + "s" : [ { + "r" : "734", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "728", + "locator" : "71:31-71:52", + "type" : "Equal", + "signature" : [ { + "localId" : "736", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "737", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "738", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "739", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "729", + "locator" : "71:31-71:41", + "type" : "List", + "element" : [ { + "localId" : "730", + "locator" : "71:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "731", + "locator" : "71:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "732", + "locator" : "71:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "733", + "locator" : "71:45-71:52", + "type" : "List", + "element" : [ { + "localId" : "734", + "locator" : "71:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "735", + "locator" : "71:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "741", + "locator" : "73:1-73:56", + "name" : "Equal.Equal123And123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "741", + "s" : [ { + "value" : [ "","define ","\"Equal.Equal123And123\"",": " ] + }, { + "r" : "742", + "s" : [ { + "r" : "743", + "s" : [ { + "r" : "744", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "747", + "s" : [ { + "r" : "748", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "742", + "locator" : "73:32-73:56", + "type" : "Equal", + "signature" : [ { + "localId" : "751", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "752", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "753", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "754", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "743", + "locator" : "73:32-73:42", + "type" : "List", + "element" : [ { + "localId" : "744", + "locator" : "73:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "745", + "locator" : "73:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "746", + "locator" : "73:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "747", + "locator" : "73:46-73:56", + "type" : "List", + "element" : [ { + "localId" : "748", + "locator" : "73:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "749", + "locator" : "73:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "750", + "locator" : "73:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "756", + "locator" : "75:1-75:179", + "name" : "Equal.EqualDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "756", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualDateTimeTrue\"",": " ] + }, { + "r" : "757", + "s" : [ { + "r" : "758", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "768", + "s" : [ { + "r" : "759", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "778", + "s" : [ { + "r" : "769", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "779", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "789", + "s" : [ { + "r" : "780", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "799", + "s" : [ { + "r" : "790", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "757", + "locator" : "75:35-75:179", + "type" : "Equal", + "signature" : [ { + "localId" : "800", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "801", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "802", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "803", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "758", + "locator" : "75:35-75:105", + "type" : "List", + "element" : [ { + "localId" : "768", + "locator" : "75:36-75:68", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "759", + "locator" : "75:45-75:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "760", + "locator" : "75:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "761", + "locator" : "75:54-75:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "762", + "locator" : "75:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "763", + "locator" : "75:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "764", + "locator" : "75:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "765", + "locator" : "75:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "778", + "locator" : "75:71-75:104", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "769", + "locator" : "75:80-75:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "770", + "locator" : "75:86-75:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "771", + "locator" : "75:90-75:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "772", + "locator" : "75:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "773", + "locator" : "75:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "774", + "locator" : "75:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "775", + "locator" : "75:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + }, { + "localId" : "779", + "locator" : "75:109-75:179", + "type" : "List", + "element" : [ { + "localId" : "789", + "locator" : "75:110-75:142", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "780", + "locator" : "75:119-75:122", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "781", + "locator" : "75:125", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "782", + "locator" : "75:128-75:129", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "783", + "locator" : "75:132", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "784", + "locator" : "75:135", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "785", + "locator" : "75:138", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "786", + "locator" : "75:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "799", + "locator" : "75:145-75:178", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "790", + "locator" : "75:154-75:157", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "791", + "locator" : "75:160-75:161", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "792", + "locator" : "75:164-75:165", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "793", + "locator" : "75:168", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "794", + "locator" : "75:171", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "795", + "locator" : "75:174", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "796", + "locator" : "75:177", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "805", + "locator" : "77:1-77:180", + "name" : "Equal.EqualDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "805", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualDateTimeFalse\"",": " ] + }, { + "r" : "806", + "s" : [ { + "r" : "807", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "817", + "s" : [ { + "r" : "808", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "827", + "s" : [ { + "r" : "818", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "828", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "838", + "s" : [ { + "r" : "829", + "value" : [ "DateTime","(","2012",", ","1",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "848", + "s" : [ { + "r" : "839", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "806", + "locator" : "77:36-77:180", + "type" : "Equal", + "signature" : [ { + "localId" : "849", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "850", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "851", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "852", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "807", + "locator" : "77:36-77:106", + "type" : "List", + "element" : [ { + "localId" : "817", + "locator" : "77:37-77:69", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "808", + "locator" : "77:46-77:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "809", + "locator" : "77:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "810", + "locator" : "77:55-77:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "811", + "locator" : "77:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "812", + "locator" : "77:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "813", + "locator" : "77:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "814", + "locator" : "77:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "827", + "locator" : "77:72-77:105", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "818", + "locator" : "77:81-77:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "819", + "locator" : "77:87-77:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "820", + "locator" : "77:91-77:92", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "821", + "locator" : "77:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "822", + "locator" : "77:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "823", + "locator" : "77:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "824", + "locator" : "77:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + }, { + "localId" : "828", + "locator" : "77:110-77:180", + "type" : "List", + "element" : [ { + "localId" : "838", + "locator" : "77:111-77:143", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "829", + "locator" : "77:120-77:123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "830", + "locator" : "77:126", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "831", + "locator" : "77:129-77:130", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "832", + "locator" : "77:133", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "833", + "locator" : "77:136", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "834", + "locator" : "77:139", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "835", + "locator" : "77:142", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "848", + "locator" : "77:146-77:179", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "839", + "locator" : "77:155-77:158", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "840", + "locator" : "77:161-77:162", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "841", + "locator" : "77:165-77:166", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "842", + "locator" : "77:169", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "843", + "locator" : "77:172", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "844", + "locator" : "77:175", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "845", + "locator" : "77:178", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "854", + "locator" : "79:1-79:133", + "name" : "Equal.EqualTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "854", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualTimeTrue\"",": " ] + }, { + "r" : "855", + "s" : [ { + "r" : "856", + "s" : [ { + "r" : "857", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "872", + "s" : [ { + "r" : "873", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "855", + "locator" : "79:31-79:133", + "type" : "Equal", + "signature" : [ { + "localId" : "888", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "889", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "890", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "891", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "856", + "locator" : "79:31-79:80", + "type" : "List", + "element" : [ { + "localId" : "857", + "locator" : "79:33-79:46", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "858", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "859", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "860", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "861", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "862", + "locator" : "79:49-79:62", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "863", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "864", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "865", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "866", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "867", + "locator" : "79:65-79:78", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "868", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "869", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "870", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "871", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "872", + "locator" : "79:84-79:133", + "type" : "List", + "element" : [ { + "localId" : "873", + "locator" : "79:86-79:99", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "874", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "875", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "876", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "877", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "878", + "locator" : "79:102-79:115", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "879", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "880", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "881", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "882", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "883", + "locator" : "79:118-79:131", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "884", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "885", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "886", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "887", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "893", + "locator" : "81:1-81:134", + "name" : "Equal.EqualTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "893", + "s" : [ { + "value" : [ "","define ","\"Equal.EqualTimeFalse\"",": " ] + }, { + "r" : "894", + "s" : [ { + "r" : "895", + "s" : [ { + "r" : "896", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "911", + "s" : [ { + "r" : "912", + "value" : [ "{ ","@T10:59:59.999",", ","@T20:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "894", + "locator" : "81:32-81:134", + "type" : "Equal", + "signature" : [ { + "localId" : "927", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "928", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "929", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "930", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "895", + "locator" : "81:32-81:81", + "type" : "List", + "element" : [ { + "localId" : "896", + "locator" : "81:34-81:47", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "897", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "898", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "899", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "900", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "901", + "locator" : "81:50-81:63", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "902", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "903", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "904", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "905", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "906", + "locator" : "81:66-81:79", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "907", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "908", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "909", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "910", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "911", + "locator" : "81:85-81:134", + "type" : "List", + "element" : [ { + "localId" : "912", + "locator" : "81:87-81:100", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "913", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "914", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "915", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "916", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "917", + "locator" : "81:103-81:116", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "918", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "919", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "920", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "921", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "922", + "locator" : "81:119-81:132", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "923", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "924", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "925", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "926", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "932", + "locator" : "83:1-83:57", + "name" : "Except.ExceptEmptyListAndEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "932", + "s" : [ { + "value" : [ "","define ","\"Except.ExceptEmptyListAndEmptyList\"",": " ] + }, { + "r" : "935", + "s" : [ { + "r" : "933", + "value" : [ "{}"," except ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "935", + "locator" : "83:46-83:57", + "type" : "Except", + "signature" : [ ], + "operand" : [ { + "localId" : "933", + "locator" : "83:46-83:47", + "type" : "List", + "element" : [ ] + }, { + "localId" : "934", + "locator" : "83:56-83:57", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "937", + "locator" : "85:1-85:63", + "name" : "Except.Except1234And23", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "937", + "s" : [ { + "value" : [ "","define ","\"Except.Except1234And23\"",": " ] + }, { + "r" : "946", + "s" : [ { + "r" : "938", + "s" : [ { + "r" : "939", + "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "943", + "s" : [ { + "r" : "944", + "value" : [ "{ ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "946", + "locator" : "85:34-85:63", + "type" : "Except", + "signature" : [ ], + "operand" : [ { + "localId" : "938", + "locator" : "85:34-85:47", + "type" : "List", + "element" : [ { + "localId" : "939", + "locator" : "85:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "940", + "locator" : "85:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "941", + "locator" : "85:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "942", + "locator" : "85:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, { + "localId" : "943", + "locator" : "85:56-85:63", + "type" : "List", + "element" : [ { + "localId" : "944", + "locator" : "85:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "945", + "locator" : "85:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "948", + "locator" : "87:1-87:63", + "name" : "Except.Except23And1234", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "948", + "s" : [ { + "value" : [ "","define ","\"Except.Except23And1234\"",": " ] + }, { + "r" : "957", + "s" : [ { + "r" : "949", + "s" : [ { + "r" : "950", + "value" : [ "{ ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "952", + "s" : [ { + "r" : "953", + "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "957", + "locator" : "87:34-87:63", + "type" : "Except", + "signature" : [ ], + "operand" : [ { + "localId" : "949", + "locator" : "87:34-87:41", + "type" : "List", + "element" : [ { + "localId" : "950", + "locator" : "87:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "951", + "locator" : "87:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "952", + "locator" : "87:50-87:63", + "type" : "List", + "element" : [ { + "localId" : "953", + "locator" : "87:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "954", + "locator" : "87:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "955", + "locator" : "87:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "956", + "locator" : "87:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "959", + "locator" : "89:1-89:161", + "name" : "Except.ExceptDateTimeList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "959", + "s" : [ { + "value" : [ "","define ","\"Except.ExceptDateTimeList\"",": " ] + }, { + "r" : "992", + "s" : [ { + "r" : "960", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "966", + "s" : [ { + "r" : "961", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "972", + "s" : [ { + "r" : "967", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "978", + "s" : [ { + "r" : "973", + "value" : [ "DateTime","(","2010",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "979", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "985", + "s" : [ { + "r" : "980", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "991", + "s" : [ { + "r" : "986", + "value" : [ "DateTime","(","2010",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "992", + "locator" : "89:37-89:161", + "type" : "Except", + "signature" : [ ], + "operand" : [ { + "localId" : "960", + "locator" : "89:37-89:106", + "type" : "List", + "element" : [ { + "localId" : "966", + "locator" : "89:39-89:59", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "961", + "locator" : "89:48-89:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "962", + "locator" : "89:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "963", + "locator" : "89:57-89:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "972", + "locator" : "89:62-89:83", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "967", + "locator" : "89:71-89:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "968", + "locator" : "89:77-89:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "969", + "locator" : "89:81-89:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "978", + "locator" : "89:86-89:105", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "973", + "locator" : "89:95-89:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "type" : "Literal" + }, + "month" : { + "localId" : "974", + "locator" : "89:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "975", + "locator" : "89:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + }, { + "localId" : "979", + "locator" : "89:115-89:161", + "type" : "List", + "element" : [ { + "localId" : "985", + "locator" : "89:116-89:137", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "980", + "locator" : "89:125-89:128", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "981", + "locator" : "89:131-89:132", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "982", + "locator" : "89:135-89:136", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "991", + "locator" : "89:140-89:159", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "986", + "locator" : "89:149-89:152", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2010", + "type" : "Literal" + }, + "month" : { + "localId" : "987", + "locator" : "89:155", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "988", + "locator" : "89:158", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "994", + "locator" : "91:1-91:124", + "name" : "Except.ExceptTimeList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "994", + "s" : [ { + "value" : [ "","define ","\"Except.ExceptTimeList\"",": " ] + }, { + "r" : "1022", + "s" : [ { + "r" : "995", + "s" : [ { + "r" : "996", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T12:59:59.999"," }" ] + } ] + }, { + "value" : [ " except " ] + }, { + "r" : "1011", + "s" : [ { + "r" : "1012", + "value" : [ "{ ","@T20:59:59.999",", ","@T12:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1022", + "locator" : "91:33-91:124", + "type" : "Except", + "signature" : [ ], + "operand" : [ { + "localId" : "995", + "locator" : "91:33-91:82", + "type" : "List", + "element" : [ { + "localId" : "996", + "locator" : "91:35-91:48", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "997", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "998", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "999", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1000", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1001", + "locator" : "91:51-91:64", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1002", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1003", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1004", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1005", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1006", + "locator" : "91:67-91:80", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1007", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "minute" : { + "localId" : "1008", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1009", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1010", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "1011", + "locator" : "91:91-91:124", + "type" : "List", + "element" : [ { + "localId" : "1012", + "locator" : "91:93-91:106", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1013", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1014", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1015", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1016", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1017", + "locator" : "91:109-91:122", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1018", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "minute" : { + "localId" : "1019", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1020", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1021", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1024", + "locator" : "93:1-93:53", + "name" : "Except.ExceptNullRight", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1024", + "s" : [ { + "value" : [ "","define ","\"Except.ExceptNullRight\"",": " ] + }, { + "r" : "1029", + "s" : [ { + "r" : "1025", + "s" : [ { + "r" : "1026", + "value" : [ "{ ","1",", ","4"," }" ] + } ] + }, { + "r" : "1028", + "value" : [ " except ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1029", + "locator" : "93:34-93:53", + "type" : "Except", + "signature" : [ { + "localId" : "1033", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1034", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1035", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1036", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1025", + "locator" : "93:34-93:41", + "type" : "List", + "element" : [ { + "localId" : "1026", + "locator" : "93:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1027", + "locator" : "93:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, { + "localId" : "1030", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1028", + "locator" : "93:50-93:53", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1031", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1032", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "1038", + "locator" : "95:1-95:39", + "name" : "Exists.ExistsEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1038", + "s" : [ { + "value" : [ "","define ","\"Exists.ExistsEmpty\"",": " ] + }, { + "r" : "1042", + "s" : [ { + "r" : "1039", + "value" : [ "Exists","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1042", + "locator" : "95:30-95:39", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1039", + "locator" : "95:37-95:38", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "1044", + "locator" : "97:1-97:48", + "name" : "Exists.ExistsListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1044", + "s" : [ { + "value" : [ "","define ","\"Exists.ExistsListNull\"",": " ] + }, { + "r" : "1049", + "s" : [ { + "value" : [ "Exists","(" ] + }, { + "r" : "1045", + "s" : [ { + "r" : "1046", + "value" : [ "{ ","null"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1049", + "locator" : "97:33-97:48", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1045", + "locator" : "97:40-97:47", + "type" : "List", + "element" : [ { + "localId" : "1046", + "locator" : "97:42-97:45", + "type" : "Null" + } ] + } + } + }, { + "localId" : "1051", + "locator" : "99:1-99:38", + "name" : "Exists.Exists1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1051", + "s" : [ { + "value" : [ "","define ","\"Exists.Exists1\"",": " ] + }, { + "r" : "1056", + "s" : [ { + "value" : [ "Exists","(" ] + }, { + "r" : "1052", + "s" : [ { + "r" : "1053", + "value" : [ "{ ","1"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1056", + "locator" : "99:26-99:38", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1052", + "locator" : "99:33-99:37", + "type" : "List", + "element" : [ { + "localId" : "1053", + "locator" : "99:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "1058", + "locator" : "101:1-101:42", + "name" : "Exists.Exists12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1058", + "s" : [ { + "value" : [ "","define ","\"Exists.Exists12\"",": " ] + }, { + "r" : "1064", + "s" : [ { + "value" : [ "Exists","(" ] + }, { + "r" : "1059", + "s" : [ { + "r" : "1060", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1064", + "locator" : "101:27-101:42", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1059", + "locator" : "101:34-101:41", + "type" : "List", + "element" : [ { + "localId" : "1060", + "locator" : "101:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1061", + "locator" : "101:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "1066", + "locator" : "103:1-103:89", + "name" : "Exists.ExistsDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1066", + "s" : [ { + "value" : [ "","define ","\"Exists.ExistsDateTime\"",": " ] + }, { + "r" : "1082", + "s" : [ { + "value" : [ "Exists","(" ] + }, { + "r" : "1067", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1073", + "s" : [ { + "r" : "1068", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1079", + "s" : [ { + "r" : "1074", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1082", + "locator" : "103:33-103:89", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1067", + "locator" : "103:40-103:88", + "type" : "List", + "element" : [ { + "localId" : "1073", + "locator" : "103:42-103:62", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1068", + "locator" : "103:51-103:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1069", + "locator" : "103:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1070", + "locator" : "103:60-103:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1079", + "locator" : "103:65-103:86", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1074", + "locator" : "103:74-103:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1075", + "locator" : "103:80-103:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1076", + "locator" : "103:84-103:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "1084", + "locator" : "105:1-105:70", + "name" : "Exists.ExistsTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1084", + "s" : [ { + "value" : [ "","define ","\"Exists.ExistsTime\"",": " ] + }, { + "r" : "1098", + "s" : [ { + "value" : [ "Exists","(" ] + }, { + "r" : "1085", + "s" : [ { + "r" : "1086", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1098", + "locator" : "105:29-105:70", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1085", + "locator" : "105:36-105:69", + "type" : "List", + "element" : [ { + "localId" : "1086", + "locator" : "105:38-105:51", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1087", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1088", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1089", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1090", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1091", + "locator" : "105:54-105:67", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1092", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1093", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1094", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1095", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "1100", + "locator" : "107:1-107:40", + "name" : "Exists.ExistsNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1100", + "s" : [ { + "value" : [ "","define ","\"Exists.ExistsNull\"",": " ] + }, { + "r" : "1107", + "s" : [ { + "r" : "1101", + "value" : [ "Exists","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1107", + "locator" : "107:29-107:40", + "type" : "Exists", + "signature" : [ ], + "operand" : { + "localId" : "1108", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1101", + "locator" : "107:36-107:39", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1109", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1110", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + } + } + }, { + "localId" : "1112", + "locator" : "109:1-109:47", + "name" : "Flatten.FlattenEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1112", + "s" : [ { + "value" : [ "","define ","\"Flatten.FlattenEmpty\"",": " ] + }, { + "r" : "1118", + "s" : [ { + "value" : [ "Flatten","(" ] + }, { + "r" : "1113", + "s" : [ { + "r" : "1114", + "value" : [ "{","{}",",","{}","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1118", + "locator" : "109:32-109:47", + "type" : "Flatten", + "signature" : [ ], + "operand" : { + "localId" : "1113", + "locator" : "109:40-109:46", + "type" : "List", + "element" : [ { + "localId" : "1114", + "locator" : "109:41-109:42", + "type" : "List", + "element" : [ ] + }, { + "localId" : "1115", + "locator" : "109:44-109:45", + "type" : "List", + "element" : [ ] + } ] + } + } + }, { + "localId" : "1120", + "locator" : "111:1-111:66", + "name" : "Flatten.FlattenListNullAndNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1120", + "s" : [ { + "value" : [ "","define ","\"Flatten.FlattenListNullAndNull\"",": " ] + }, { + "r" : "1128", + "s" : [ { + "value" : [ "Flatten","(" ] + }, { + "r" : "1121", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1122", + "s" : [ { + "r" : "1123", + "value" : [ "{","null","}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1124", + "s" : [ { + "r" : "1125", + "value" : [ "{","null","}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1128", + "locator" : "111:42-111:66", + "type" : "Flatten", + "signature" : [ ], + "operand" : { + "localId" : "1121", + "locator" : "111:50-111:65", + "type" : "List", + "element" : [ { + "localId" : "1122", + "locator" : "111:51-111:56", + "type" : "List", + "element" : [ { + "localId" : "1123", + "locator" : "111:52-111:55", + "type" : "Null" + } ] + }, { + "localId" : "1124", + "locator" : "111:59-111:64", + "type" : "List", + "element" : [ { + "localId" : "1125", + "locator" : "111:60-111:63", + "type" : "Null" + } ] + } ] + } + } + }, { + "localId" : "1130", + "locator" : "113:1-113:60", + "name" : "Flatten.FlattenList12And34", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1130", + "s" : [ { + "value" : [ "","define ","\"Flatten.FlattenList12And34\"",": " ] + }, { + "r" : "1140", + "s" : [ { + "value" : [ "Flatten","(" ] + }, { + "r" : "1131", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1132", + "s" : [ { + "r" : "1133", + "value" : [ "{","1",",","2","}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1135", + "s" : [ { + "r" : "1136", + "value" : [ "{","3",",","4","}" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1140", + "locator" : "113:38-113:60", + "type" : "Flatten", + "signature" : [ ], + "operand" : { + "localId" : "1131", + "locator" : "113:46-113:59", + "type" : "List", + "element" : [ { + "localId" : "1132", + "locator" : "113:47-113:51", + "type" : "List", + "element" : [ { + "localId" : "1133", + "locator" : "113:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1134", + "locator" : "113:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "1135", + "locator" : "113:54-113:58", + "type" : "List", + "element" : [ { + "localId" : "1136", + "locator" : "113:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "1137", + "locator" : "113:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } ] + } + } + }, { + "localId" : "1142", + "locator" : "115:1-115:96", + "name" : "Flatten.FlattenDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1142", + "s" : [ { + "value" : [ "","define ","\"Flatten.FlattenDateTime\"",": " ] + }, { + "r" : "1160", + "s" : [ { + "value" : [ "Flatten","(" ] + }, { + "r" : "1143", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1144", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1150", + "s" : [ { + "r" : "1145", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1151", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1157", + "s" : [ { + "r" : "1152", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1160", + "locator" : "115:35-115:96", + "type" : "Flatten", + "signature" : [ ], + "operand" : { + "localId" : "1143", + "locator" : "115:43-115:95", + "type" : "List", + "element" : [ { + "localId" : "1144", + "locator" : "115:45-115:67", + "type" : "List", + "element" : [ { + "localId" : "1150", + "locator" : "115:46-115:66", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1145", + "locator" : "115:55-115:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1146", + "locator" : "115:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1147", + "locator" : "115:64-115:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "1151", + "locator" : "115:70-115:93", + "type" : "List", + "element" : [ { + "localId" : "1157", + "locator" : "115:71-115:92", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1152", + "locator" : "115:80-115:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1153", + "locator" : "115:86-115:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1154", + "locator" : "115:90-115:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "1162", + "locator" : "117:1-117:77", + "name" : "Flatten.FlattenTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1162", + "s" : [ { + "value" : [ "","define ","\"Flatten.FlattenTime\"",": " ] + }, { + "r" : "1178", + "s" : [ { + "value" : [ "Flatten","(" ] + }, { + "r" : "1163", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1164", + "s" : [ { + "r" : "1165", + "value" : [ "{","@T15:59:59.999","}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1170", + "s" : [ { + "r" : "1171", + "value" : [ "{","@T20:59:59.999","}" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1178", + "locator" : "117:31-117:77", + "type" : "Flatten", + "signature" : [ ], + "operand" : { + "localId" : "1163", + "locator" : "117:39-117:76", + "type" : "List", + "element" : [ { + "localId" : "1164", + "locator" : "117:41-117:56", + "type" : "List", + "element" : [ { + "localId" : "1165", + "locator" : "117:42-117:55", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1166", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1167", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1168", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1169", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "1170", + "locator" : "117:59-117:74", + "type" : "List", + "element" : [ { + "localId" : "1171", + "locator" : "117:60-117:73", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1172", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1173", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1174", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1175", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "1180", + "locator" : "119:1-119:36", + "name" : "First.FirstEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1180", + "s" : [ { + "value" : [ "","define ","\"First.FirstEmpty\"",": " ] + }, { + "r" : "1184", + "s" : [ { + "r" : "1181", + "value" : [ "First","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1184", + "locator" : "119:28-119:36", + "type" : "First", + "signature" : [ ], + "source" : { + "localId" : "1181", + "locator" : "119:34-119:35", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "1186", + "locator" : "121:1-121:45", + "name" : "First.FirstNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1186", + "s" : [ { + "value" : [ "","define ","\"First.FirstNull1\"",": " ] + }, { + "r" : "1193", + "s" : [ { + "value" : [ "First","(" ] + }, { + "r" : "1187", + "s" : [ { + "r" : "1188", + "value" : [ "{ ","null",", ","1"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1193", + "locator" : "121:28-121:45", + "type" : "First", + "signature" : [ ], + "source" : { + "localId" : "1187", + "locator" : "121:34-121:44", + "type" : "List", + "element" : [ { + "localId" : "1190", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1188", + "locator" : "121:36-121:39", + "type" : "Null" + } + }, { + "localId" : "1189", + "locator" : "121:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "1195", + "locator" : "123:1-123:45", + "name" : "First.First1Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1195", + "s" : [ { + "value" : [ "","define ","\"First.First1Null\"",": " ] + }, { + "r" : "1202", + "s" : [ { + "value" : [ "First","(" ] + }, { + "r" : "1196", + "s" : [ { + "r" : "1197", + "value" : [ "{ ","1",", ","null"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1202", + "locator" : "123:28-123:45", + "type" : "First", + "signature" : [ ], + "source" : { + "localId" : "1196", + "locator" : "123:34-123:44", + "type" : "List", + "element" : [ { + "localId" : "1197", + "locator" : "123:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1199", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1198", + "locator" : "123:39-123:42", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "1204", + "locator" : "125:1-125:39", + "name" : "First.First12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1204", + "s" : [ { + "value" : [ "","define ","\"First.First12\"",": " ] + }, { + "r" : "1210", + "s" : [ { + "value" : [ "First","(" ] + }, { + "r" : "1205", + "s" : [ { + "r" : "1206", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1210", + "locator" : "125:25-125:39", + "type" : "First", + "signature" : [ ], + "source" : { + "localId" : "1205", + "locator" : "125:31-125:38", + "type" : "List", + "element" : [ { + "localId" : "1206", + "locator" : "125:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1207", + "locator" : "125:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "1212", + "locator" : "127:1-127:86", + "name" : "First.FirstDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1212", + "s" : [ { + "value" : [ "","define ","\"First.FirstDateTime\"",": " ] + }, { + "r" : "1228", + "s" : [ { + "value" : [ "First","(" ] + }, { + "r" : "1213", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1219", + "s" : [ { + "r" : "1214", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1225", + "s" : [ { + "r" : "1220", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1228", + "locator" : "127:31-127:86", + "type" : "First", + "signature" : [ ], + "source" : { + "localId" : "1213", + "locator" : "127:37-127:85", + "type" : "List", + "element" : [ { + "localId" : "1219", + "locator" : "127:39-127:59", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1214", + "locator" : "127:48-127:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1215", + "locator" : "127:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1216", + "locator" : "127:57-127:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1225", + "locator" : "127:62-127:83", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1220", + "locator" : "127:71-127:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1221", + "locator" : "127:77-127:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1222", + "locator" : "127:81-127:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "1230", + "locator" : "129:1-129:67", + "name" : "First.FirstTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1230", + "s" : [ { + "value" : [ "","define ","\"First.FirstTime\"",": " ] + }, { + "r" : "1244", + "s" : [ { + "value" : [ "First","(" ] + }, { + "r" : "1231", + "s" : [ { + "r" : "1232", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1244", + "locator" : "129:27-129:67", + "type" : "First", + "signature" : [ ], + "source" : { + "localId" : "1231", + "locator" : "129:33-129:66", + "type" : "List", + "element" : [ { + "localId" : "1232", + "locator" : "129:35-129:48", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1233", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1234", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1235", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1236", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1237", + "locator" : "129:51-129:64", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1238", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1239", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1240", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1241", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "1246", + "locator" : "131:1-131:35", + "name" : "In.InNullEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1246", + "s" : [ { + "value" : [ "","define ","\"In.InNullEmpty\"",": " ] + }, { + "r" : "1249", + "s" : [ { + "r" : "1247", + "value" : [ "null"," in ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1249", + "locator" : "131:26-131:35", + "type" : "In", + "signature" : [ ], + "operand" : [ { + "localId" : "1247", + "locator" : "131:26-131:29", + "type" : "Null" + }, { + "localId" : "1248", + "locator" : "131:34-131:35", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "1251", + "locator" : "133:1-133:47", + "name" : "In.InNullAnd1Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1251", + "s" : [ { + "value" : [ "","define ","\"In.InNullAnd1Null\"",": " ] + }, { + "r" : "1257", + "s" : [ { + "r" : "1252", + "value" : [ "null"," in " ] + }, { + "r" : "1253", + "s" : [ { + "r" : "1254", + "value" : [ "{ ","1",", ","null"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1257", + "locator" : "133:29-133:47", + "type" : "In", + "signature" : [ ], + "operand" : [ { + "localId" : "1252", + "locator" : "133:29-133:32", + "type" : "Null" + }, { + "localId" : "1253", + "locator" : "133:37-133:47", + "type" : "List", + "element" : [ { + "localId" : "1254", + "locator" : "133:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1256", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1255", + "locator" : "133:42-133:45", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "1259", + "locator" : "135:1-135:30", + "name" : "In.In1Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1259", + "s" : [ { + "value" : [ "","define ","\"In.In1Null\"",": " ] + }, { + "r" : "1262", + "s" : [ { + "r" : "1260", + "value" : [ "1"," in ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1262", + "locator" : "135:22-135:30", + "type" : "In", + "signature" : [ { + "localId" : "1266", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1267", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1268", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1260", + "locator" : "135:22", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1263", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1261", + "locator" : "135:27-135:30", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1264", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1265", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "1270", + "locator" : "137:1-137:35", + "name" : "In.In1And12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1270", + "s" : [ { + "value" : [ "","define ","\"In.In1And12\"",": " ] + }, { + "r" : "1275", + "s" : [ { + "r" : "1271", + "value" : [ "1"," in " ] + }, { + "r" : "1272", + "s" : [ { + "r" : "1273", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1275", + "locator" : "137:23-137:35", + "type" : "In", + "signature" : [ { + "localId" : "1276", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1277", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1278", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1271", + "locator" : "137:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1272", + "locator" : "137:28-137:35", + "type" : "List", + "element" : [ { + "localId" : "1273", + "locator" : "137:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1274", + "locator" : "137:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1280", + "locator" : "139:1-139:35", + "name" : "In.In3And12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1280", + "s" : [ { + "value" : [ "","define ","\"In.In3And12\"",": " ] + }, { + "r" : "1285", + "s" : [ { + "r" : "1281", + "value" : [ "3"," in " ] + }, { + "r" : "1282", + "s" : [ { + "r" : "1283", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1285", + "locator" : "139:23-139:35", + "type" : "In", + "signature" : [ { + "localId" : "1286", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1287", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1288", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1281", + "locator" : "139:23", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "1282", + "locator" : "139:28-139:35", + "type" : "List", + "element" : [ { + "localId" : "1283", + "locator" : "139:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1284", + "locator" : "139:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1290", + "locator" : "141:1-141:125", + "name" : "In.InDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1290", + "s" : [ { + "value" : [ "","define ","\"In.InDateTimeTrue\"",": " ] + }, { + "r" : "1316", + "s" : [ { + "r" : "1296", + "s" : [ { + "r" : "1291", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1297", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1303", + "s" : [ { + "r" : "1298", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1309", + "s" : [ { + "r" : "1304", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1315", + "s" : [ { + "r" : "1310", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1316", + "locator" : "141:29-141:125", + "type" : "In", + "signature" : [ { + "localId" : "1317", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1318", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1319", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1296", + "locator" : "141:29-141:49", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1291", + "locator" : "141:38-141:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1292", + "locator" : "141:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1293", + "locator" : "141:47-141:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1297", + "locator" : "141:54-141:125", + "type" : "List", + "element" : [ { + "localId" : "1303", + "locator" : "141:56-141:76", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1298", + "locator" : "141:65-141:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1299", + "locator" : "141:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1300", + "locator" : "141:74-141:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1309", + "locator" : "141:79-141:99", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1304", + "locator" : "141:88-141:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1305", + "locator" : "141:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1306", + "locator" : "141:97-141:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1315", + "locator" : "141:102-141:123", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1310", + "locator" : "141:111-141:114", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1311", + "locator" : "141:117-141:118", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1312", + "locator" : "141:121-141:122", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1321", + "locator" : "143:1-143:126", + "name" : "In.InDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1321", + "s" : [ { + "value" : [ "","define ","\"In.InDateTimeFalse\"",": " ] + }, { + "r" : "1347", + "s" : [ { + "r" : "1327", + "s" : [ { + "r" : "1322", + "value" : [ "DateTime","(","2012",", ","6",", ","10",")" ] + } ] + }, { + "value" : [ " in " ] + }, { + "r" : "1328", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1334", + "s" : [ { + "r" : "1329", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1340", + "s" : [ { + "r" : "1335", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1346", + "s" : [ { + "r" : "1341", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1347", + "locator" : "143:30-143:126", + "type" : "In", + "signature" : [ { + "localId" : "1348", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1349", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1350", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1327", + "locator" : "143:30-143:50", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1322", + "locator" : "143:39-143:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1323", + "locator" : "143:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + }, + "day" : { + "localId" : "1324", + "locator" : "143:48-143:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1328", + "locator" : "143:55-143:126", + "type" : "List", + "element" : [ { + "localId" : "1334", + "locator" : "143:57-143:77", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1329", + "locator" : "143:66-143:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1330", + "locator" : "143:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1331", + "locator" : "143:75-143:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1340", + "locator" : "143:80-143:100", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1335", + "locator" : "143:89-143:92", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1336", + "locator" : "143:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1337", + "locator" : "143:98-143:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1346", + "locator" : "143:103-143:124", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1341", + "locator" : "143:112-143:115", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1342", + "locator" : "143:118-143:119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1343", + "locator" : "143:122-143:123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1352", + "locator" : "145:1-145:92", + "name" : "In.InTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1352", + "s" : [ { + "value" : [ "","define ","\"In.InTimeTrue\"",": " ] + }, { + "r" : "1374", + "s" : [ { + "r" : "1353", + "value" : [ "@T15:59:59.999"," in " ] + }, { + "r" : "1358", + "s" : [ { + "r" : "1359", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1374", + "locator" : "145:25-145:92", + "type" : "In", + "signature" : [ { + "localId" : "1375", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1376", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1377", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1353", + "locator" : "145:25-145:38", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1357", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1358", + "locator" : "145:43-145:92", + "type" : "List", + "element" : [ { + "localId" : "1359", + "locator" : "145:45-145:58", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1360", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1361", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1362", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1363", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1364", + "locator" : "145:61-145:74", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1365", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1366", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1367", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1368", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1369", + "locator" : "145:77-145:90", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1370", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1371", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1372", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1373", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1379", + "locator" : "147:1-147:93", + "name" : "In.InTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1379", + "s" : [ { + "value" : [ "","define ","\"In.InTimeFalse\"",": " ] + }, { + "r" : "1401", + "s" : [ { + "r" : "1380", + "value" : [ "@T16:59:59.999"," in " ] + }, { + "r" : "1385", + "s" : [ { + "r" : "1386", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1401", + "locator" : "147:26-147:93", + "type" : "In", + "signature" : [ { + "localId" : "1402", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1403", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1404", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1380", + "locator" : "147:26-147:39", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1381", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "type" : "Literal" + }, + "minute" : { + "localId" : "1382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1383", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1384", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1385", + "locator" : "147:44-147:93", + "type" : "List", + "element" : [ { + "localId" : "1386", + "locator" : "147:46-147:59", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1387", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1388", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1389", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1390", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1391", + "locator" : "147:62-147:75", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1392", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1393", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1394", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1395", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1396", + "locator" : "147:78-147:91", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1397", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1398", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1399", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1400", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1406", + "locator" : "149:1-149:55", + "name" : "Includes.IncludesEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1406", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesEmptyAndEmpty\"",": " ] + }, { + "r" : "1409", + "s" : [ { + "r" : "1407", + "value" : [ "{}"," ","includes"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1409", + "locator" : "149:42-149:55", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1407", + "locator" : "149:42-149:43", + "type" : "List", + "element" : [ ] + }, { + "localId" : "1408", + "locator" : "149:54-149:55", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "1412", + "locator" : "151:1-151:69", + "name" : "Includes.IncludesListNullAndListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1412", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesListNullAndListNull\"",": " ] + }, { + "r" : "1417", + "s" : [ { + "r" : "1413", + "s" : [ { + "r" : "1414", + "value" : [ "{","null","}" ] + } ] + }, { + "r" : "1417", + "value" : [ " ","includes"," " ] + }, { + "r" : "1415", + "s" : [ { + "r" : "1416", + "value" : [ "{","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1417", + "locator" : "151:48-151:69", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1413", + "locator" : "151:48-151:53", + "type" : "List", + "element" : [ { + "localId" : "1414", + "locator" : "151:49-151:52", + "type" : "Null" + } ] + }, { + "localId" : "1415", + "locator" : "151:64-151:69", + "type" : "List", + "element" : [ { + "localId" : "1416", + "locator" : "151:65-151:68", + "type" : "Null" + } ] + } ] + } + }, { + "localId" : "1420", + "locator" : "153:1-153:60", + "name" : "Includes.Includes123AndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1420", + "s" : [ { + "value" : [ "","define ","\"Includes.Includes123AndEmpty\"",": " ] + }, { + "r" : "1426", + "s" : [ { + "r" : "1421", + "s" : [ { + "r" : "1422", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + }, { + "r" : "1426", + "value" : [ " ","includes"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1426", + "locator" : "153:40-153:60", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1421", + "locator" : "153:40-153:48", + "type" : "List", + "element" : [ { + "localId" : "1422", + "locator" : "153:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1423", + "locator" : "153:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1424", + "locator" : "153:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "1425", + "locator" : "153:59-153:60", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "1432", + "locator" : "155:1-155:57", + "name" : "Includes.Includes123And2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1432", + "s" : [ { + "value" : [ "","define ","\"Includes.Includes123And2\"",": " ] + }, { + "r" : "1439", + "s" : [ { + "r" : "1433", + "s" : [ { + "r" : "1434", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + }, { + "r" : "1439", + "value" : [ " ","includes"," " ] + }, { + "r" : "1437", + "s" : [ { + "r" : "1438", + "value" : [ "{","2","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1439", + "locator" : "155:36-155:57", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1433", + "locator" : "155:36-155:44", + "type" : "List", + "element" : [ { + "localId" : "1434", + "locator" : "155:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1435", + "locator" : "155:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1436", + "locator" : "155:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "1437", + "locator" : "155:55-155:57", + "type" : "List", + "element" : [ { + "localId" : "1438", + "locator" : "155:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1445", + "locator" : "157:1-157:57", + "name" : "Includes.Includes123And4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1445", + "s" : [ { + "value" : [ "","define ","\"Includes.Includes123And4\"",": " ] + }, { + "r" : "1452", + "s" : [ { + "r" : "1446", + "s" : [ { + "r" : "1447", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + }, { + "r" : "1452", + "value" : [ " ","includes"," " ] + }, { + "r" : "1450", + "s" : [ { + "r" : "1451", + "value" : [ "{","4","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1452", + "locator" : "157:36-157:57", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1446", + "locator" : "157:36-157:44", + "type" : "List", + "element" : [ { + "localId" : "1447", + "locator" : "157:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1448", + "locator" : "157:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1449", + "locator" : "157:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "1450", + "locator" : "157:55-157:57", + "type" : "List", + "element" : [ { + "localId" : "1451", + "locator" : "157:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1458", + "locator" : "159:1-159:143", + "name" : "Includes.IncludesDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1458", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesDateTimeTrue\"",": " ] + }, { + "r" : "1485", + "s" : [ { + "r" : "1459", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1465", + "s" : [ { + "r" : "1460", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1471", + "s" : [ { + "r" : "1466", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1477", + "s" : [ { + "r" : "1472", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "1485", + "value" : [ " ","includes"," " ] + }, { + "r" : "1478", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1484", + "s" : [ { + "r" : "1479", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1485", + "locator" : "159:41-159:143", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1459", + "locator" : "159:41-159:110", + "type" : "List", + "element" : [ { + "localId" : "1465", + "locator" : "159:42-159:62", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1460", + "locator" : "159:51-159:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1461", + "locator" : "159:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1462", + "locator" : "159:60-159:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1471", + "locator" : "159:65-159:85", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1466", + "locator" : "159:74-159:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1467", + "locator" : "159:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1468", + "locator" : "159:83-159:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1477", + "locator" : "159:88-159:109", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1472", + "locator" : "159:97-159:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1473", + "locator" : "159:103-159:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1474", + "locator" : "159:107-159:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "1478", + "locator" : "159:121-159:143", + "type" : "List", + "element" : [ { + "localId" : "1484", + "locator" : "159:122-159:142", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1479", + "locator" : "159:131-159:134", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1480", + "locator" : "159:137", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1481", + "locator" : "159:140-159:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1492", + "locator" : "161:1-161:144", + "name" : "Includes.IncludesDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1492", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesDateTimeFalse\"",": " ] + }, { + "r" : "1519", + "s" : [ { + "r" : "1493", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1499", + "s" : [ { + "r" : "1494", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1505", + "s" : [ { + "r" : "1500", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1511", + "s" : [ { + "r" : "1506", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "1519", + "value" : [ " ","includes"," " ] + }, { + "r" : "1512", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1518", + "s" : [ { + "r" : "1513", + "value" : [ "DateTime","(","2012",", ","5",", ","11",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1519", + "locator" : "161:42-161:144", + "type" : "Includes", + "signature" : [ ], + "operand" : [ { + "localId" : "1493", + "locator" : "161:42-161:111", + "type" : "List", + "element" : [ { + "localId" : "1499", + "locator" : "161:43-161:63", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1494", + "locator" : "161:52-161:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1495", + "locator" : "161:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1496", + "locator" : "161:61-161:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1505", + "locator" : "161:66-161:86", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1500", + "locator" : "161:75-161:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1501", + "locator" : "161:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1502", + "locator" : "161:84-161:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1511", + "locator" : "161:89-161:110", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1506", + "locator" : "161:98-161:101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1507", + "locator" : "161:104-161:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1508", + "locator" : "161:108-161:109", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "1512", + "locator" : "161:122-161:144", + "type" : "List", + "element" : [ { + "localId" : "1518", + "locator" : "161:123-161:143", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1513", + "locator" : "161:132-161:135", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1514", + "locator" : "161:138", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1515", + "locator" : "161:141-161:142", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1526", + "locator" : "163:1-163:110", + "name" : "Includes.IncludesTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1526", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesTimeTrue\"",": " ] + }, { + "r" : "1554", + "s" : [ { + "r" : "1527", + "s" : [ { + "r" : "1528", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "1554", + "value" : [ " ","includes"," ","@T15:59:59.999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1554", + "locator" : "163:37-163:110", + "type" : "Contains", + "signature" : [ { + "localId" : "1555", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1556", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1557", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1527", + "locator" : "163:37-163:86", + "type" : "List", + "element" : [ { + "localId" : "1528", + "locator" : "163:39-163:52", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1529", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1530", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1531", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1532", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1533", + "locator" : "163:55-163:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1534", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1535", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1536", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1537", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1538", + "locator" : "163:71-163:84", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1539", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1540", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1541", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1542", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "1543", + "locator" : "163:97-163:110", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1544", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1545", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1546", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1547", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1559", + "locator" : "165:1-165:111", + "name" : "Includes.IncludesTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1559", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesTimeFalse\"",": " ] + }, { + "r" : "1587", + "s" : [ { + "r" : "1560", + "s" : [ { + "r" : "1561", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "1587", + "value" : [ " ","includes"," ","@T16:59:59.999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1587", + "locator" : "165:38-165:111", + "type" : "Contains", + "signature" : [ { + "localId" : "1588", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1589", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1590", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1560", + "locator" : "165:38-165:87", + "type" : "List", + "element" : [ { + "localId" : "1561", + "locator" : "165:40-165:53", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1562", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1563", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1564", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1565", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1566", + "locator" : "165:56-165:69", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1567", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1568", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1569", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1570", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1571", + "locator" : "165:72-165:85", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1572", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1573", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1574", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1575", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "1576", + "locator" : "165:98-165:111", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1577", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "type" : "Literal" + }, + "minute" : { + "localId" : "1578", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1579", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1580", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1592", + "locator" : "167:1-167:53", + "name" : "Includes.IncludesNullLeft", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1592", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesNullLeft\"",": " ] + }, { + "r" : "1596", + "s" : [ { + "r" : "1593", + "value" : [ "null"," ","includes"," " ] + }, { + "r" : "1594", + "s" : [ { + "r" : "1595", + "value" : [ "{","2","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1596", + "locator" : "167:37-167:53", + "type" : "Includes", + "signature" : [ { + "localId" : "1600", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1601", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1602", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1603", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1597", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1593", + "locator" : "167:37-167:40", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1598", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1599", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "1594", + "locator" : "167:51-167:53", + "type" : "List", + "element" : [ { + "localId" : "1595", + "locator" : "167:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1612", + "locator" : "169:1-169:66", + "name" : "Includes.IncludesNullRight", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1612", + "s" : [ { + "value" : [ "","define ","\"Includes.IncludesNullRight\"",": " ] + }, { + "r" : "1618", + "s" : [ { + "r" : "1613", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1614", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1615", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1616", + "s" : [ { + "value" : [ "'m'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "1618", + "value" : [ " ","includes"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1618", + "locator" : "169:38-169:66", + "type" : "Includes", + "signature" : [ { + "localId" : "1622", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1623", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1624", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1625", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1613", + "locator" : "169:38-169:52", + "type" : "List", + "element" : [ { + "localId" : "1614", + "locator" : "169:39-169:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "1615", + "locator" : "169:44-169:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1616", + "locator" : "169:49-169:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "m", + "type" : "Literal" + } ] + }, { + "localId" : "1619", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1617", + "locator" : "169:63-169:66", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1620", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1621", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "1632", + "locator" : "171:1-171:62", + "name" : "IncludedIn.IncludedInEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1632", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInEmptyAndEmpty\"",": " ] + }, { + "r" : "1635", + "s" : [ { + "r" : "1633", + "value" : [ "{}"," ","included in"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1635", + "locator" : "171:46-171:62", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1633", + "locator" : "171:46-171:47", + "type" : "List", + "element" : [ ] + }, { + "localId" : "1634", + "locator" : "171:61-171:62", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "1650", + "locator" : "173:1-173:80", + "name" : "IncludedIn.IncludedInListNullAndListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1650", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInListNullAndListNull\"",": " ] + }, { + "r" : "1655", + "s" : [ { + "r" : "1651", + "s" : [ { + "r" : "1652", + "value" : [ "{ ","null"," }" ] + } ] + }, { + "r" : "1655", + "value" : [ " ","included in"," " ] + }, { + "r" : "1653", + "s" : [ { + "r" : "1654", + "value" : [ "{ ","null"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1655", + "locator" : "173:52-173:80", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1651", + "locator" : "173:52-173:59", + "type" : "List", + "element" : [ { + "localId" : "1652", + "locator" : "173:54-173:57", + "type" : "Null" + } ] + }, { + "localId" : "1653", + "locator" : "173:73-173:80", + "type" : "List", + "element" : [ { + "localId" : "1654", + "locator" : "173:75-173:78", + "type" : "Null" + } ] + } ] + } + }, { + "localId" : "1670", + "locator" : "175:1-175:69", + "name" : "IncludedIn.IncludedInEmptyAnd123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1670", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInEmptyAnd123\"",": " ] + }, { + "r" : "1676", + "s" : [ { + "r" : "1671", + "value" : [ "{}"," ","included in"," " ] + }, { + "r" : "1672", + "s" : [ { + "r" : "1673", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1676", + "locator" : "175:44-175:69", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1671", + "locator" : "175:44-175:45", + "type" : "List", + "element" : [ ] + }, { + "localId" : "1672", + "locator" : "175:59-175:69", + "type" : "List", + "element" : [ { + "localId" : "1673", + "locator" : "175:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1674", + "locator" : "175:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1675", + "locator" : "175:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1686", + "locator" : "177:1-177:68", + "name" : "IncludedIn.IncludedIn2And123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1686", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedIn2And123\"",": " ] + }, { + "r" : "1693", + "s" : [ { + "r" : "1687", + "s" : [ { + "r" : "1688", + "value" : [ "{ ","2"," }" ] + } ] + }, { + "r" : "1693", + "value" : [ " ","included in"," " ] + }, { + "r" : "1689", + "s" : [ { + "r" : "1690", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1693", + "locator" : "177:40-177:68", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1687", + "locator" : "177:40-177:44", + "type" : "List", + "element" : [ { + "localId" : "1688", + "locator" : "177:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "1689", + "locator" : "177:58-177:68", + "type" : "List", + "element" : [ { + "localId" : "1690", + "locator" : "177:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1691", + "locator" : "177:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1692", + "locator" : "177:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1702", + "locator" : "179:1-179:68", + "name" : "IncludedIn.IncludedIn4And123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1702", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedIn4And123\"",": " ] + }, { + "r" : "1709", + "s" : [ { + "r" : "1703", + "s" : [ { + "r" : "1704", + "value" : [ "{ ","4"," }" ] + } ] + }, { + "r" : "1709", + "value" : [ " ","included in"," " ] + }, { + "r" : "1705", + "s" : [ { + "r" : "1706", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1709", + "locator" : "179:40-179:68", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1703", + "locator" : "179:40-179:44", + "type" : "List", + "element" : [ { + "localId" : "1704", + "locator" : "179:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, { + "localId" : "1705", + "locator" : "179:58-179:68", + "type" : "List", + "element" : [ { + "localId" : "1706", + "locator" : "179:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1707", + "locator" : "179:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "1708", + "locator" : "179:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1718", + "locator" : "181:1-181:151", + "name" : "IncludedIn.IncludedInDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1718", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInDateTimeTrue\"",": " ] + }, { + "r" : "1745", + "s" : [ { + "r" : "1719", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1725", + "s" : [ { + "r" : "1720", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "1745", + "value" : [ " ","included in"," " ] + }, { + "r" : "1726", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1732", + "s" : [ { + "r" : "1727", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1738", + "s" : [ { + "r" : "1733", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1744", + "s" : [ { + "r" : "1739", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1745", + "locator" : "181:45-181:151", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1719", + "locator" : "181:45-181:68", + "type" : "List", + "element" : [ { + "localId" : "1725", + "locator" : "181:47-181:67", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1720", + "locator" : "181:56-181:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1721", + "locator" : "181:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1722", + "locator" : "181:65-181:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "1726", + "locator" : "181:82-181:151", + "type" : "List", + "element" : [ { + "localId" : "1732", + "locator" : "181:83-181:103", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1727", + "locator" : "181:92-181:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1728", + "locator" : "181:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1729", + "locator" : "181:101-181:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1738", + "locator" : "181:106-181:126", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1733", + "locator" : "181:115-181:118", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1734", + "locator" : "181:121", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1735", + "locator" : "181:124-181:125", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1744", + "locator" : "181:129-181:150", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1739", + "locator" : "181:138-181:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1740", + "locator" : "181:144-181:145", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1741", + "locator" : "181:148-181:149", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1754", + "locator" : "183:1-183:151", + "name" : "IncludedIn.IncludedInDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1754", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInDateTimeFalse\"",": " ] + }, { + "r" : "1781", + "s" : [ { + "r" : "1755", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1761", + "s" : [ { + "r" : "1756", + "value" : [ "DateTime","(","2012",", ","5",", ","11",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "1781", + "value" : [ " ","included in"," " ] + }, { + "r" : "1762", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1768", + "s" : [ { + "r" : "1763", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1774", + "s" : [ { + "r" : "1769", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1780", + "s" : [ { + "r" : "1775", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1781", + "locator" : "183:46-183:151", + "type" : "IncludedIn", + "signature" : [ ], + "operand" : [ { + "localId" : "1755", + "locator" : "183:46-183:68", + "type" : "List", + "element" : [ { + "localId" : "1761", + "locator" : "183:47-183:67", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1756", + "locator" : "183:56-183:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1757", + "locator" : "183:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1758", + "locator" : "183:65-183:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + } ] + }, { + "localId" : "1762", + "locator" : "183:82-183:151", + "type" : "List", + "element" : [ { + "localId" : "1768", + "locator" : "183:83-183:103", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1763", + "locator" : "183:92-183:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1764", + "locator" : "183:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1765", + "locator" : "183:101-183:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1774", + "locator" : "183:106-183:126", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1769", + "locator" : "183:115-183:118", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1770", + "locator" : "183:121", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1771", + "locator" : "183:124-183:125", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1780", + "locator" : "183:129-183:150", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1775", + "locator" : "183:138-183:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1776", + "locator" : "183:144-183:145", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1777", + "locator" : "183:148-183:149", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1790", + "locator" : "185:1-185:117", + "name" : "IncludedIn.IncludedInTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1790", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInTimeTrue\"",": " ] + }, { + "r" : "1818", + "s" : [ { + "r" : "1791", + "value" : [ "@T15:59:59.999"," ","included in"," " ] + }, { + "r" : "1796", + "s" : [ { + "r" : "1797", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1818", + "locator" : "185:41-185:117", + "type" : "In", + "signature" : [ { + "localId" : "1819", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1820", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1821", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1791", + "locator" : "185:41-185:54", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1792", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1793", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1794", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1795", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1796", + "locator" : "185:68-185:117", + "type" : "List", + "element" : [ { + "localId" : "1797", + "locator" : "185:70-185:83", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1798", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1799", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1800", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1801", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1802", + "locator" : "185:86-185:99", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1803", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1804", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1805", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1806", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1807", + "locator" : "185:102-185:115", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1808", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1809", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1810", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1811", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1823", + "locator" : "187:1-187:118", + "name" : "IncludedIn.IncludedInTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1823", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInTimeFalse\"",": " ] + }, { + "r" : "1851", + "s" : [ { + "r" : "1824", + "value" : [ "@T16:59:59.999"," ","included in"," " ] + }, { + "r" : "1829", + "s" : [ { + "r" : "1830", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1851", + "locator" : "187:42-187:118", + "type" : "In", + "signature" : [ { + "localId" : "1852", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1853", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1854", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1824", + "locator" : "187:42-187:55", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1825", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "16", + "type" : "Literal" + }, + "minute" : { + "localId" : "1826", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1827", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1828", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1829", + "locator" : "187:69-187:118", + "type" : "List", + "element" : [ { + "localId" : "1830", + "locator" : "187:71-187:84", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1831", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1832", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1833", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1834", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1835", + "locator" : "187:87-187:100", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1836", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1837", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1838", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1839", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1840", + "locator" : "187:103-187:116", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1841", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1842", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1843", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1844", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "1856", + "locator" : "189:1-189:60", + "name" : "IncludedIn.IncludedInNullLeft", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1856", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInNullLeft\"",": " ] + }, { + "r" : "1868", + "s" : [ { + "r" : "1857", + "value" : [ "null"," ","included in"," " ] + }, { + "r" : "1858", + "s" : [ { + "r" : "1859", + "value" : [ "{","2","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1868", + "locator" : "189:41-189:60", + "type" : "In", + "signature" : [ { + "localId" : "1870", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "1871", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1872", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1869", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1857", + "locator" : "189:41-189:44", + "type" : "Null" + } + }, { + "localId" : "1858", + "locator" : "189:58-189:60", + "type" : "List", + "element" : [ { + "localId" : "1859", + "locator" : "189:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "1874", + "locator" : "191:1-191:73", + "name" : "IncludedIn.IncludedInNullRight", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1874", + "s" : [ { + "value" : [ "","define ","\"IncludedIn.IncludedInNullRight\"",": " ] + }, { + "r" : "1880", + "s" : [ { + "r" : "1875", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "1876", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1877", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1878", + "s" : [ { + "value" : [ "'m'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "1880", + "value" : [ " ","included in"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1880", + "locator" : "191:42-191:73", + "type" : "IncludedIn", + "signature" : [ { + "localId" : "1884", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1885", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1886", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1887", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "1875", + "locator" : "191:42-191:56", + "type" : "List", + "element" : [ { + "localId" : "1876", + "locator" : "191:43-191:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "1877", + "locator" : "191:48-191:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "1878", + "locator" : "191:53-191:55", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "m", + "type" : "Literal" + } ] + }, { + "localId" : "1881", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1879", + "locator" : "191:70-191:73", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1882", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1883", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "1899", + "locator" : "193:1-193:64", + "name" : "Indexer.IndexerNull1List", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1899", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerNull1List\"",": " ] + }, { + "r" : "1900", + "s" : [ { + "r" : "1901", + "s" : [ { + "value" : [ "(" ] + }, { + "r" : "1901", + "s" : [ { + "r" : "1902", + "value" : [ "null"," as " ] + }, { + "r" : "1903", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "1904", + "s" : [ { + "value" : [ "System",".","Any" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "r" : "1905", + "value" : [ "[","1","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1900", + "locator" : "193:36-193:64", + "type" : "Indexer", + "signature" : [ { + "localId" : "1906", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1907", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1908", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1901", + "locator" : "193:36-193:61", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "1902", + "locator" : "193:37-193:40", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "1903", + "locator" : "193:45-193:60", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1904", + "locator" : "193:50-193:59", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "1905", + "locator" : "193:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1910", + "locator" : "195:1-195:42", + "name" : "Indexer.Indexer0Of12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1910", + "s" : [ { + "value" : [ "","define ","\"Indexer.Indexer0Of12\"",": " ] + }, { + "r" : "1911", + "s" : [ { + "r" : "1912", + "s" : [ { + "r" : "1913", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "r" : "1915", + "value" : [ "[","0","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1911", + "locator" : "195:32-195:42", + "type" : "Indexer", + "signature" : [ { + "localId" : "1916", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1917", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1918", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1912", + "locator" : "195:32-195:39", + "type" : "List", + "element" : [ { + "localId" : "1913", + "locator" : "195:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1914", + "locator" : "195:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "1915", + "locator" : "195:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "1920", + "locator" : "197:1-197:42", + "name" : "Indexer.Indexer1Of12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1920", + "s" : [ { + "value" : [ "","define ","\"Indexer.Indexer1Of12\"",": " ] + }, { + "r" : "1921", + "s" : [ { + "r" : "1922", + "s" : [ { + "r" : "1923", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "r" : "1925", + "value" : [ "[","1","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1921", + "locator" : "197:32-197:42", + "type" : "Indexer", + "signature" : [ { + "localId" : "1926", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1927", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1928", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1922", + "locator" : "197:32-197:39", + "type" : "List", + "element" : [ { + "localId" : "1923", + "locator" : "197:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1924", + "locator" : "197:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "1925", + "locator" : "197:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1930", + "locator" : "199:1-199:42", + "name" : "Indexer.Indexer2Of12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1930", + "s" : [ { + "value" : [ "","define ","\"Indexer.Indexer2Of12\"",": " ] + }, { + "r" : "1931", + "s" : [ { + "r" : "1932", + "s" : [ { + "r" : "1933", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "r" : "1935", + "value" : [ "[","2","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1931", + "locator" : "199:32-199:42", + "type" : "Indexer", + "signature" : [ { + "localId" : "1936", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1937", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1938", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1932", + "locator" : "199:32-199:39", + "type" : "List", + "element" : [ { + "localId" : "1933", + "locator" : "199:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1934", + "locator" : "199:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "1935", + "locator" : "199:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "1940", + "locator" : "201:1-201:46", + "name" : "Indexer.IndexerNeg1Of12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1940", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerNeg1Of12\"",": " ] + }, { + "r" : "1941", + "s" : [ { + "r" : "1942", + "s" : [ { + "r" : "1943", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "value" : [ "[" ] + }, { + "r" : "1945", + "s" : [ { + "r" : "1946", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ "]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1941", + "locator" : "201:35-201:46", + "type" : "Indexer", + "signature" : [ { + "localId" : "1948", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1949", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1950", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1942", + "locator" : "201:35-201:42", + "type" : "List", + "element" : [ { + "localId" : "1943", + "locator" : "201:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "1944", + "locator" : "201:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "1945", + "locator" : "201:44-201:45", + "type" : "Negate", + "signature" : [ { + "localId" : "1947", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "1946", + "locator" : "201:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "1952", + "locator" : "203:1-203:109", + "name" : "Indexer.IndexerDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1952", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerDateTime\"",": " ] + }, { + "r" : "1953", + "s" : [ { + "r" : "1954", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "1960", + "s" : [ { + "r" : "1955", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1966", + "s" : [ { + "r" : "1961", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "1972", + "s" : [ { + "r" : "1967", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "r" : "1973", + "value" : [ "[","1","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1953", + "locator" : "203:35-203:109", + "type" : "Indexer", + "signature" : [ { + "localId" : "1974", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1975", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1976", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1954", + "locator" : "203:35-203:106", + "type" : "List", + "element" : [ { + "localId" : "1960", + "locator" : "203:37-203:57", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1955", + "locator" : "203:46-203:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "1956", + "locator" : "203:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "1957", + "locator" : "203:55-203:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "1966", + "locator" : "203:60-203:80", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1961", + "locator" : "203:69-203:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "1962", + "locator" : "203:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "1963", + "locator" : "203:78-203:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "1972", + "locator" : "203:83-203:104", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "1967", + "locator" : "203:92-203:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "1968", + "locator" : "203:98-203:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "1969", + "locator" : "203:102-203:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "1973", + "locator" : "203:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "1978", + "locator" : "205:1-205:83", + "name" : "Indexer.IndexerTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "1978", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerTime\"",": " ] + }, { + "r" : "1979", + "s" : [ { + "r" : "1980", + "s" : [ { + "r" : "1981", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "1996", + "value" : [ "[","1","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "1979", + "locator" : "205:31-205:83", + "type" : "Indexer", + "signature" : [ { + "localId" : "1997", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "1998", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "1999", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "1980", + "locator" : "205:31-205:80", + "type" : "List", + "element" : [ { + "localId" : "1981", + "locator" : "205:33-205:46", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1982", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "1983", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "1984", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1985", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "1986", + "locator" : "205:49-205:62", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1987", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "1988", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1989", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1990", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "1991", + "locator" : "205:65-205:78", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "1992", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "1993", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "1994", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "1995", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "1996", + "locator" : "205:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "2001", + "locator" : "207:1-207:52", + "name" : "IndexOf.IndexOfEmptyNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2001", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOfEmptyNull\"",": " ] + }, { + "r" : "2006", + "s" : [ { + "r" : "2002", + "value" : [ "IndexOf","(","{}",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2006", + "locator" : "207:36-207:52", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2002", + "locator" : "207:44-207:45", + "type" : "List", + "element" : [ ] + }, + "element" : { + "localId" : "2003", + "locator" : "207:48-207:51", + "type" : "Null" + } + } + }, { + "localId" : "2008", + "locator" : "209:1-209:52", + "name" : "IndexOf.IndexOfNullEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2008", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOfNullEmpty\"",": " ] + }, { + "r" : "2016", + "s" : [ { + "r" : "2009", + "value" : [ "IndexOf","(","null",", ","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2016", + "locator" : "209:36-209:52", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2017", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2009", + "locator" : "209:44-209:47", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "2018", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2019", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, + "element" : { + "localId" : "2010", + "locator" : "209:50-209:51", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "2021", + "locator" : "211:1-211:63", + "name" : "IndexOf.IndexOfNullIn1Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2021", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOfNullIn1Null\"",": " ] + }, { + "r" : "2029", + "s" : [ { + "value" : [ "IndexOf","(" ] + }, { + "r" : "2022", + "s" : [ { + "r" : "2023", + "value" : [ "{ ","1",", ","null"," }" ] + } ] + }, { + "r" : "2026", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2029", + "locator" : "211:38-211:63", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2022", + "locator" : "211:46-211:56", + "type" : "List", + "element" : [ { + "localId" : "2023", + "locator" : "211:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2025", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2024", + "locator" : "211:51-211:54", + "type" : "Null" + } + } ] + }, + "element" : { + "localId" : "2026", + "locator" : "211:59-211:62", + "type" : "Null" + } + } + }, { + "localId" : "2031", + "locator" : "213:1-213:51", + "name" : "IndexOf.IndexOf1In12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2031", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOf1In12\"",": " ] + }, { + "r" : "2038", + "s" : [ { + "value" : [ "IndexOf","(" ] + }, { + "r" : "2032", + "s" : [ { + "r" : "2033", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "r" : "2035", + "value" : [ ", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2038", + "locator" : "213:32-213:51", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2032", + "locator" : "213:40-213:47", + "type" : "List", + "element" : [ { + "localId" : "2033", + "locator" : "213:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2034", + "locator" : "213:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, + "element" : { + "localId" : "2035", + "locator" : "213:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "2040", + "locator" : "215:1-215:51", + "name" : "IndexOf.IndexOf2In12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2040", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOf2In12\"",": " ] + }, { + "r" : "2047", + "s" : [ { + "value" : [ "IndexOf","(" ] + }, { + "r" : "2041", + "s" : [ { + "r" : "2042", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "r" : "2044", + "value" : [ ", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2047", + "locator" : "215:32-215:51", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2041", + "locator" : "215:40-215:47", + "type" : "List", + "element" : [ { + "localId" : "2042", + "locator" : "215:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2043", + "locator" : "215:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, + "element" : { + "localId" : "2044", + "locator" : "215:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } + }, { + "localId" : "2049", + "locator" : "217:1-217:51", + "name" : "IndexOf.IndexOf3In12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2049", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOf3In12\"",": " ] + }, { + "r" : "2056", + "s" : [ { + "value" : [ "IndexOf","(" ] + }, { + "r" : "2050", + "s" : [ { + "r" : "2051", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + }, { + "r" : "2053", + "value" : [ ", ","3",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2056", + "locator" : "217:32-217:51", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2050", + "locator" : "217:40-217:47", + "type" : "List", + "element" : [ { + "localId" : "2051", + "locator" : "217:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2052", + "locator" : "217:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, + "element" : { + "localId" : "2053", + "locator" : "217:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } + }, { + "localId" : "2058", + "locator" : "219:1-219:139", + "name" : "IndexOf.IndexOfDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2058", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOfDateTime\"",": " ] + }, { + "r" : "2086", + "s" : [ { + "value" : [ "IndexOf","(" ] + }, { + "r" : "2059", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2065", + "s" : [ { + "r" : "2060", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2071", + "s" : [ { + "r" : "2066", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2077", + "s" : [ { + "r" : "2072", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2083", + "s" : [ { + "r" : "2078", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2086", + "locator" : "219:35-219:139", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2059", + "locator" : "219:43-219:114", + "type" : "List", + "element" : [ { + "localId" : "2065", + "locator" : "219:45-219:65", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2060", + "locator" : "219:54-219:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2061", + "locator" : "219:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2062", + "locator" : "219:63-219:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2071", + "locator" : "219:68-219:88", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2066", + "locator" : "219:77-219:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2067", + "locator" : "219:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2068", + "locator" : "219:86-219:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2077", + "locator" : "219:91-219:112", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2072", + "locator" : "219:100-219:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2073", + "locator" : "219:106-219:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2074", + "locator" : "219:110-219:111", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, + "element" : { + "localId" : "2083", + "locator" : "219:117-219:138", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2078", + "locator" : "219:126-219:129", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2079", + "locator" : "219:132-219:133", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2080", + "locator" : "219:136-219:137", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } + } + }, { + "localId" : "2088", + "locator" : "221:1-221:105", + "name" : "IndexOf.IndexOfTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2088", + "s" : [ { + "value" : [ "","define ","\"IndexOf.IndexOfTime\"",": " ] + }, { + "r" : "2112", + "s" : [ { + "value" : [ "IndexOf","(" ] + }, { + "r" : "2089", + "s" : [ { + "r" : "2090", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "2105", + "value" : [ ", ","@T15:59:59.999",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2112", + "locator" : "221:31-221:105", + "type" : "IndexOf", + "signature" : [ ], + "source" : { + "localId" : "2089", + "locator" : "221:39-221:88", + "type" : "List", + "element" : [ { + "localId" : "2090", + "locator" : "221:41-221:54", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2091", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "2092", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "2093", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2094", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "2095", + "locator" : "221:57-221:70", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2096", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2097", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2098", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2099", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2100", + "locator" : "221:73-221:86", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2101", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, + "element" : { + "localId" : "2105", + "locator" : "221:91-221:104", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2106", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2109", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } + } + }, { + "localId" : "2114", + "locator" : "223:1-223:66", + "name" : "Intersect.IntersectEmptyListAndEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2114", + "s" : [ { + "value" : [ "","define ","\"Intersect.IntersectEmptyListAndEmptyList\"",": " ] + }, { + "r" : "2117", + "s" : [ { + "r" : "2115", + "value" : [ "{}"," intersect ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2117", + "locator" : "223:52-223:66", + "type" : "Intersect", + "signature" : [ ], + "operand" : [ { + "localId" : "2115", + "locator" : "223:52-223:53", + "type" : "List", + "element" : [ ] + }, { + "localId" : "2116", + "locator" : "223:65-223:66", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "2119", + "locator" : "225:1-225:72", + "name" : "Intersect.Intersect1234And23", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2119", + "s" : [ { + "value" : [ "","define ","\"Intersect.Intersect1234And23\"",": " ] + }, { + "r" : "2128", + "s" : [ { + "r" : "2120", + "s" : [ { + "r" : "2121", + "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "2125", + "s" : [ { + "r" : "2126", + "value" : [ "{ ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2128", + "locator" : "225:40-225:72", + "type" : "Intersect", + "signature" : [ ], + "operand" : [ { + "localId" : "2120", + "locator" : "225:40-225:53", + "type" : "List", + "element" : [ { + "localId" : "2121", + "locator" : "225:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2122", + "locator" : "225:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2123", + "locator" : "225:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "2124", + "locator" : "225:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, { + "localId" : "2125", + "locator" : "225:65-225:72", + "type" : "List", + "element" : [ { + "localId" : "2126", + "locator" : "225:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2127", + "locator" : "225:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2130", + "locator" : "227:1-227:70", + "name" : "Intersect.Intersect23And1234", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2130", + "s" : [ { + "value" : [ "","define ","\"Intersect.Intersect23And1234\"",": " ] + }, { + "r" : "2139", + "s" : [ { + "r" : "2131", + "s" : [ { + "r" : "2132", + "value" : [ "{","2",", ","3","}" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "2134", + "s" : [ { + "r" : "2135", + "value" : [ "{ ","1",", ","2",", ","3",", ","4"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2139", + "locator" : "227:40-227:70", + "type" : "Intersect", + "signature" : [ ], + "operand" : [ { + "localId" : "2131", + "locator" : "227:40-227:45", + "type" : "List", + "element" : [ { + "localId" : "2132", + "locator" : "227:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2133", + "locator" : "227:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "2134", + "locator" : "227:57-227:70", + "type" : "List", + "element" : [ { + "localId" : "2135", + "locator" : "227:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2136", + "locator" : "227:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2137", + "locator" : "227:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "2138", + "locator" : "227:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2141", + "locator" : "229:1-229:192", + "name" : "Intersect.IntersectDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2141", + "s" : [ { + "value" : [ "","define ","\"Intersect.IntersectDateTime\"",": " ] + }, { + "r" : "2180", + "s" : [ { + "r" : "2142", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2148", + "s" : [ { + "r" : "2143", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2154", + "s" : [ { + "r" : "2149", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2160", + "s" : [ { + "r" : "2155", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "2161", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2167", + "s" : [ { + "r" : "2162", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2173", + "s" : [ { + "r" : "2168", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2179", + "s" : [ { + "r" : "2174", + "value" : [ "DateTime","(","2000",", ","5",", ","5",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2180", + "locator" : "229:39-229:192", + "type" : "Intersect", + "signature" : [ ], + "operand" : [ { + "localId" : "2142", + "locator" : "229:39-229:110", + "type" : "List", + "element" : [ { + "localId" : "2148", + "locator" : "229:41-229:61", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2143", + "locator" : "229:50-229:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2144", + "locator" : "229:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2145", + "locator" : "229:59-229:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2154", + "locator" : "229:64-229:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2149", + "locator" : "229:73-229:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2150", + "locator" : "229:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2151", + "locator" : "229:82-229:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2160", + "locator" : "229:87-229:108", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2155", + "locator" : "229:96-229:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2156", + "locator" : "229:102-229:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2157", + "locator" : "229:106-229:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "2161", + "locator" : "229:122-229:192", + "type" : "List", + "element" : [ { + "localId" : "2167", + "locator" : "229:124-229:144", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2162", + "locator" : "229:133-229:136", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2163", + "locator" : "229:139", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2164", + "locator" : "229:142-229:143", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2173", + "locator" : "229:147-229:168", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2168", + "locator" : "229:156-229:159", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2169", + "locator" : "229:162-229:163", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2170", + "locator" : "229:166-229:167", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2179", + "locator" : "229:171-229:190", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2174", + "locator" : "229:180-229:183", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "type" : "Literal" + }, + "month" : { + "localId" : "2175", + "locator" : "229:186", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2176", + "locator" : "229:189", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2182", + "locator" : "231:1-231:145", + "name" : "Intersect.IntersectTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2182", + "s" : [ { + "value" : [ "","define ","\"Intersect.IntersectTime\"",": " ] + }, { + "r" : "2215", + "s" : [ { + "r" : "2183", + "s" : [ { + "r" : "2184", + "value" : [ "{ ","@T02:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " intersect " ] + }, { + "r" : "2199", + "s" : [ { + "r" : "2200", + "value" : [ "{ ","@T01:29:15.156",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2215", + "locator" : "231:35-231:145", + "type" : "Intersect", + "signature" : [ ], + "operand" : [ { + "localId" : "2183", + "locator" : "231:35-231:84", + "type" : "List", + "element" : [ { + "localId" : "2184", + "locator" : "231:37-231:50", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2185", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "minute" : { + "localId" : "2186", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "2187", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2188", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "2189", + "locator" : "231:53-231:66", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2190", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2191", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2192", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2193", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2194", + "locator" : "231:69-231:82", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2195", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2196", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2197", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2198", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "2199", + "locator" : "231:96-231:145", + "type" : "List", + "element" : [ { + "localId" : "2200", + "locator" : "231:98-231:111", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2201", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "minute" : { + "localId" : "2202", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "29", + "type" : "Literal" + }, + "second" : { + "localId" : "2203", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2204", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "156", + "type" : "Literal" + } + }, { + "localId" : "2205", + "locator" : "231:114-231:127", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2206", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2207", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2208", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2209", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2210", + "locator" : "231:130-231:143", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2211", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2212", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2213", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2214", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2217", + "locator" : "233:1-233:33", + "name" : "Last.LastEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2217", + "s" : [ { + "value" : [ "","define ","\"Last.LastEmpty\"",": " ] + }, { + "r" : "2221", + "s" : [ { + "r" : "2218", + "value" : [ "Last","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2221", + "locator" : "233:26-233:33", + "type" : "Last", + "signature" : [ ], + "source" : { + "localId" : "2218", + "locator" : "233:31-233:32", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "2223", + "locator" : "235:1-235:40", + "name" : "Last.LastNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2223", + "s" : [ { + "value" : [ "","define ","\"Last.LastNull1\"",": " ] + }, { + "r" : "2230", + "s" : [ { + "value" : [ "Last","(" ] + }, { + "r" : "2224", + "s" : [ { + "r" : "2225", + "value" : [ "{","null",", ","1","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2230", + "locator" : "235:26-235:40", + "type" : "Last", + "signature" : [ ], + "source" : { + "localId" : "2224", + "locator" : "235:31-235:39", + "type" : "List", + "element" : [ { + "localId" : "2227", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2225", + "locator" : "235:32-235:35", + "type" : "Null" + } + }, { + "localId" : "2226", + "locator" : "235:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2232", + "locator" : "237:1-237:40", + "name" : "Last.Last1Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2232", + "s" : [ { + "value" : [ "","define ","\"Last.Last1Null\"",": " ] + }, { + "r" : "2239", + "s" : [ { + "value" : [ "Last","(" ] + }, { + "r" : "2233", + "s" : [ { + "r" : "2234", + "value" : [ "{","1",", ","null","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2239", + "locator" : "237:26-237:40", + "type" : "Last", + "signature" : [ ], + "source" : { + "localId" : "2233", + "locator" : "237:31-237:39", + "type" : "List", + "element" : [ { + "localId" : "2234", + "locator" : "237:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2236", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2235", + "locator" : "237:35-237:38", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "2241", + "locator" : "239:1-239:34", + "name" : "Last.Last12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2241", + "s" : [ { + "value" : [ "","define ","\"Last.Last12\"",": " ] + }, { + "r" : "2247", + "s" : [ { + "value" : [ "Last","(" ] + }, { + "r" : "2242", + "s" : [ { + "r" : "2243", + "value" : [ "{","1",", ","2","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2247", + "locator" : "239:23-239:34", + "type" : "Last", + "signature" : [ ], + "source" : { + "localId" : "2242", + "locator" : "239:28-239:33", + "type" : "List", + "element" : [ { + "localId" : "2243", + "locator" : "239:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2244", + "locator" : "239:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2249", + "locator" : "241:1-241:81", + "name" : "Last.LastDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2249", + "s" : [ { + "value" : [ "","define ","\"Last.LastDateTime\"",": " ] + }, { + "r" : "2265", + "s" : [ { + "value" : [ "Last","(" ] + }, { + "r" : "2250", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2256", + "s" : [ { + "r" : "2251", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2262", + "s" : [ { + "r" : "2257", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2265", + "locator" : "241:29-241:81", + "type" : "Last", + "signature" : [ ], + "source" : { + "localId" : "2250", + "locator" : "241:34-241:80", + "type" : "List", + "element" : [ { + "localId" : "2256", + "locator" : "241:35-241:55", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2251", + "locator" : "241:44-241:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2252", + "locator" : "241:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2253", + "locator" : "241:53-241:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2262", + "locator" : "241:58-241:79", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2257", + "locator" : "241:67-241:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2258", + "locator" : "241:73-241:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2259", + "locator" : "241:77-241:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2267", + "locator" : "243:1-243:64", + "name" : "Last.LastTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2267", + "s" : [ { + "value" : [ "","define ","\"Last.LastTime\"",": " ] + }, { + "r" : "2281", + "s" : [ { + "value" : [ "Last","(" ] + }, { + "r" : "2268", + "s" : [ { + "r" : "2269", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2281", + "locator" : "243:25-243:64", + "type" : "Last", + "signature" : [ ], + "source" : { + "localId" : "2268", + "locator" : "243:30-243:63", + "type" : "List", + "element" : [ { + "localId" : "2269", + "locator" : "243:32-243:45", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2270", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2271", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2272", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2273", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2274", + "locator" : "243:48-243:61", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2275", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2276", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2277", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2278", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2283", + "locator" : "245:1-245:43", + "name" : "Length.LengthEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2283", + "s" : [ { + "value" : [ "","define ","\"Length.LengthEmptyList\"",": " ] + }, { + "r" : "2289", + "s" : [ { + "r" : "2284", + "value" : [ "Length","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2289", + "locator" : "245:34-245:43", + "type" : "Length", + "signature" : [ { + "localId" : "2290", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2291", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2284", + "locator" : "245:41-245:42", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "2293", + "locator" : "247:1-247:46", + "name" : "Length.LengthNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2293", + "s" : [ { + "value" : [ "","define ","\"Length.LengthNull1\"",": " ] + }, { + "r" : "2302", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "2294", + "s" : [ { + "r" : "2295", + "value" : [ "{","null",", ","1","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2302", + "locator" : "247:30-247:46", + "type" : "Length", + "signature" : [ { + "localId" : "2303", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2304", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2294", + "locator" : "247:37-247:45", + "type" : "List", + "element" : [ { + "localId" : "2297", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2295", + "locator" : "247:38-247:41", + "type" : "Null" + } + }, { + "localId" : "2296", + "locator" : "247:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2306", + "locator" : "249:1-249:46", + "name" : "Length.Length1Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2306", + "s" : [ { + "value" : [ "","define ","\"Length.Length1Null\"",": " ] + }, { + "r" : "2315", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "2307", + "s" : [ { + "r" : "2308", + "value" : [ "{","1",", ","null","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2315", + "locator" : "249:30-249:46", + "type" : "Length", + "signature" : [ { + "localId" : "2316", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2317", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2307", + "locator" : "249:37-249:45", + "type" : "List", + "element" : [ { + "localId" : "2308", + "locator" : "249:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2310", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2309", + "locator" : "249:41-249:44", + "type" : "Null" + } + } ] + } + } + }, { + "localId" : "2319", + "locator" : "251:1-251:40", + "name" : "Length.Length12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2319", + "s" : [ { + "value" : [ "","define ","\"Length.Length12\"",": " ] + }, { + "r" : "2327", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "2320", + "s" : [ { + "r" : "2321", + "value" : [ "{","1",", ","2","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2327", + "locator" : "251:27-251:40", + "type" : "Length", + "signature" : [ { + "localId" : "2328", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2329", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2320", + "locator" : "251:34-251:39", + "type" : "List", + "element" : [ { + "localId" : "2321", + "locator" : "251:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2322", + "locator" : "251:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "2331", + "locator" : "253:1-253:110", + "name" : "Length.LengthDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2331", + "s" : [ { + "value" : [ "","define ","\"Length.LengthDateTime\"",": " ] + }, { + "r" : "2355", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "2332", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2338", + "s" : [ { + "r" : "2333", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2344", + "s" : [ { + "r" : "2339", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2350", + "s" : [ { + "r" : "2345", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2355", + "locator" : "253:33-253:110", + "type" : "Length", + "signature" : [ { + "localId" : "2356", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2357", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2332", + "locator" : "253:40-253:109", + "type" : "List", + "element" : [ { + "localId" : "2338", + "locator" : "253:41-253:61", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2333", + "locator" : "253:50-253:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2334", + "locator" : "253:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2335", + "locator" : "253:59-253:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2344", + "locator" : "253:64-253:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2339", + "locator" : "253:73-253:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2340", + "locator" : "253:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2341", + "locator" : "253:82-253:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2350", + "locator" : "253:87-253:108", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2345", + "locator" : "253:96-253:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2346", + "locator" : "253:102-253:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2347", + "locator" : "253:106-253:107", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2359", + "locator" : "255:1-255:134", + "name" : "Length.LengthTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2359", + "s" : [ { + "value" : [ "","define ","\"Length.LengthTime\"",": " ] + }, { + "r" : "2395", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "2360", + "s" : [ { + "r" : "2361", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2395", + "locator" : "255:29-255:134", + "type" : "Length", + "signature" : [ { + "localId" : "2396", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2397", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2360", + "locator" : "255:36-255:133", + "type" : "List", + "element" : [ { + "localId" : "2361", + "locator" : "255:38-255:51", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2362", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2363", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2364", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2365", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2366", + "locator" : "255:54-255:67", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2367", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2368", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2369", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2370", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2371", + "locator" : "255:70-255:83", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2372", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2373", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2374", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2375", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2376", + "locator" : "255:86-255:99", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2377", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2378", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2379", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2380", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2381", + "locator" : "255:102-255:115", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2383", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2384", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2385", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2386", + "locator" : "255:118-255:131", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2387", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2388", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2389", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2390", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "2399", + "locator" : "257:1-257:57", + "name" : "Length.LengthNullList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2399", + "s" : [ { + "value" : [ "","define ","\"Length.LengthNullList\"",": " ] + }, { + "r" : "2408", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "2400", + "s" : [ { + "r" : "2401", + "value" : [ "null"," as " ] + }, { + "r" : "2402", + "s" : [ { + "value" : [ "List<" ] + }, { + "r" : "2403", + "s" : [ { + "value" : [ "Any" ] + } ] + }, { + "value" : [ ">" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2408", + "locator" : "257:33-257:57", + "type" : "Length", + "signature" : [ { + "localId" : "2409", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2410", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "2400", + "locator" : "257:40-257:56", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2401", + "locator" : "257:40-257:43", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "2402", + "locator" : "257:48-257:56", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2403", + "locator" : "257:53-257:55", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + } + } + }, { + "localId" : "2412", + "locator" : "259:1-259:52", + "name" : "Equivalent.EquivalentEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2412", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentEmptyAndEmpty\"",": " ] + }, { + "r" : "2413", + "s" : [ { + "r" : "2414", + "value" : [ "{}"," ","~"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2413", + "locator" : "259:46-259:52", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2416", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2417", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2418", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2419", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2414", + "locator" : "259:46-259:47", + "type" : "List", + "element" : [ ] + }, { + "localId" : "2415", + "locator" : "259:51-259:52", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "2421", + "locator" : "261:1-261:78", + "name" : "Equivalent.EquivalentABCAndABC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2421", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentABCAndABC\"",": " ] + }, { + "r" : "2422", + "s" : [ { + "r" : "2423", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2424", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2425", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2426", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2427", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2428", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2429", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2430", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2422", + "locator" : "261:42-261:78", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2431", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2432", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2433", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2434", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2423", + "locator" : "261:42-261:58", + "type" : "List", + "element" : [ { + "localId" : "2424", + "locator" : "261:44-261:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2425", + "locator" : "261:49-261:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2426", + "locator" : "261:54-261:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "2427", + "locator" : "261:62-261:78", + "type" : "List", + "element" : [ { + "localId" : "2428", + "locator" : "261:64-261:66", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2429", + "locator" : "261:69-261:71", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2430", + "locator" : "261:74-261:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2436", + "locator" : "263:1-263:72", + "name" : "Equivalent.EquivalentABCAndAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2436", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentABCAndAB\"",": " ] + }, { + "r" : "2437", + "s" : [ { + "r" : "2438", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2439", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2440", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2441", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2442", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2443", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2444", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2437", + "locator" : "263:41-263:72", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2445", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2446", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2447", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2448", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2438", + "locator" : "263:41-263:57", + "type" : "List", + "element" : [ { + "localId" : "2439", + "locator" : "263:43-263:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2440", + "locator" : "263:48-263:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2441", + "locator" : "263:53-263:55", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "2442", + "locator" : "263:61-263:72", + "type" : "List", + "element" : [ { + "localId" : "2443", + "locator" : "263:63-263:65", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2444", + "locator" : "263:68-263:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2450", + "locator" : "265:1-265:72", + "name" : "Equivalent.EquivalentABCAnd123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2450", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentABCAnd123\"",": " ] + }, { + "r" : "2451", + "s" : [ { + "r" : "2452", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2453", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2454", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2455", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2456", + "s" : [ { + "r" : "2457", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2451", + "locator" : "265:42-265:72", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2460", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2461", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2462", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2463", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2452", + "locator" : "265:42-265:58", + "type" : "List", + "element" : [ { + "localId" : "2453", + "locator" : "265:44-265:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2454", + "locator" : "265:49-265:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2455", + "locator" : "265:54-265:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "2456", + "locator" : "265:62-265:72", + "type" : "List", + "element" : [ { + "localId" : "2457", + "locator" : "265:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2458", + "locator" : "265:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2459", + "locator" : "265:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2465", + "locator" : "267:1-267:72", + "name" : "Equivalent.Equivalent123AndABC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2465", + "s" : [ { + "value" : [ "","define ","\"Equivalent.Equivalent123AndABC\"",": " ] + }, { + "r" : "2466", + "s" : [ { + "r" : "2467", + "s" : [ { + "r" : "2468", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2471", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2472", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2473", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2474", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2466", + "locator" : "267:42-267:72", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2475", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2476", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2477", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2478", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2467", + "locator" : "267:42-267:52", + "type" : "List", + "element" : [ { + "localId" : "2468", + "locator" : "267:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2469", + "locator" : "267:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2470", + "locator" : "267:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "2471", + "locator" : "267:56-267:72", + "type" : "List", + "element" : [ { + "localId" : "2472", + "locator" : "267:58-267:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2473", + "locator" : "267:63-267:65", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2474", + "locator" : "267:68-267:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2480", + "locator" : "269:1-269:78", + "name" : "Equivalent.Equivalent123AndString123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2480", + "s" : [ { + "value" : [ "","define ","\"Equivalent.Equivalent123AndString123\"",": " ] + }, { + "r" : "2481", + "s" : [ { + "r" : "2482", + "s" : [ { + "r" : "2483", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2486", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2487", + "s" : [ { + "value" : [ "'1'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2488", + "s" : [ { + "value" : [ "'2'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2489", + "s" : [ { + "value" : [ "'3'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2481", + "locator" : "269:48-269:78", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2490", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2491", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2492", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2493", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2482", + "locator" : "269:48-269:58", + "type" : "List", + "element" : [ { + "localId" : "2483", + "locator" : "269:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2484", + "locator" : "269:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2485", + "locator" : "269:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "2486", + "locator" : "269:62-269:78", + "type" : "List", + "element" : [ { + "localId" : "2487", + "locator" : "269:64-269:66", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2488", + "locator" : "269:69-269:71", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2489", + "locator" : "269:74-269:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "2495", + "locator" : "271:1-271:199", + "name" : "Equivalent.EquivalentDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2495", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentDateTimeTrue\"",": " ] + }, { + "r" : "2496", + "s" : [ { + "r" : "2497", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2503", + "s" : [ { + "r" : "2498", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2509", + "s" : [ { + "r" : "2504", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2515", + "s" : [ { + "r" : "2510", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "r" : "2516", + "value" : [ ", ","null","}" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2518", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2524", + "s" : [ { + "r" : "2519", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2530", + "s" : [ { + "r" : "2525", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2536", + "s" : [ { + "r" : "2531", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "r" : "2537", + "value" : [ ", ","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2496", + "locator" : "271:45-271:199", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2539", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2540", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2541", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2542", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2497", + "locator" : "271:45-271:120", + "type" : "List", + "element" : [ { + "localId" : "2503", + "locator" : "271:46-271:66", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2498", + "locator" : "271:55-271:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2499", + "locator" : "271:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2500", + "locator" : "271:64-271:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2509", + "locator" : "271:69-271:89", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2504", + "locator" : "271:78-271:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2505", + "locator" : "271:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2506", + "locator" : "271:87-271:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2515", + "locator" : "271:92-271:113", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2510", + "locator" : "271:101-271:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2511", + "locator" : "271:107-271:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2512", + "locator" : "271:111-271:112", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2517", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2516", + "locator" : "271:116-271:119", + "type" : "Null" + } + } ] + }, { + "localId" : "2518", + "locator" : "271:124-271:199", + "type" : "List", + "element" : [ { + "localId" : "2524", + "locator" : "271:125-271:145", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2519", + "locator" : "271:134-271:137", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2520", + "locator" : "271:140", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2521", + "locator" : "271:143-271:144", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2530", + "locator" : "271:148-271:168", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2525", + "locator" : "271:157-271:160", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2526", + "locator" : "271:163", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2527", + "locator" : "271:166-271:167", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2536", + "locator" : "271:171-271:192", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2531", + "locator" : "271:180-271:183", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2532", + "locator" : "271:186-271:187", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2533", + "locator" : "271:190-271:191", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2538", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2537", + "locator" : "271:195-271:198", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "2544", + "locator" : "273:1-273:193", + "name" : "Equivalent.EquivalentDateTimeNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2544", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentDateTimeNull\"",": " ] + }, { + "r" : "2545", + "s" : [ { + "r" : "2546", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2552", + "s" : [ { + "r" : "2547", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2558", + "s" : [ { + "r" : "2553", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2564", + "s" : [ { + "r" : "2559", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2565", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2571", + "s" : [ { + "r" : "2566", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2577", + "s" : [ { + "r" : "2572", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2583", + "s" : [ { + "r" : "2578", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "r" : "2584", + "value" : [ ", ","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2545", + "locator" : "273:45-273:193", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2586", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2587", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2588", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2589", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2546", + "locator" : "273:45-273:114", + "type" : "List", + "element" : [ { + "localId" : "2552", + "locator" : "273:46-273:66", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2547", + "locator" : "273:55-273:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2548", + "locator" : "273:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2549", + "locator" : "273:64-273:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2558", + "locator" : "273:69-273:89", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2553", + "locator" : "273:78-273:81", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2554", + "locator" : "273:84", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2555", + "locator" : "273:87-273:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2564", + "locator" : "273:92-273:113", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2559", + "locator" : "273:101-273:104", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2560", + "locator" : "273:107-273:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2561", + "locator" : "273:111-273:112", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "2565", + "locator" : "273:118-273:193", + "type" : "List", + "element" : [ { + "localId" : "2571", + "locator" : "273:119-273:139", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2566", + "locator" : "273:128-273:131", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2567", + "locator" : "273:134", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2568", + "locator" : "273:137-273:138", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2577", + "locator" : "273:142-273:162", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2572", + "locator" : "273:151-273:154", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2573", + "locator" : "273:157", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2574", + "locator" : "273:160-273:161", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2583", + "locator" : "273:165-273:186", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2578", + "locator" : "273:174-273:177", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2579", + "locator" : "273:180-273:181", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2580", + "locator" : "273:184-273:185", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2585", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2584", + "locator" : "273:189-273:192", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "2591", + "locator" : "275:1-275:187", + "name" : "Equivalent.EquivalentDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2591", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentDateTimeFalse\"",": " ] + }, { + "r" : "2592", + "s" : [ { + "r" : "2593", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2599", + "s" : [ { + "r" : "2594", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2605", + "s" : [ { + "r" : "2600", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2611", + "s" : [ { + "r" : "2606", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2612", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2618", + "s" : [ { + "r" : "2613", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2624", + "s" : [ { + "r" : "2619", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2630", + "s" : [ { + "r" : "2625", + "value" : [ "DateTime","(","2014",", ","12",", ","1",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2592", + "locator" : "275:46-275:187", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2631", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2632", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2633", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2634", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2593", + "locator" : "275:46-275:115", + "type" : "List", + "element" : [ { + "localId" : "2599", + "locator" : "275:47-275:67", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2594", + "locator" : "275:56-275:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2595", + "locator" : "275:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2596", + "locator" : "275:65-275:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2605", + "locator" : "275:70-275:90", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2600", + "locator" : "275:79-275:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2601", + "locator" : "275:85", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2602", + "locator" : "275:88-275:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2611", + "locator" : "275:93-275:114", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2606", + "locator" : "275:102-275:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2607", + "locator" : "275:108-275:109", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2608", + "locator" : "275:112-275:113", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "2612", + "locator" : "275:119-275:187", + "type" : "List", + "element" : [ { + "localId" : "2618", + "locator" : "275:120-275:140", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2613", + "locator" : "275:129-275:132", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2614", + "locator" : "275:135", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2615", + "locator" : "275:138-275:139", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "2624", + "locator" : "275:143-275:163", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2619", + "locator" : "275:152-275:155", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2620", + "locator" : "275:158", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2621", + "locator" : "275:161-275:162", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "2630", + "locator" : "275:166-275:186", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2625", + "locator" : "275:175-275:178", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2626", + "locator" : "275:181-275:182", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2627", + "locator" : "275:185", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2636", + "locator" : "277:1-277:111", + "name" : "Equivalent.EquivalentTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2636", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentTimeTrue\"",": " ] + }, { + "r" : "2637", + "s" : [ { + "r" : "2638", + "s" : [ { + "r" : "2639", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2649", + "s" : [ { + "r" : "2650", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2637", + "locator" : "277:41-277:111", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2660", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2661", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2662", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2663", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2638", + "locator" : "277:41-277:74", + "type" : "List", + "element" : [ { + "localId" : "2639", + "locator" : "277:43-277:56", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2640", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2641", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2642", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2643", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2644", + "locator" : "277:59-277:72", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2645", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2646", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2647", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2648", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "2649", + "locator" : "277:78-277:111", + "type" : "List", + "element" : [ { + "localId" : "2650", + "locator" : "277:80-277:93", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2651", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2652", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2653", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2654", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2655", + "locator" : "277:96-277:109", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2656", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2657", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2658", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2659", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2665", + "locator" : "279:1-279:117", + "name" : "Equivalent.EquivalentTimeNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2665", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentTimeNull\"",": " ] + }, { + "r" : "2666", + "s" : [ { + "r" : "2667", + "s" : [ { + "r" : "2668", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2678", + "s" : [ { + "r" : "2679", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","null"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2666", + "locator" : "279:41-279:117", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2691", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2692", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2693", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2694", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2667", + "locator" : "279:41-279:74", + "type" : "List", + "element" : [ { + "localId" : "2668", + "locator" : "279:43-279:56", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2669", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2670", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2671", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2672", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2673", + "locator" : "279:59-279:72", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2674", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2675", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2676", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2677", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "2678", + "locator" : "279:78-279:117", + "type" : "List", + "element" : [ { + "localId" : "2679", + "locator" : "279:80-279:93", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2680", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2681", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2682", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2683", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2684", + "locator" : "279:96-279:109", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2685", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2686", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2687", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2688", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2690", + "asType" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "2689", + "locator" : "279:112-279:115", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "2696", + "locator" : "281:1-281:112", + "name" : "Equivalent.EquivalentTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2696", + "s" : [ { + "value" : [ "","define ","\"Equivalent.EquivalentTimeFalse\"",": " ] + }, { + "r" : "2697", + "s" : [ { + "r" : "2698", + "s" : [ { + "r" : "2699", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","~"," " ] + }, { + "r" : "2709", + "s" : [ { + "r" : "2710", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.995"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2697", + "locator" : "281:42-281:112", + "type" : "Equivalent", + "signature" : [ { + "localId" : "2720", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2721", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2722", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2723", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2698", + "locator" : "281:42-281:75", + "type" : "List", + "element" : [ { + "localId" : "2699", + "locator" : "281:44-281:57", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2700", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2701", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2702", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2703", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2704", + "locator" : "281:60-281:73", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2705", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2706", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2707", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2708", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "2709", + "locator" : "281:79-281:112", + "type" : "List", + "element" : [ { + "localId" : "2710", + "locator" : "281:81-281:94", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2711", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2712", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2713", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2714", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2715", + "locator" : "281:97-281:110", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2716", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2717", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2718", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2719", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "995", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2725", + "locator" : "283:1-283:49", + "name" : "NotEqual.NotEqualEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2725", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualEmptyAndEmpty\"",": " ] + }, { + "r" : "2733", + "s" : [ { + "r" : "2727", + "value" : [ "{}"," ","!="," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2733", + "locator" : "283:42-283:49", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2726", + "locator" : "283:42-283:49", + "type" : "Equal", + "signature" : [ { + "localId" : "2729", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2730", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2731", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2732", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2727", + "locator" : "283:42-283:43", + "type" : "List", + "element" : [ ] + }, { + "localId" : "2728", + "locator" : "283:48-283:49", + "type" : "List", + "element" : [ ] + } ] + } + } + }, { + "localId" : "2735", + "locator" : "285:1-285:75", + "name" : "NotEqual.NotEqualABCAndABC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2735", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualABCAndABC\"",": " ] + }, { + "r" : "2749", + "s" : [ { + "r" : "2737", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2738", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2739", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2740", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2741", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2742", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2743", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2744", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2749", + "locator" : "285:38-285:75", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2736", + "locator" : "285:38-285:75", + "type" : "Equal", + "signature" : [ { + "localId" : "2745", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2746", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2747", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2748", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2737", + "locator" : "285:38-285:54", + "type" : "List", + "element" : [ { + "localId" : "2738", + "locator" : "285:40-285:42", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2739", + "locator" : "285:45-285:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2740", + "locator" : "285:50-285:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "2741", + "locator" : "285:59-285:75", + "type" : "List", + "element" : [ { + "localId" : "2742", + "locator" : "285:61-285:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2743", + "locator" : "285:66-285:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2744", + "locator" : "285:71-285:73", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } ] + } + } + }, { + "localId" : "2751", + "locator" : "287:1-287:69", + "name" : "NotEqual.NotEqualABCAndAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2751", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualABCAndAB\"",": " ] + }, { + "r" : "2764", + "s" : [ { + "r" : "2753", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2754", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2755", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2756", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2757", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2758", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2759", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2764", + "locator" : "287:37-287:69", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2752", + "locator" : "287:37-287:69", + "type" : "Equal", + "signature" : [ { + "localId" : "2760", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2761", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2762", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2763", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2753", + "locator" : "287:37-287:53", + "type" : "List", + "element" : [ { + "localId" : "2754", + "locator" : "287:39-287:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2755", + "locator" : "287:44-287:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2756", + "locator" : "287:49-287:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "2757", + "locator" : "287:58-287:69", + "type" : "List", + "element" : [ { + "localId" : "2758", + "locator" : "287:60-287:62", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2759", + "locator" : "287:65-287:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } ] + } + } + }, { + "localId" : "2766", + "locator" : "289:1-289:69", + "name" : "NotEqual.NotEqualABCAnd123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2766", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualABCAnd123\"",": " ] + }, { + "r" : "2780", + "s" : [ { + "r" : "2768", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2769", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2770", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2771", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2772", + "s" : [ { + "r" : "2773", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2780", + "locator" : "289:38-289:69", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2767", + "locator" : "289:38-289:69", + "type" : "Equal", + "signature" : [ { + "localId" : "2776", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2777", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2778", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2779", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2768", + "locator" : "289:38-289:54", + "type" : "List", + "element" : [ { + "localId" : "2769", + "locator" : "289:40-289:42", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2770", + "locator" : "289:45-289:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2771", + "locator" : "289:50-289:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, { + "localId" : "2772", + "locator" : "289:59-289:69", + "type" : "List", + "element" : [ { + "localId" : "2773", + "locator" : "289:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2774", + "locator" : "289:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2775", + "locator" : "289:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + } + }, { + "localId" : "2782", + "locator" : "291:1-291:69", + "name" : "NotEqual.NotEqual123AndABC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2782", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqual123AndABC\"",": " ] + }, { + "r" : "2796", + "s" : [ { + "r" : "2784", + "s" : [ { + "r" : "2785", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2788", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2789", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2790", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2791", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2796", + "locator" : "291:38-291:69", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2783", + "locator" : "291:38-291:69", + "type" : "Equal", + "signature" : [ { + "localId" : "2792", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2793", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2794", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2795", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2784", + "locator" : "291:38-291:48", + "type" : "List", + "element" : [ { + "localId" : "2785", + "locator" : "291:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2786", + "locator" : "291:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2787", + "locator" : "291:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "2788", + "locator" : "291:53-291:69", + "type" : "List", + "element" : [ { + "localId" : "2789", + "locator" : "291:55-291:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "2790", + "locator" : "291:60-291:62", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "2791", + "locator" : "291:65-291:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } ] + } + } + }, { + "localId" : "2798", + "locator" : "293:1-293:75", + "name" : "NotEqual.NotEqual123AndString123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2798", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqual123AndString123\"",": " ] + }, { + "r" : "2812", + "s" : [ { + "r" : "2800", + "s" : [ { + "r" : "2801", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2804", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "2805", + "s" : [ { + "value" : [ "'1'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2806", + "s" : [ { + "value" : [ "'2'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2807", + "s" : [ { + "value" : [ "'3'" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2812", + "locator" : "293:44-293:75", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2799", + "locator" : "293:44-293:75", + "type" : "Equal", + "signature" : [ { + "localId" : "2808", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2809", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2810", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2811", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2800", + "locator" : "293:44-293:54", + "type" : "List", + "element" : [ { + "localId" : "2801", + "locator" : "293:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2802", + "locator" : "293:49", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2803", + "locator" : "293:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "2804", + "locator" : "293:59-293:75", + "type" : "List", + "element" : [ { + "localId" : "2805", + "locator" : "293:61-293:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "2806", + "locator" : "293:66-293:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "2807", + "locator" : "293:71-293:73", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + } + }, { + "localId" : "2814", + "locator" : "295:1-295:255", + "name" : "NotEqual.NotEqualDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2814", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualDateTimeTrue\"",": " ] + }, { + "r" : "2882", + "s" : [ { + "r" : "2816", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2826", + "s" : [ { + "r" : "2817", + "value" : [ "DateTime","(","2001",", ","9",", ","11",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2836", + "s" : [ { + "r" : "2827", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2846", + "s" : [ { + "r" : "2837", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2847", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2857", + "s" : [ { + "r" : "2848", + "value" : [ "DateTime","(","2001",", ","9",", ","11",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2867", + "s" : [ { + "r" : "2858", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2877", + "s" : [ { + "r" : "2868", + "value" : [ "DateTime","(","2014",", ","12",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2882", + "locator" : "295:41-295:255", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2815", + "locator" : "295:41-295:255", + "type" : "Equal", + "signature" : [ { + "localId" : "2878", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2879", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2880", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2881", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2816", + "locator" : "295:41-295:146", + "type" : "List", + "element" : [ { + "localId" : "2826", + "locator" : "295:42-295:74", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2817", + "locator" : "295:51-295:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2818", + "locator" : "295:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2819", + "locator" : "295:60-295:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + }, + "hour" : { + "localId" : "2820", + "locator" : "295:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2821", + "locator" : "295:67", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2822", + "locator" : "295:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2823", + "locator" : "295:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2836", + "locator" : "295:77-295:109", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2827", + "locator" : "295:86-295:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2828", + "locator" : "295:92", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2829", + "locator" : "295:95-295:96", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2830", + "locator" : "295:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2831", + "locator" : "295:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2832", + "locator" : "295:105", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2833", + "locator" : "295:108", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2846", + "locator" : "295:112-295:145", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2837", + "locator" : "295:121-295:124", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2838", + "locator" : "295:127-295:128", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2839", + "locator" : "295:131-295:132", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2840", + "locator" : "295:135", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2841", + "locator" : "295:138", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2842", + "locator" : "295:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2843", + "locator" : "295:144", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + }, { + "localId" : "2847", + "locator" : "295:151-295:255", + "type" : "List", + "element" : [ { + "localId" : "2857", + "locator" : "295:152-295:184", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2848", + "locator" : "295:161-295:164", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2849", + "locator" : "295:167", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2850", + "locator" : "295:170-295:171", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + }, + "hour" : { + "localId" : "2851", + "locator" : "295:174", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2852", + "locator" : "295:177", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2853", + "locator" : "295:180", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2854", + "locator" : "295:183", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2867", + "locator" : "295:187-295:219", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2858", + "locator" : "295:196-295:199", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2859", + "locator" : "295:202", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2860", + "locator" : "295:205-295:206", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2861", + "locator" : "295:209", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2862", + "locator" : "295:212", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2863", + "locator" : "295:215", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2864", + "locator" : "295:218", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2877", + "locator" : "295:222-295:254", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2868", + "locator" : "295:231-295:234", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2869", + "locator" : "295:237-295:238", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2870", + "locator" : "295:241", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "2871", + "locator" : "295:244", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2872", + "locator" : "295:247", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2873", + "locator" : "295:250", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2874", + "locator" : "295:253", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "2884", + "locator" : "297:1-297:257", + "name" : "NotEqual.NotEqualDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2884", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualDateTimeFalse\"",": " ] + }, { + "r" : "2952", + "s" : [ { + "r" : "2886", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2896", + "s" : [ { + "r" : "2887", + "value" : [ "DateTime","(","2001",", ","9",", ","11",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2906", + "s" : [ { + "r" : "2897", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2916", + "s" : [ { + "r" : "2907", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " ","!="," " ] + }, { + "r" : "2917", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "2927", + "s" : [ { + "r" : "2918", + "value" : [ "DateTime","(","2001",", ","9",", ","11",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2937", + "s" : [ { + "r" : "2928", + "value" : [ "DateTime","(","2012",", ","5",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "2947", + "s" : [ { + "r" : "2938", + "value" : [ "DateTime","(","2014",", ","12",", ","10",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2952", + "locator" : "297:42-297:257", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "2885", + "locator" : "297:42-297:257", + "type" : "Equal", + "signature" : [ { + "localId" : "2948", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2949", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2950", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2951", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2886", + "locator" : "297:42-297:147", + "type" : "List", + "element" : [ { + "localId" : "2896", + "locator" : "297:43-297:75", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2887", + "locator" : "297:52-297:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2888", + "locator" : "297:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2889", + "locator" : "297:61-297:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + }, + "hour" : { + "localId" : "2890", + "locator" : "297:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2891", + "locator" : "297:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2892", + "locator" : "297:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2893", + "locator" : "297:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2906", + "locator" : "297:78-297:110", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2897", + "locator" : "297:87-297:90", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2898", + "locator" : "297:93", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2899", + "locator" : "297:96-297:97", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2900", + "locator" : "297:100", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2901", + "locator" : "297:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2902", + "locator" : "297:106", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2903", + "locator" : "297:109", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2916", + "locator" : "297:113-297:146", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2907", + "locator" : "297:122-297:125", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2908", + "locator" : "297:128-297:129", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2909", + "locator" : "297:132-297:133", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2910", + "locator" : "297:136", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2911", + "locator" : "297:139", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2912", + "locator" : "297:142", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2913", + "locator" : "297:145", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + }, { + "localId" : "2917", + "locator" : "297:152-297:257", + "type" : "List", + "element" : [ { + "localId" : "2927", + "locator" : "297:153-297:185", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2918", + "locator" : "297:162-297:165", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "2919", + "locator" : "297:168", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "2920", + "locator" : "297:171-297:172", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + }, + "hour" : { + "localId" : "2921", + "locator" : "297:175", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2922", + "locator" : "297:178", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2923", + "locator" : "297:181", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2924", + "locator" : "297:184", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2937", + "locator" : "297:188-297:220", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2928", + "locator" : "297:197-297:200", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "2929", + "locator" : "297:203", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "2930", + "locator" : "297:206-297:207", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2931", + "locator" : "297:210", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2932", + "locator" : "297:213", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2933", + "locator" : "297:216", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2934", + "locator" : "297:219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "2947", + "locator" : "297:223-297:256", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "2938", + "locator" : "297:232-297:235", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "2939", + "locator" : "297:238-297:239", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "2940", + "locator" : "297:242-297:243", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "hour" : { + "localId" : "2941", + "locator" : "297:246", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "2942", + "locator" : "297:249", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "2943", + "locator" : "297:252", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2944", + "locator" : "297:255", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } ] + } ] + } + } + }, { + "localId" : "2954", + "locator" : "299:1-299:107", + "name" : "NotEqual.NotEqualTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2954", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualTimeTrue\"",": " ] + }, { + "r" : "2955", + "s" : [ { + "r" : "2956", + "s" : [ { + "r" : "2957", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "2967", + "s" : [ { + "r" : "2968", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2955", + "locator" : "299:37-299:107", + "type" : "Equal", + "signature" : [ { + "localId" : "2978", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2979", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "2980", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "2981", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2956", + "locator" : "299:37-299:70", + "type" : "List", + "element" : [ { + "localId" : "2957", + "locator" : "299:39-299:52", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2958", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2959", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2960", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2961", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2962", + "locator" : "299:55-299:68", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2963", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2964", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2965", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2966", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "2967", + "locator" : "299:74-299:107", + "type" : "List", + "element" : [ { + "localId" : "2968", + "locator" : "299:76-299:89", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2969", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2970", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2971", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2972", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2973", + "locator" : "299:92-299:105", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2974", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2975", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2976", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2977", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "2983", + "locator" : "301:1-301:108", + "name" : "NotEqual.NotEqualTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "2983", + "s" : [ { + "value" : [ "","define ","\"NotEqual.NotEqualTimeFalse\"",": " ] + }, { + "r" : "2984", + "s" : [ { + "r" : "2985", + "s" : [ { + "r" : "2986", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "value" : [ " ","="," " ] + }, { + "r" : "2996", + "s" : [ { + "r" : "2997", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "2984", + "locator" : "301:38-301:108", + "type" : "Equal", + "signature" : [ { + "localId" : "3007", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3008", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3009", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3010", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "2985", + "locator" : "301:38-301:71", + "type" : "List", + "element" : [ { + "localId" : "2986", + "locator" : "301:40-301:53", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2987", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2988", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2989", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2990", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "2991", + "locator" : "301:56-301:69", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2992", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "2993", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "2994", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "2995", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "2996", + "locator" : "301:75-301:108", + "type" : "List", + "element" : [ { + "localId" : "2997", + "locator" : "301:77-301:90", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "2998", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "2999", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3000", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3001", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3002", + "locator" : "301:93-301:106", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3003", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3004", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3005", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3006", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3012", + "locator" : "303:1-303:92", + "name" : "ProperContains.ProperContainsNullRightFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3012", + "s" : [ { + "value" : [ "","define ","\"ProperContains.ProperContainsNullRightFalse\"",": " ] + }, { + "r" : "3018", + "s" : [ { + "r" : "3013", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3014", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3015", + "s" : [ { + "value" : [ "'u'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3016", + "s" : [ { + "value" : [ "'n'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "3018", + "value" : [ " ","properly includes"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3018", + "locator" : "303:55-303:92", + "type" : "ProperIncludes", + "signature" : [ ], + "operand" : [ { + "localId" : "3013", + "locator" : "303:55-303:69", + "type" : "List", + "element" : [ { + "localId" : "3014", + "locator" : "303:56-303:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "3015", + "locator" : "303:61-303:63", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "u", + "type" : "Literal" + }, { + "localId" : "3016", + "locator" : "303:66-303:68", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n", + "type" : "Literal" + } ] + }, { + "localId" : "3019", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3017", + "locator" : "303:89-303:92", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3020", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3021", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "3025", + "locator" : "305:1-305:97", + "name" : "ProperContains.ProperContainsNullRightTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3025", + "s" : [ { + "value" : [ "","define ","\"ProperContains.ProperContainsNullRightTrue\"",": " ] + }, { + "r" : "3033", + "s" : [ { + "r" : "3026", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3027", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3028", + "s" : [ { + "value" : [ "'u'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3029", + "s" : [ { + "value" : [ "'n'" ] + } ] + }, { + "r" : "3030", + "value" : [ ", ","null","}" ] + } ] + }, { + "r" : "3033", + "value" : [ " ","properly includes"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3033", + "locator" : "305:54-305:97", + "type" : "ProperIncludes", + "signature" : [ ], + "operand" : [ { + "localId" : "3026", + "locator" : "305:54-305:74", + "type" : "List", + "element" : [ { + "localId" : "3027", + "locator" : "305:55-305:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "3028", + "locator" : "305:60-305:62", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "u", + "type" : "Literal" + }, { + "localId" : "3029", + "locator" : "305:65-305:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n", + "type" : "Literal" + }, { + "localId" : "3031", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3030", + "locator" : "305:70-305:73", + "type" : "Null" + } + } ] + }, { + "localId" : "3034", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3032", + "locator" : "305:94-305:97", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3035", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3036", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "3040", + "locator" : "307:1-307:123", + "name" : "ProperContains.ProperContainsTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3040", + "s" : [ { + "value" : [ "","define ","\"ProperContains.ProperContainsTimeTrue\"",": " ] + }, { + "r" : "3066", + "s" : [ { + "r" : "3041", + "s" : [ { + "r" : "3042", + "value" : [ "{ ","@T15:59:59",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + }, { + "r" : "3066", + "value" : [ " ","properly includes"," ","@T15:59:59" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3066", + "locator" : "307:49-307:123", + "type" : "ProperContains", + "signature" : [ { + "localId" : "3067", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3068", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3069", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "3041", + "locator" : "307:49-307:94", + "type" : "List", + "element" : [ { + "localId" : "3042", + "locator" : "307:51-307:60", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3043", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3044", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3045", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + } + }, { + "localId" : "3046", + "locator" : "307:63-307:76", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3047", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3048", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3049", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3050", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3051", + "locator" : "307:79-307:92", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3052", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3053", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3054", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3055", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "3056", + "locator" : "307:114-307:123", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3057", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3058", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3059", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "3071", + "locator" : "309:1-309:127", + "name" : "ProperContains.ProperContainsTimeNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3071", + "s" : [ { + "value" : [ "","define ","\"ProperContains.ProperContainsTimeNull\"",": " ] + }, { + "r" : "3098", + "s" : [ { + "r" : "3072", + "s" : [ { + "r" : "3073", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + }, { + "r" : "3098", + "value" : [ " ","properly includes"," ","@T15:59:59" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3098", + "locator" : "309:49-309:127", + "type" : "ProperContains", + "signature" : [ { + "localId" : "3099", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3100", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3101", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "3072", + "locator" : "309:49-309:98", + "type" : "List", + "element" : [ { + "localId" : "3073", + "locator" : "309:51-309:64", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3074", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3075", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3076", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3077", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3078", + "locator" : "309:67-309:80", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3079", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3080", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3081", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3082", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3083", + "locator" : "309:83-309:96", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3084", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3085", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3086", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3087", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "3088", + "locator" : "309:118-309:127", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3089", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3090", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3091", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "3103", + "locator" : "311:1-311:83", + "name" : "ProperIn.ProperInNullRightFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3103", + "s" : [ { + "value" : [ "","define ","\"ProperIn.ProperInNullRightFalse\"",": " ] + }, { + "r" : "3113", + "s" : [ { + "r" : "3104", + "value" : [ "null"," ","properly included in"," " ] + }, { + "r" : "3105", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3106", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3107", + "s" : [ { + "value" : [ "'u'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3108", + "s" : [ { + "value" : [ "'n'" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3113", + "locator" : "311:43-311:83", + "type" : "ProperIn", + "signature" : [ ], + "operand" : [ { + "localId" : "3104", + "locator" : "311:43-311:46", + "type" : "Null" + }, { + "localId" : "3105", + "locator" : "311:69-311:83", + "type" : "List", + "element" : [ { + "localId" : "3106", + "locator" : "311:70-311:72", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "3107", + "locator" : "311:75-311:77", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "u", + "type" : "Literal" + }, { + "localId" : "3108", + "locator" : "311:80-311:82", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3115", + "locator" : "313:1-313:88", + "name" : "ProperIn.ProperInNullRightTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3115", + "s" : [ { + "value" : [ "","define ","\"ProperIn.ProperInNullRightTrue\"",": " ] + }, { + "r" : "3127", + "s" : [ { + "r" : "3116", + "value" : [ "null"," ","properly included in"," " ] + }, { + "r" : "3117", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3118", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3119", + "s" : [ { + "value" : [ "'u'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3120", + "s" : [ { + "value" : [ "'n'" ] + } ] + }, { + "r" : "3121", + "value" : [ ", ","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3127", + "locator" : "313:42-313:88", + "type" : "ProperIn", + "signature" : [ ], + "operand" : [ { + "localId" : "3116", + "locator" : "313:42-313:45", + "type" : "Null" + }, { + "localId" : "3117", + "locator" : "313:68-313:88", + "type" : "List", + "element" : [ { + "localId" : "3118", + "locator" : "313:69-313:71", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "3119", + "locator" : "313:74-313:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "u", + "type" : "Literal" + }, { + "localId" : "3120", + "locator" : "313:79-313:81", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n", + "type" : "Literal" + }, { + "localId" : "3122", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3121", + "locator" : "313:84-313:87", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "3129", + "locator" : "315:1-315:114", + "name" : "ProperIn.ProperInTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3129", + "s" : [ { + "value" : [ "","define ","\"ProperIn.ProperInTimeTrue\"",": " ] + }, { + "r" : "3155", + "s" : [ { + "r" : "3130", + "value" : [ "@T15:59:59"," ","properly included in"," " ] + }, { + "r" : "3134", + "s" : [ { + "r" : "3135", + "value" : [ "{ ","@T15:59:59",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3155", + "locator" : "315:37-315:114", + "type" : "ProperIn", + "signature" : [ ], + "operand" : [ { + "localId" : "3130", + "locator" : "315:37-315:46", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3131", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3132", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3133", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + } + }, { + "localId" : "3134", + "locator" : "315:69-315:114", + "type" : "List", + "element" : [ { + "localId" : "3135", + "locator" : "315:71-315:80", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3136", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3137", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3138", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + } + }, { + "localId" : "3139", + "locator" : "315:83-315:96", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3140", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3142", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3143", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3144", + "locator" : "315:99-315:112", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3145", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3146", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3147", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3148", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3157", + "locator" : "317:1-317:118", + "name" : "ProperIn.ProperInTimeNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3157", + "s" : [ { + "value" : [ "","define ","\"ProperIn.ProperInTimeNull\"",": " ] + }, { + "r" : "3184", + "s" : [ { + "r" : "3158", + "value" : [ "@T15:59:59"," ","properly included in"," " ] + }, { + "r" : "3162", + "s" : [ { + "r" : "3163", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3184", + "locator" : "317:37-317:118", + "type" : "ProperIn", + "signature" : [ ], + "operand" : [ { + "localId" : "3158", + "locator" : "317:37-317:46", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3159", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3160", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3161", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + } + }, { + "localId" : "3162", + "locator" : "317:69-317:118", + "type" : "List", + "element" : [ { + "localId" : "3163", + "locator" : "317:71-317:84", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3164", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3165", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3166", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3167", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3168", + "locator" : "317:87-317:100", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3169", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3170", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3171", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3172", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3173", + "locator" : "317:103-317:116", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3174", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3175", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3176", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3177", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3186", + "locator" : "319:1-319:78", + "name" : "ProperlyIncludes.ProperIncludesEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3186", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludesEmptyAndEmpty\"",": " ] + }, { + "r" : "3189", + "s" : [ { + "r" : "3187", + "value" : [ "{}"," ","properly includes"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3189", + "locator" : "319:56-319:78", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3190", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3191", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3192", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3193", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3187", + "locator" : "319:56-319:57", + "type" : "List", + "element" : [ ] + }, { + "localId" : "3188", + "locator" : "319:77-319:78", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "3196", + "locator" : "321:1-321:92", + "name" : "ProperlyIncludes.ProperIncludesListNullAndListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3196", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludesListNullAndListNull\"",": " ] + }, { + "r" : "3201", + "s" : [ { + "r" : "3197", + "s" : [ { + "r" : "3198", + "value" : [ "{","null","}" ] + } ] + }, { + "r" : "3201", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3199", + "s" : [ { + "r" : "3200", + "value" : [ "{","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3201", + "locator" : "321:62-321:92", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3202", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3203", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3204", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3205", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3197", + "locator" : "321:62-321:67", + "type" : "List", + "element" : [ { + "localId" : "3198", + "locator" : "321:63-321:66", + "type" : "Null" + } ] + }, { + "localId" : "3199", + "locator" : "321:87-321:92", + "type" : "List", + "element" : [ { + "localId" : "3200", + "locator" : "321:88-321:91", + "type" : "Null" + } ] + } ] + } + }, { + "localId" : "3208", + "locator" : "323:1-323:83", + "name" : "ProperlyIncludes.ProperIncludes123AndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3208", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludes123AndEmpty\"",": " ] + }, { + "r" : "3214", + "s" : [ { + "r" : "3209", + "s" : [ { + "r" : "3210", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + }, { + "r" : "3214", + "value" : [ " ","properly includes"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3214", + "locator" : "323:54-323:83", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3215", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3216", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3217", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3218", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3209", + "locator" : "323:54-323:62", + "type" : "List", + "element" : [ { + "localId" : "3210", + "locator" : "323:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3211", + "locator" : "323:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3212", + "locator" : "323:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "3213", + "locator" : "323:82-323:83", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "3224", + "locator" : "325:1-325:80", + "name" : "ProperlyIncludes.ProperIncludes123And2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3224", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludes123And2\"",": " ] + }, { + "r" : "3231", + "s" : [ { + "r" : "3225", + "s" : [ { + "r" : "3226", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + }, { + "r" : "3231", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3229", + "s" : [ { + "r" : "3230", + "value" : [ "{","2","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3231", + "locator" : "325:50-325:80", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3232", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3233", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3234", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3235", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3225", + "locator" : "325:50-325:58", + "type" : "List", + "element" : [ { + "localId" : "3226", + "locator" : "325:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3227", + "locator" : "325:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3228", + "locator" : "325:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "3229", + "locator" : "325:78-325:80", + "type" : "List", + "element" : [ { + "localId" : "3230", + "locator" : "325:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3241", + "locator" : "327:1-327:80", + "name" : "ProperlyIncludes.ProperIncludes123And4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3241", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludes123And4\"",": " ] + }, { + "r" : "3248", + "s" : [ { + "r" : "3242", + "s" : [ { + "r" : "3243", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + }, { + "r" : "3248", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3246", + "s" : [ { + "r" : "3247", + "value" : [ "{","4","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3248", + "locator" : "327:50-327:80", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3249", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3250", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3251", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3252", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3242", + "locator" : "327:50-327:58", + "type" : "List", + "element" : [ { + "localId" : "3243", + "locator" : "327:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3244", + "locator" : "327:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3245", + "locator" : "327:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "3246", + "locator" : "327:78-327:80", + "type" : "List", + "element" : [ { + "localId" : "3247", + "locator" : "327:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3258", + "locator" : "329:1-329:190", + "name" : "ProperlyIncludes.ProperIncludesDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3258", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludesDateTimeTrue\"",": " ] + }, { + "r" : "3291", + "s" : [ { + "r" : "3259", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3265", + "s" : [ { + "r" : "3260", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3271", + "s" : [ { + "r" : "3266", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3277", + "s" : [ { + "r" : "3272", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "3291", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3278", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3284", + "s" : [ { + "r" : "3279", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3290", + "s" : [ { + "r" : "3285", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3291", + "locator" : "329:55-329:190", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3292", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3293", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3294", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3295", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3259", + "locator" : "329:55-329:124", + "type" : "List", + "element" : [ { + "localId" : "3265", + "locator" : "329:56-329:76", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3260", + "locator" : "329:65-329:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "3261", + "locator" : "329:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "3262", + "locator" : "329:74-329:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "3271", + "locator" : "329:79-329:99", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3266", + "locator" : "329:88-329:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3267", + "locator" : "329:94", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3268", + "locator" : "329:97-329:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3277", + "locator" : "329:102-329:123", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3272", + "locator" : "329:111-329:114", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3273", + "locator" : "329:117-329:118", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3274", + "locator" : "329:121-329:122", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "3278", + "locator" : "329:144-329:190", + "type" : "List", + "element" : [ { + "localId" : "3284", + "locator" : "329:145-329:165", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3279", + "locator" : "329:154-329:157", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3280", + "locator" : "329:160", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3281", + "locator" : "329:163-329:164", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3290", + "locator" : "329:168-329:189", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3285", + "locator" : "329:177-329:180", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3286", + "locator" : "329:183-329:184", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3287", + "locator" : "329:187-329:188", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3301", + "locator" : "331:1-331:214", + "name" : "ProperlyIncludes.ProperIncludesDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3301", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludesDateTimeFalse\"",": " ] + }, { + "r" : "3340", + "s" : [ { + "r" : "3302", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3308", + "s" : [ { + "r" : "3303", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3314", + "s" : [ { + "r" : "3309", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3320", + "s" : [ { + "r" : "3315", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "3340", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3321", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3327", + "s" : [ { + "r" : "3322", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3333", + "s" : [ { + "r" : "3328", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3339", + "s" : [ { + "r" : "3334", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3340", + "locator" : "331:56-331:214", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3341", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3342", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3343", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3344", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3302", + "locator" : "331:56-331:125", + "type" : "List", + "element" : [ { + "localId" : "3308", + "locator" : "331:57-331:77", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3303", + "locator" : "331:66-331:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "3304", + "locator" : "331:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "3305", + "locator" : "331:75-331:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "3314", + "locator" : "331:80-331:100", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3309", + "locator" : "331:89-331:92", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3310", + "locator" : "331:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3311", + "locator" : "331:98-331:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3320", + "locator" : "331:103-331:124", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3315", + "locator" : "331:112-331:115", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3316", + "locator" : "331:118-331:119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3317", + "locator" : "331:122-331:123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "3321", + "locator" : "331:145-331:214", + "type" : "List", + "element" : [ { + "localId" : "3327", + "locator" : "331:146-331:166", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3322", + "locator" : "331:155-331:158", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "3323", + "locator" : "331:161", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "3324", + "locator" : "331:164-331:165", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "3333", + "locator" : "331:169-331:189", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3328", + "locator" : "331:178-331:181", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3329", + "locator" : "331:184", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3330", + "locator" : "331:187-331:188", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3339", + "locator" : "331:192-331:213", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3334", + "locator" : "331:201-331:204", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3335", + "locator" : "331:207-331:208", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3336", + "locator" : "331:211-331:212", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3350", + "locator" : "333:1-333:153", + "name" : "ProperlyIncludes.ProperIncludesTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3350", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludesTimeTrue\"",": " ] + }, { + "r" : "3378", + "s" : [ { + "r" : "3351", + "s" : [ { + "r" : "3352", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + }, { + "r" : "3378", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3367", + "s" : [ { + "r" : "3368", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3378", + "locator" : "333:51-333:153", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3379", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3380", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3381", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3382", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3351", + "locator" : "333:51-333:100", + "type" : "List", + "element" : [ { + "localId" : "3352", + "locator" : "333:53-333:66", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3353", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3357", + "locator" : "333:69-333:82", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3358", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3359", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3360", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3361", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3362", + "locator" : "333:85-333:98", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3363", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3364", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3365", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3366", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "3367", + "locator" : "333:120-333:153", + "type" : "List", + "element" : [ { + "localId" : "3368", + "locator" : "333:122-333:135", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3369", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3370", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3371", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3372", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3373", + "locator" : "333:138-333:151", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3374", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3375", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3376", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3377", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3391", + "locator" : "335:1-335:170", + "name" : "ProperlyIncludes.ProperIncludesTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3391", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperIncludesTimeFalse\"",": " ] + }, { + "r" : "3424", + "s" : [ { + "r" : "3392", + "s" : [ { + "r" : "3393", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + }, { + "r" : "3424", + "value" : [ " ","properly includes"," " ] + }, { + "r" : "3408", + "s" : [ { + "r" : "3409", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T14:59:22.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3424", + "locator" : "335:52-335:170", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3425", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3426", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3427", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3428", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3392", + "locator" : "335:52-335:101", + "type" : "List", + "element" : [ { + "localId" : "3393", + "locator" : "335:54-335:67", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3394", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3395", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3396", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3397", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3398", + "locator" : "335:70-335:83", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3399", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3400", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3401", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3402", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3403", + "locator" : "335:86-335:99", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3404", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3405", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3406", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3407", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "3408", + "locator" : "335:121-335:170", + "type" : "List", + "element" : [ { + "localId" : "3409", + "locator" : "335:123-335:136", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3410", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3411", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3412", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3413", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3414", + "locator" : "335:139-335:152", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3415", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3416", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3417", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3418", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3419", + "locator" : "335:155-335:168", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3420", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + }, + "minute" : { + "localId" : "3421", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3422", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3423", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3437", + "locator" : "337:1-337:78", + "name" : "ProperlyIncludes.ProperlyIncludesNullLeft", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3437", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludes.ProperlyIncludesNullLeft\"",": " ] + }, { + "r" : "3441", + "s" : [ { + "r" : "3438", + "value" : [ "null"," ","properly includes"," " ] + }, { + "r" : "3439", + "s" : [ { + "r" : "3440", + "value" : [ "{","2","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3441", + "locator" : "337:53-337:78", + "type" : "ProperIncludes", + "signature" : [ { + "localId" : "3445", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3446", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3447", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3448", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3442", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3438", + "locator" : "337:53-337:56", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3443", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3444", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "3439", + "locator" : "337:76-337:78", + "type" : "List", + "element" : [ { + "localId" : "3440", + "locator" : "337:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3457", + "locator" : "339:1-339:85", + "name" : "ProperlyIncludedIn.ProperIncludedInEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3457", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInEmptyAndEmpty\"",": " ] + }, { + "r" : "3460", + "s" : [ { + "r" : "3458", + "value" : [ "{}"," ","properly included in"," ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3460", + "locator" : "339:60-339:85", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3461", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3462", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3463", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3464", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3458", + "locator" : "339:60-339:61", + "type" : "List", + "element" : [ ] + }, { + "localId" : "3459", + "locator" : "339:84-339:85", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "3467", + "locator" : "341:1-341:99", + "name" : "ProperlyIncludedIn.ProperIncludedInListNullAndListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3467", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInListNullAndListNull\"",": " ] + }, { + "r" : "3472", + "s" : [ { + "r" : "3468", + "s" : [ { + "r" : "3469", + "value" : [ "{","null","}" ] + } ] + }, { + "r" : "3472", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3470", + "s" : [ { + "r" : "3471", + "value" : [ "{","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3472", + "locator" : "341:66-341:99", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3473", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3474", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3475", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3476", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3468", + "locator" : "341:66-341:71", + "type" : "List", + "element" : [ { + "localId" : "3469", + "locator" : "341:67-341:70", + "type" : "Null" + } ] + }, { + "localId" : "3470", + "locator" : "341:94-341:99", + "type" : "List", + "element" : [ { + "localId" : "3471", + "locator" : "341:95-341:98", + "type" : "Null" + } ] + } ] + } + }, { + "localId" : "3479", + "locator" : "343:1-343:90", + "name" : "ProperlyIncludedIn.ProperIncludedInEmptyAnd123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3479", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInEmptyAnd123\"",": " ] + }, { + "r" : "3485", + "s" : [ { + "r" : "3480", + "value" : [ "{}"," ","properly included in"," " ] + }, { + "r" : "3481", + "s" : [ { + "r" : "3482", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3485", + "locator" : "343:58-343:90", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3486", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3487", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3488", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3489", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3480", + "locator" : "343:58-343:59", + "type" : "List", + "element" : [ ] + }, { + "localId" : "3481", + "locator" : "343:82-343:90", + "type" : "List", + "element" : [ { + "localId" : "3482", + "locator" : "343:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3483", + "locator" : "343:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3484", + "locator" : "343:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3492", + "locator" : "345:1-345:87", + "name" : "ProperlyIncludedIn.ProperIncludedIn2And123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3492", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedIn2And123\"",": " ] + }, { + "r" : "3499", + "s" : [ { + "r" : "3493", + "s" : [ { + "r" : "3494", + "value" : [ "{","2","}" ] + } ] + }, { + "r" : "3499", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3495", + "s" : [ { + "r" : "3496", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3499", + "locator" : "345:54-345:87", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3500", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3501", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3502", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3503", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3493", + "locator" : "345:54-345:56", + "type" : "List", + "element" : [ { + "localId" : "3494", + "locator" : "345:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + }, { + "localId" : "3495", + "locator" : "345:79-345:87", + "type" : "List", + "element" : [ { + "localId" : "3496", + "locator" : "345:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3497", + "locator" : "345:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3498", + "locator" : "345:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3506", + "locator" : "347:1-347:87", + "name" : "ProperlyIncludedIn.ProperIncludedIn4And123", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3506", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedIn4And123\"",": " ] + }, { + "r" : "3513", + "s" : [ { + "r" : "3507", + "s" : [ { + "r" : "3508", + "value" : [ "{","4","}" ] + } ] + }, { + "r" : "3513", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3509", + "s" : [ { + "r" : "3510", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3513", + "locator" : "347:54-347:87", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3514", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3515", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3516", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3517", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3507", + "locator" : "347:54-347:56", + "type" : "List", + "element" : [ { + "localId" : "3508", + "locator" : "347:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, { + "localId" : "3509", + "locator" : "347:79-347:87", + "type" : "List", + "element" : [ { + "localId" : "3510", + "locator" : "347:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3511", + "locator" : "347:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3512", + "locator" : "347:86", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3520", + "locator" : "349:1-349:197", + "name" : "ProperlyIncludedIn.ProperIncludedInDateTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3520", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInDateTimeTrue\"",": " ] + }, { + "r" : "3553", + "s" : [ { + "r" : "3521", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3527", + "s" : [ { + "r" : "3522", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3533", + "s" : [ { + "r" : "3528", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "3553", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3534", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3540", + "s" : [ { + "r" : "3535", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3546", + "s" : [ { + "r" : "3541", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3552", + "s" : [ { + "r" : "3547", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3553", + "locator" : "349:59-349:197", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3554", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3555", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3556", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3557", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3521", + "locator" : "349:59-349:105", + "type" : "List", + "element" : [ { + "localId" : "3527", + "locator" : "349:60-349:80", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3522", + "locator" : "349:69-349:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3523", + "locator" : "349:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3524", + "locator" : "349:78-349:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3533", + "locator" : "349:83-349:104", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3528", + "locator" : "349:92-349:95", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3529", + "locator" : "349:98-349:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3530", + "locator" : "349:102-349:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "3534", + "locator" : "349:128-349:197", + "type" : "List", + "element" : [ { + "localId" : "3540", + "locator" : "349:129-349:149", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3535", + "locator" : "349:138-349:141", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "3536", + "locator" : "349:144", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "3537", + "locator" : "349:147-349:148", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "3546", + "locator" : "349:152-349:172", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3541", + "locator" : "349:161-349:164", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3542", + "locator" : "349:167", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3543", + "locator" : "349:170-349:171", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3552", + "locator" : "349:175-349:196", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3547", + "locator" : "349:184-349:187", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3548", + "locator" : "349:190-349:191", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3549", + "locator" : "349:194-349:195", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3560", + "locator" : "351:1-351:221", + "name" : "ProperlyIncludedIn.ProperIncludedInDateTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3560", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInDateTimeFalse\"",": " ] + }, { + "r" : "3599", + "s" : [ { + "r" : "3561", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3567", + "s" : [ { + "r" : "3562", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3573", + "s" : [ { + "r" : "3568", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3579", + "s" : [ { + "r" : "3574", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "3599", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3580", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3586", + "s" : [ { + "r" : "3581", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3592", + "s" : [ { + "r" : "3587", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3598", + "s" : [ { + "r" : "3593", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3599", + "locator" : "351:60-351:221", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3600", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3601", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3602", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3603", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3561", + "locator" : "351:60-351:129", + "type" : "List", + "element" : [ { + "localId" : "3567", + "locator" : "351:61-351:81", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3562", + "locator" : "351:70-351:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "3563", + "locator" : "351:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "3564", + "locator" : "351:79-351:80", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "3573", + "locator" : "351:84-351:104", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3568", + "locator" : "351:93-351:96", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3569", + "locator" : "351:99", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3570", + "locator" : "351:102-351:103", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3579", + "locator" : "351:107-351:128", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3574", + "locator" : "351:116-351:119", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3575", + "locator" : "351:122-351:123", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3576", + "locator" : "351:126-351:127", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + }, { + "localId" : "3580", + "locator" : "351:152-351:221", + "type" : "List", + "element" : [ { + "localId" : "3586", + "locator" : "351:153-351:173", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3581", + "locator" : "351:162-351:165", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "3582", + "locator" : "351:168", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "3583", + "locator" : "351:171-351:172", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + }, { + "localId" : "3592", + "locator" : "351:176-351:196", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3587", + "locator" : "351:185-351:188", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3588", + "locator" : "351:191", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3589", + "locator" : "351:194-351:195", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "3598", + "locator" : "351:199-351:220", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3593", + "locator" : "351:208-351:211", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "3594", + "locator" : "351:214-351:215", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "3595", + "locator" : "351:218-351:219", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3606", + "locator" : "353:1-353:160", + "name" : "ProperlyIncludedIn.ProperIncludedInTimeTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3606", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInTimeTrue\"",": " ] + }, { + "r" : "3634", + "s" : [ { + "r" : "3607", + "s" : [ { + "r" : "3608", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999"," }" ] + } ] + }, { + "r" : "3634", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3618", + "s" : [ { + "r" : "3619", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3634", + "locator" : "353:55-353:160", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3635", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3636", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3637", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3638", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3607", + "locator" : "353:55-353:88", + "type" : "List", + "element" : [ { + "localId" : "3608", + "locator" : "353:57-353:70", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3609", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3610", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3611", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3612", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3613", + "locator" : "353:73-353:86", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3614", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3615", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3616", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3617", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "3618", + "locator" : "353:111-353:160", + "type" : "List", + "element" : [ { + "localId" : "3619", + "locator" : "353:113-353:126", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3620", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3621", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3622", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3623", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3624", + "locator" : "353:129-353:142", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3625", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3626", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3627", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3628", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3629", + "locator" : "353:145-353:158", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3630", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3631", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3632", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3633", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3641", + "locator" : "355:1-355:177", + "name" : "ProperlyIncludedIn.ProperIncludedInTimeFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3641", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperIncludedInTimeFalse\"",": " ] + }, { + "r" : "3674", + "s" : [ { + "r" : "3642", + "s" : [ { + "r" : "3643", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T14:59:22.999"," }" ] + } ] + }, { + "r" : "3674", + "value" : [ " ","properly included in"," " ] + }, { + "r" : "3658", + "s" : [ { + "r" : "3659", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T20:59:49.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3674", + "locator" : "355:56-355:177", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3675", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3676", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3677", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3678", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3642", + "locator" : "355:56-355:105", + "type" : "List", + "element" : [ { + "localId" : "3643", + "locator" : "355:58-355:71", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3644", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3645", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3646", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3647", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3648", + "locator" : "355:74-355:87", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3649", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3650", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3651", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3652", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3653", + "locator" : "355:90-355:103", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3654", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "14", + "type" : "Literal" + }, + "minute" : { + "localId" : "3655", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3656", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "22", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3657", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "3658", + "locator" : "355:128-355:177", + "type" : "List", + "element" : [ { + "localId" : "3659", + "locator" : "355:130-355:143", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3660", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3661", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3662", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3663", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3664", + "locator" : "355:146-355:159", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3665", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3666", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3667", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3668", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "3669", + "locator" : "355:162-355:175", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3670", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "3671", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3672", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "49", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3673", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "3681", + "locator" : "357:1-357:97", + "name" : "ProperlyIncludedIn.ProperlyIncludedInNulRight", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3681", + "s" : [ { + "value" : [ "","define ","\"ProperlyIncludedIn.ProperlyIncludedInNulRight\"",": " ] + }, { + "r" : "3687", + "s" : [ { + "r" : "3682", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "3683", + "s" : [ { + "value" : [ "'s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3684", + "s" : [ { + "value" : [ "'u'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3685", + "s" : [ { + "value" : [ "'n'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "3687", + "value" : [ " ","properly included in"," ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3687", + "locator" : "357:57-357:97", + "type" : "ProperIncludedIn", + "signature" : [ { + "localId" : "3691", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3692", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3693", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3694", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "3682", + "locator" : "357:57-357:71", + "type" : "List", + "element" : [ { + "localId" : "3683", + "locator" : "357:58-357:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "s", + "type" : "Literal" + }, { + "localId" : "3684", + "locator" : "357:63-357:65", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "u", + "type" : "Literal" + }, { + "localId" : "3685", + "locator" : "357:68-357:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n", + "type" : "Literal" + } ] + }, { + "localId" : "3688", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3686", + "locator" : "357:94-357:97", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3689", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3690", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "3706", + "locator" : "359:1-359:60", + "name" : "SingletonFrom.SingletonFromEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3706", + "s" : [ { + "value" : [ "","define ","\"SingletonFrom.SingletonFromEmpty\"",": " ] + }, { + "r" : "3707", + "s" : [ { + "r" : "3708", + "value" : [ "singleton from ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3707", + "locator" : "359:44-359:60", + "type" : "SingletonFrom", + "signature" : [ { + "localId" : "3709", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3710", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "3708", + "locator" : "359:59-359:60", + "type" : "List", + "element" : [ ] + } + } + }, { + "localId" : "3712", + "locator" : "361:1-361:67", + "name" : "SingletonFrom.SingletonFromListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3712", + "s" : [ { + "value" : [ "","define ","\"SingletonFrom.SingletonFromListNull\"",": " ] + }, { + "r" : "3713", + "s" : [ { + "value" : [ "singleton from " ] + }, { + "r" : "3714", + "s" : [ { + "r" : "3715", + "value" : [ "{","null","}" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3713", + "locator" : "361:47-361:67", + "type" : "SingletonFrom", + "signature" : [ { + "localId" : "3716", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3717", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "3714", + "locator" : "361:62-361:67", + "type" : "List", + "element" : [ { + "localId" : "3715", + "locator" : "361:63-361:66", + "type" : "Null" + } ] + } + } + }, { + "localId" : "3719", + "locator" : "363:1-363:59", + "name" : "SingletonFrom.SingletonFrom1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3719", + "s" : [ { + "value" : [ "","define ","\"SingletonFrom.SingletonFrom1\"",": " ] + }, { + "r" : "3720", + "s" : [ { + "value" : [ "singleton from " ] + }, { + "r" : "3721", + "s" : [ { + "r" : "3722", + "value" : [ "{ ","1"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3720", + "locator" : "363:40-363:59", + "type" : "SingletonFrom", + "signature" : [ { + "localId" : "3723", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3724", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "3721", + "locator" : "363:55-363:59", + "type" : "List", + "element" : [ { + "localId" : "3722", + "locator" : "363:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3726", + "locator" : "365:1-365:63", + "name" : "SingletonFrom.SingletonFrom12", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3726", + "s" : [ { + "value" : [ "","define ","\"SingletonFrom.SingletonFrom12\"",": " ] + }, { + "r" : "3727", + "s" : [ { + "value" : [ "singleton from " ] + }, { + "r" : "3728", + "s" : [ { + "r" : "3729", + "value" : [ "{ ","1",", ","2"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3727", + "locator" : "365:41-365:63", + "type" : "SingletonFrom", + "signature" : [ { + "localId" : "3731", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3732", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "3728", + "locator" : "365:56-365:63", + "type" : "List", + "element" : [ { + "localId" : "3729", + "locator" : "365:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3730", + "locator" : "365:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3734", + "locator" : "367:1-367:86", + "name" : "SingletonFrom.SingletonFromDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3734", + "s" : [ { + "value" : [ "","define ","\"SingletonFrom.SingletonFromDateTime\"",": " ] + }, { + "r" : "3735", + "s" : [ { + "value" : [ "singleton from " ] + }, { + "r" : "3736", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "3742", + "s" : [ { + "r" : "3737", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3735", + "locator" : "367:47-367:86", + "type" : "SingletonFrom", + "signature" : [ { + "localId" : "3743", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3744", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "3736", + "locator" : "367:62-367:86", + "type" : "List", + "element" : [ { + "localId" : "3742", + "locator" : "367:64-367:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "3737", + "locator" : "367:73-367:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "3738", + "locator" : "367:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "3739", + "locator" : "367:82-367:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "3746", + "locator" : "369:1-369:75", + "name" : "SingletonFrom.SingletonFromTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3746", + "s" : [ { + "value" : [ "","define ","\"SingletonFrom.SingletonFromTime\"",": " ] + }, { + "r" : "3747", + "s" : [ { + "value" : [ "singleton from " ] + }, { + "r" : "3748", + "s" : [ { + "r" : "3749", + "value" : [ "{ ","@T15:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3747", + "locator" : "369:43-369:75", + "type" : "SingletonFrom", + "signature" : [ { + "localId" : "3754", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3755", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : { + "localId" : "3748", + "locator" : "369:58-369:75", + "type" : "List", + "element" : [ { + "localId" : "3749", + "locator" : "369:60-369:73", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "3750", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "3751", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "3752", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "3753", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "3757", + "locator" : "371:1-371:37", + "name" : "Skip.SkipNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3757", + "s" : [ { + "value" : [ "","define ","\"Skip.SkipNull\"",": " ] + }, { + "r" : "3765", + "s" : [ { + "r" : "3758", + "value" : [ "Skip","(","null",", ","3",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3765", + "locator" : "371:25-371:37", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3767", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3758", + "locator" : "371:30-371:33", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3768", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3769", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, + "startIndex" : { + "localId" : "3759", + "locator" : "371:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3766", + "type" : "Null" + } + } + }, { + "localId" : "3771", + "locator" : "373:1-373:44", + "name" : "Skip.SkipEven", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3771", + "s" : [ { + "value" : [ "","define ","\"Skip.SkipEven\"",": " ] + }, { + "r" : "3781", + "s" : [ { + "value" : [ "Skip","(" ] + }, { + "r" : "3772", + "s" : [ { + "r" : "3773", + "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] + } ] + }, { + "r" : "3778", + "value" : [ ", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3781", + "locator" : "373:25-373:44", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3772", + "locator" : "373:30-373:40", + "type" : "List", + "element" : [ { + "localId" : "3773", + "locator" : "373:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3774", + "locator" : "373:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3775", + "locator" : "373:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3776", + "locator" : "373:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "3777", + "locator" : "373:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3778", + "locator" : "373:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3782", + "type" : "Null" + } + } + }, { + "localId" : "3784", + "locator" : "375:1-375:43", + "name" : "Skip.SkipOdd", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3784", + "s" : [ { + "value" : [ "","define ","\"Skip.SkipOdd\"",": " ] + }, { + "r" : "3794", + "s" : [ { + "value" : [ "Skip","(" ] + }, { + "r" : "3785", + "s" : [ { + "r" : "3786", + "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] + } ] + }, { + "r" : "3791", + "value" : [ ", ","3",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3794", + "locator" : "375:24-375:43", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3785", + "locator" : "375:29-375:39", + "type" : "List", + "element" : [ { + "localId" : "3786", + "locator" : "375:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3787", + "locator" : "375:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3788", + "locator" : "375:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3789", + "locator" : "375:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "3790", + "locator" : "375:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3791", + "locator" : "375:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3795", + "type" : "Null" + } + } + }, { + "localId" : "3797", + "locator" : "377:1-377:44", + "name" : "Skip.SkipNone", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3797", + "s" : [ { + "value" : [ "","define ","\"Skip.SkipNone\"",": " ] + }, { + "r" : "3807", + "s" : [ { + "value" : [ "Skip","(" ] + }, { + "r" : "3798", + "s" : [ { + "r" : "3799", + "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] + } ] + }, { + "r" : "3804", + "value" : [ ", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3807", + "locator" : "377:25-377:44", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3798", + "locator" : "377:30-377:40", + "type" : "List", + "element" : [ { + "localId" : "3799", + "locator" : "377:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3800", + "locator" : "377:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3801", + "locator" : "377:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3802", + "locator" : "377:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "3803", + "locator" : "377:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3804", + "locator" : "377:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3808", + "type" : "Null" + } + } + }, { + "localId" : "3810", + "locator" : "379:1-379:43", + "name" : "Skip.SkipAll", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3810", + "s" : [ { + "value" : [ "","define ","\"Skip.SkipAll\"",": " ] + }, { + "r" : "3820", + "s" : [ { + "value" : [ "Skip","(" ] + }, { + "r" : "3811", + "s" : [ { + "r" : "3812", + "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] + } ] + }, { + "r" : "3817", + "value" : [ ", ","5",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3820", + "locator" : "379:24-379:43", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3811", + "locator" : "379:29-379:39", + "type" : "List", + "element" : [ { + "localId" : "3812", + "locator" : "379:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3813", + "locator" : "379:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3814", + "locator" : "379:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3815", + "locator" : "379:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "3816", + "locator" : "379:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3817", + "locator" : "379:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3821", + "type" : "Null" + } + } + }, { + "localId" : "3823", + "locator" : "381:1-381:34", + "name" : "Tail.TailNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3823", + "s" : [ { + "value" : [ "","define ","\"Tail.TailNull\"",": " ] + }, { + "r" : "3830", + "s" : [ { + "r" : "3824", + "value" : [ "Tail","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3830", + "locator" : "381:25-381:34", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3833", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3824", + "locator" : "381:30-381:33", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3834", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3835", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, + "startIndex" : { + "localId" : "3831", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3832", + "type" : "Null" + } + } + }, { + "localId" : "3837", + "locator" : "383:1-383:39", + "name" : "Tail.TailEven", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3837", + "s" : [ { + "value" : [ "","define ","\"Tail.TailEven\"",": " ] + }, { + "r" : "3845", + "s" : [ { + "value" : [ "Tail","(" ] + }, { + "r" : "3838", + "s" : [ { + "r" : "3839", + "value" : [ "{","1",",","2",",","3",",","4","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3845", + "locator" : "383:25-383:39", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3838", + "locator" : "383:30-383:38", + "type" : "List", + "element" : [ { + "localId" : "3839", + "locator" : "383:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3840", + "locator" : "383:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3841", + "locator" : "383:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3842", + "locator" : "383:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3846", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3847", + "type" : "Null" + } + } + }, { + "localId" : "3849", + "locator" : "385:1-385:40", + "name" : "Tail.TailOdd", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3849", + "s" : [ { + "value" : [ "","define ","\"Tail.TailOdd\"",": " ] + }, { + "r" : "3858", + "s" : [ { + "value" : [ "Tail","(" ] + }, { + "r" : "3850", + "s" : [ { + "r" : "3851", + "value" : [ "{","1",",","2",",","3",",","4",",","5","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3858", + "locator" : "385:24-385:40", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3850", + "locator" : "385:29-385:39", + "type" : "List", + "element" : [ { + "localId" : "3851", + "locator" : "385:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3852", + "locator" : "385:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3853", + "locator" : "385:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3854", + "locator" : "385:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "3855", + "locator" : "385:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3859", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3860", + "type" : "Null" + } + } + }, { + "localId" : "3862", + "locator" : "387:1-387:33", + "name" : "Tail.TailEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3862", + "s" : [ { + "value" : [ "","define ","\"Tail.TailEmpty\"",": " ] + }, { + "r" : "3866", + "s" : [ { + "r" : "3863", + "value" : [ "Tail","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3866", + "locator" : "387:26-387:33", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3863", + "locator" : "387:31-387:32", + "type" : "List", + "element" : [ ] + }, + "startIndex" : { + "localId" : "3867", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3868", + "type" : "Null" + } + } + }, { + "localId" : "3870", + "locator" : "389:1-389:39", + "name" : "Tail.TailOneElement", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3870", + "s" : [ { + "value" : [ "","define ","\"Tail.TailOneElement\"",": " ] + }, { + "r" : "3875", + "s" : [ { + "value" : [ "Tail","(" ] + }, { + "r" : "3871", + "s" : [ { + "r" : "3872", + "value" : [ "{","1","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3875", + "locator" : "389:31-389:39", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3871", + "locator" : "389:36-389:38", + "type" : "List", + "element" : [ { + "localId" : "3872", + "locator" : "389:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3876", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3877", + "type" : "Null" + } + } + }, { + "localId" : "3879", + "locator" : "391:1-391:37", + "name" : "Take.TakeNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3879", + "s" : [ { + "value" : [ "","define ","\"Take.TakeNull\"",": " ] + }, { + "r" : "3887", + "s" : [ { + "r" : "3880", + "value" : [ "Take","(","null",", ","3",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3887", + "locator" : "391:25-391:37", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3891", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3880", + "locator" : "391:30-391:33", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3892", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "3893", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } + } + }, + "startIndex" : { + "localId" : "3888", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3889", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "3881", + "locator" : "391:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3890", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3895", + "locator" : "393:1-393:59", + "name" : "Take.TakeNullEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3895", + "s" : [ { + "value" : [ "","define ","\"Take.TakeNullEmpty\"",": " ] + }, { + "r" : "3905", + "s" : [ { + "value" : [ "Take","(" ] + }, { + "r" : "3896", + "s" : [ { + "r" : "3897", + "value" : [ "{","1",",","2",",","3","}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "3900", + "s" : [ { + "r" : "3901", + "value" : [ "null"," as " ] + }, { + "r" : "3902", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3905", + "locator" : "393:30-393:59", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3896", + "locator" : "393:35-393:41", + "type" : "List", + "element" : [ { + "localId" : "3897", + "locator" : "393:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3898", + "locator" : "393:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3899", + "locator" : "393:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3906", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3907", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "3900", + "locator" : "393:44-393:58", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "3901", + "locator" : "393:44-393:47", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "3902", + "locator" : "393:52-393:58", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "3908", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3910", + "locator" : "395:1-395:41", + "name" : "Take.TakeEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3910", + "s" : [ { + "value" : [ "","define ","\"Take.TakeEmpty\"",": " ] + }, { + "r" : "3918", + "s" : [ { + "value" : [ "Take","(" ] + }, { + "r" : "3911", + "s" : [ { + "r" : "3912", + "value" : [ "{","1",",","2",",","3","}" ] + } ] + }, { + "r" : "3915", + "value" : [ ", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3918", + "locator" : "395:26-395:41", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3911", + "locator" : "395:31-395:37", + "type" : "List", + "element" : [ { + "localId" : "3912", + "locator" : "395:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3913", + "locator" : "395:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3914", + "locator" : "395:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3919", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3920", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "3915", + "locator" : "395:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, { + "localId" : "3921", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3923", + "locator" : "397:1-397:42", + "name" : "Take.TakeEven", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3923", + "s" : [ { + "value" : [ "","define ","\"Take.TakeEven\"",": " ] + }, { + "r" : "3932", + "s" : [ { + "value" : [ "Take","(" ] + }, { + "r" : "3924", + "s" : [ { + "r" : "3925", + "value" : [ "{","1",",","2",",","3",",","4","}" ] + } ] + }, { + "r" : "3929", + "value" : [ ", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3932", + "locator" : "397:25-397:42", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3924", + "locator" : "397:30-397:38", + "type" : "List", + "element" : [ { + "localId" : "3925", + "locator" : "397:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3926", + "locator" : "397:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3927", + "locator" : "397:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3928", + "locator" : "397:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3933", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3934", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "3929", + "locator" : "397:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3935", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3937", + "locator" : "399:1-399:41", + "name" : "Take.TakeOdd", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3937", + "s" : [ { + "value" : [ "","define ","\"Take.TakeOdd\"",": " ] + }, { + "r" : "3946", + "s" : [ { + "value" : [ "Take","(" ] + }, { + "r" : "3938", + "s" : [ { + "r" : "3939", + "value" : [ "{","1",",","2",",","3",",","4","}" ] + } ] + }, { + "r" : "3943", + "value" : [ ", ","3",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3946", + "locator" : "399:24-399:41", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3938", + "locator" : "399:29-399:37", + "type" : "List", + "element" : [ { + "localId" : "3939", + "locator" : "399:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3940", + "locator" : "399:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3941", + "locator" : "399:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3942", + "locator" : "399:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3947", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3948", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "3943", + "locator" : "399:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3949", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3951", + "locator" : "401:1-401:41", + "name" : "Take.TakeAll", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3951", + "s" : [ { + "value" : [ "","define ","\"Take.TakeAll\"",": " ] + }, { + "r" : "3960", + "s" : [ { + "value" : [ "Take","(" ] + }, { + "r" : "3952", + "s" : [ { + "r" : "3953", + "value" : [ "{","1",",","2",",","3",",","4","}" ] + } ] + }, { + "r" : "3957", + "value" : [ ", ","4",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3960", + "locator" : "401:24-401:41", + "type" : "Slice", + "signature" : [ ], + "source" : { + "localId" : "3952", + "locator" : "401:29-401:37", + "type" : "List", + "element" : [ { + "localId" : "3953", + "locator" : "401:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3954", + "locator" : "401:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3955", + "locator" : "401:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + }, { + "localId" : "3956", + "locator" : "401:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + }, + "startIndex" : { + "localId" : "3961", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "endIndex" : { + "localId" : "3962", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "3957", + "locator" : "401:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, { + "localId" : "3963", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "3965", + "locator" : "403:1-403:46", + "name" : "Union.UnionEmptyAndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3965", + "s" : [ { + "value" : [ "","define ","\"Union.UnionEmptyAndEmpty\"",": " ] + }, { + "r" : "3968", + "s" : [ { + "r" : "3966", + "value" : [ "{}"," union ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3968", + "locator" : "403:36-403:46", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "3966", + "locator" : "403:36-403:37", + "type" : "List", + "element" : [ ] + }, { + "localId" : "3967", + "locator" : "403:45-403:46", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "3970", + "locator" : "405:1-405:64", + "name" : "Union.UnionListNullAndListNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3970", + "s" : [ { + "value" : [ "","define ","\"Union.UnionListNullAndListNull\"",": " ] + }, { + "r" : "3975", + "s" : [ { + "r" : "3971", + "s" : [ { + "r" : "3972", + "value" : [ "{ ","null"," }" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "3973", + "s" : [ { + "r" : "3974", + "value" : [ "{ ","null"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3975", + "locator" : "405:42-405:64", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "3971", + "locator" : "405:42-405:49", + "type" : "List", + "element" : [ { + "localId" : "3972", + "locator" : "405:44-405:47", + "type" : "Null" + } ] + }, { + "localId" : "3973", + "locator" : "405:57-405:64", + "type" : "List", + "element" : [ { + "localId" : "3974", + "locator" : "405:59-405:62", + "type" : "Null" + } ] + } ] + } + }, { + "localId" : "3977", + "locator" : "407:1-407:53", + "name" : "Union.Union123AndEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3977", + "s" : [ { + "value" : [ "","define ","\"Union.Union123AndEmpty\"",": " ] + }, { + "r" : "3983", + "s" : [ { + "r" : "3978", + "s" : [ { + "r" : "3979", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "r" : "3982", + "value" : [ " union ","{}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3983", + "locator" : "407:34-407:53", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "3978", + "locator" : "407:34-407:44", + "type" : "List", + "element" : [ { + "localId" : "3979", + "locator" : "407:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3980", + "locator" : "407:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3981", + "locator" : "407:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "3982", + "locator" : "407:52-407:53", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "3985", + "locator" : "409:1-409:52", + "name" : "Union.Union123And2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3985", + "s" : [ { + "value" : [ "","define ","\"Union.Union123And2\"",": " ] + }, { + "r" : "3992", + "s" : [ { + "r" : "3986", + "s" : [ { + "r" : "3987", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "3990", + "s" : [ { + "r" : "3991", + "value" : [ "{ ","2"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "3992", + "locator" : "409:30-409:52", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "3986", + "locator" : "409:30-409:40", + "type" : "List", + "element" : [ { + "localId" : "3987", + "locator" : "409:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3988", + "locator" : "409:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3989", + "locator" : "409:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "3990", + "locator" : "409:48-409:52", + "type" : "List", + "element" : [ { + "localId" : "3991", + "locator" : "409:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "3994", + "locator" : "411:1-411:52", + "name" : "Union.Union123And4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "3994", + "s" : [ { + "value" : [ "","define ","\"Union.Union123And4\"",": " ] + }, { + "r" : "4001", + "s" : [ { + "r" : "3995", + "s" : [ { + "r" : "3996", + "value" : [ "{ ","1",", ","2",", ","3"," }" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "3999", + "s" : [ { + "r" : "4000", + "value" : [ "{ ","4"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "4001", + "locator" : "411:30-411:52", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "3995", + "locator" : "411:30-411:40", + "type" : "List", + "element" : [ { + "localId" : "3996", + "locator" : "411:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "3997", + "locator" : "411:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "3998", + "locator" : "411:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + }, { + "localId" : "3999", + "locator" : "411:48-411:52", + "type" : "List", + "element" : [ { + "localId" : "4000", + "locator" : "411:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "4003", + "locator" : "413:1-413:109", + "name" : "Union.UnionDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "4003", + "s" : [ { + "value" : [ "","define ","\"Union.UnionDateTime\"",": " ] + }, { + "r" : "4024", + "s" : [ { + "r" : "4004", + "s" : [ { + "value" : [ "{ " ] + }, { + "r" : "4010", + "s" : [ { + "r" : "4005", + "value" : [ "DateTime","(","2001",", ","9",", ","11",")" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "4011", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "4017", + "s" : [ { + "r" : "4012", + "value" : [ "DateTime","(","2012",", ","5",", ","10",")" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "4023", + "s" : [ { + "r" : "4018", + "value" : [ "DateTime","(","2014",", ","12",", ","10",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "4024", + "locator" : "413:31-413:109", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "4004", + "locator" : "413:31-413:54", + "type" : "List", + "element" : [ { + "localId" : "4010", + "locator" : "413:33-413:53", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "4005", + "locator" : "413:42-413:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2001", + "type" : "Literal" + }, + "month" : { + "localId" : "4006", + "locator" : "413:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "day" : { + "localId" : "4007", + "locator" : "413:51-413:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "11", + "type" : "Literal" + } + } ] + }, { + "localId" : "4011", + "locator" : "413:62-413:109", + "type" : "List", + "element" : [ { + "localId" : "4017", + "locator" : "413:63-413:83", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "4012", + "locator" : "413:72-413:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "4013", + "locator" : "413:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "4014", + "locator" : "413:81-413:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "4023", + "locator" : "413:86-413:107", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "4018", + "locator" : "413:95-413:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "4019", + "locator" : "413:101-413:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "4020", + "locator" : "413:105-413:106", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "4026", + "locator" : "415:1-415:101", + "name" : "Union.UnionTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "4026", + "s" : [ { + "value" : [ "","define ","\"Union.UnionTime\"",": " ] + }, { + "r" : "4049", + "s" : [ { + "r" : "4027", + "s" : [ { + "r" : "4028", + "value" : [ "{ ","@T15:59:59.999",", ","@T20:59:59.999",", ","@T12:59:59.999"," }" ] + } ] + }, { + "value" : [ " union " ] + }, { + "r" : "4043", + "s" : [ { + "r" : "4044", + "value" : [ "{ ","@T10:59:59.999"," }" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "4049", + "locator" : "415:27-415:101", + "type" : "Union", + "signature" : [ ], + "operand" : [ { + "localId" : "4027", + "locator" : "415:27-415:76", + "type" : "List", + "element" : [ { + "localId" : "4028", + "locator" : "415:29-415:42", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "4029", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "4030", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "4031", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "4032", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "4033", + "locator" : "415:45-415:58", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "4034", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "20", + "type" : "Literal" + }, + "minute" : { + "localId" : "4035", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "4036", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "4037", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + }, { + "localId" : "4038", + "locator" : "415:61-415:74", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "4039", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "minute" : { + "localId" : "4040", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "4041", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "4042", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + }, { + "localId" : "4043", + "locator" : "415:84-415:101", + "type" : "List", + "element" : [ { + "localId" : "4044", + "locator" : "415:86-415:99", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "4045", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "4046", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "4047", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "4048", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } ] + } ] + } + } ] + } + } +} + diff --git a/cql/CqlListOperatorsTest.xml b/cql/CqlListOperatorsTest.xml new file mode 100644 index 0000000..c082c85 --- /dev/null +++ b/cql/CqlListOperatorsTest.xml @@ -0,0 +1,7675 @@ + + + + + + + + + + + + + + + library CqlListOperatorsTest + + + + + + + + + + + + define "Sort.simpleSortAsc": + + + + + ( + + {4, 5, 1, 6, 2, 1} + + ) + + sL + + + sort asc + + + + + + + + + + + + + + + + + + + + + + + define "Sort.simpleSortDesc": + + + + + ( + + {4, 5, 1, 6, 2, 1} + + ) + + sL + + + sort desc + + + + + + + + + + + + + + + + + + + + + + + define "Sort.simpleSortStringAsc": + + + + + ( + + { + + 'back' + + , + + 'aardvark' + + , + + 'alligator' + + , + + 'zebra' + + , + + 'iguana' + + , + + 'Wolf' + + , + + 'Armadillo' + + } + + ) + + sls + + + sort asc + + + + + + + + + + + + + + + + + + + + + + + + define "Sort.simpleSortStringDesc": + + + + + ( + + { + + 'back' + + , + + 'aardvark' + + , + + 'alligator' + + , + + 'zebra' + + , + + 'iguana' + + , + + 'Wolf' + + , + + 'Armadillo' + + } + + ) + + sls + + + sort desc + + + + + + + + + + + + + + + + + + + + + + + + define "Sort.SortDatesAsc": + + + + + ( + + { + + DateTime(2012, 10, 5, 10) + + , + + DateTime(2012, 1, 1) + + , + + DateTime(2012, 1, 1, 12) + + , + + DateTime(2012, 10, 5) + + } + + ) + + S + + + sort asc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Sort.SortDatesDesc": + + + + + ( + + { + + DateTime(2012, 10, 5, 10) + + , + + DateTime(2012, 1, 1) + + , + + DateTime(2012, 1, 1, 12) + + , + + DateTime(2012, 10, 5) + + } + + ) + + S + + + sort desc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Sort.intList": + + { 3, 2, 1 } + + + + + + + + + + + + + define "Sort.decimalList": + + { 3.8, 2.4, 1.9 } + + + + + + + + + + + + + define "Sort.quantityList": + + { + + 19.99 '[lb_av]' + + , + + 17.33 '[lb_av]' + + , + + 10.66 '[lb_av]' + + } + + + + + + + + + + + + + define "Sort.dateTimeList": + + { + + DateTime(2016) + + , + + DateTime(2015) + + , + + DateTime(2010) + + } + + + + + + + + + + + + + + + + + + + define "Sort.timeList": + + { @T15:59:59.999, @T15:12:59.999, @T15:12:13.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Contains.ContainsABNullHasNull": + + + { + + 'a' + + , + + 'b' + + , null } + + contains null + + + + + + + + + + + + + + + + + + + + define "Contains.ContainsNullFirst": + + + { null, + + 'b' + + , + + 'c' + + } + + contains + + 'a' + + + + + + + + + + + + + + + + + + + define "Contains.ContainsABCHasA": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + contains + + 'a' + + + + + + + + + + + + + + + + + define "Contains.ContainsJan2012True": + + + { + + DateTime(2012, 10, 5) + + , + + DateTime(2012, 9, 5) + + , + + DateTime(2012, 1, 1) + + } + + contains + + DateTime(2012, 1, 1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Contains.ContainsJan2012False": + + + { + + DateTime(2012, 10, 5) + + , + + DateTime(2012, 9, 5) + + , + + DateTime(2012, 10, 1) + + } + + contains + + DateTime(2012, 1, 1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Contains.ContainsTimeTrue": + + + { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } + + contains @T05:59:59.999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Contains.ContainsTimeFalse": + + + { @T15:59:59.999, @T05:59:59.999, @T20:59:59.999 } + + contains @T08:59:59.999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Contains.ContainsNullLeft": + + null contains + + 'a' + + + + + + + + + + + + + + + + + + + + + + define "Descendents.DescendentsEmptyList": + + + (null) + + . + + descendents() + + + + + + + + + + + + define "Distinct.DistinctEmptyList": + + distinct {} + + + + + + + + + + + define "Distinct.DistinctNullNullNull": + + distinct + + { null, null, null} + + + + + + + + + + + + + + + + define "Distinct.DistinctANullANull": + + distinct + + { + + 'a' + + , null, + + 'a' + + , null} + + + + + + + + + + + + + + + + + + + + + define "Distinct.Distinct112233": + + distinct + + { 1, 1, 2, 2, 3, 3} + + + + + + + + + + + + + + + + + + + define "Distinct.Distinct123123": + + distinct + + { 1, 2, 3, 1, 2, 3} + + + + + + + + + + + + + + + + + + + define "Distinct.DistinctAABBCC": + + distinct + + { + + 'a' + + , + + 'a' + + , + + 'b' + + , + + 'b' + + , + + 'c' + + , + + 'c' + + } + + + + + + + + + + + + + + + + + + + define "Distinct.DistinctABCABC": + + distinct + + { + + 'a' + + , + + 'b' + + , + + 'c' + + , + + 'a' + + , + + 'b' + + , + + 'c' + + } + + + + + + + + + + + + + + + + + + + define "Distinct.DistinctDateTime": + + distinct + + { + + DateTime(2012, 10, 5) + + , + + DateTime(2012, 1, 1) + + , + + DateTime(2012, 1, 1) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Distinct.DistinctTime": + + distinct + + { @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualNullNull": + + + {null} + + = + + {null} + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualEmptyListNull": + + + {} as + + List< + + String + + > + + + = null + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualNullEmptyList": + + null = + + {} as + + List< + + String + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualEmptyListAndEmptyList": + + {} = {} + + + + + + + + + + + + + + + + + + define "Equal.Equal12And123": + + + { 1, 2 } + + = + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.Equal123And12": + + + { 1, 2, 3 } + + = + + { 1, 2 } + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.Equal123And123": + + + { 1, 2, 3 } + + = + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualDateTimeTrue": + + + { + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + = + + { + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualDateTimeFalse": + + + { + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + = + + { + + DateTime(2012, 1, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualTimeTrue": + + + { @T15:59:59.999, @T20:59:59.999, @T20:59:59.999 } + + = + + { @T15:59:59.999, @T20:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equal.EqualTimeFalse": + + + { @T15:59:59.999, @T20:59:59.999, @T20:59:59.999 } + + = + + { @T10:59:59.999, @T20:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Except.ExceptEmptyListAndEmptyList": + + {} except {} + + + + + + + + + + + + define "Except.Except1234And23": + + + { 1, 2, 3, 4 } + + except + + { 2, 3 } + + + + + + + + + + + + + + + + + + + + + define "Except.Except23And1234": + + + { 2, 3 } + + except + + { 1, 2, 3, 4 } + + + + + + + + + + + + + + + + + + + + + define "Except.ExceptDateTimeList": + + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + , + + DateTime(2010, 1, 1) + + } + + except + + { + + DateTime(2014, 12, 10) + + , + + DateTime(2010, 1, 1) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Except.ExceptTimeList": + + + { @T15:59:59.999, @T20:59:59.999, @T12:59:59.999 } + + except + + { @T20:59:59.999, @T12:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Except.ExceptNullRight": + + + { 1, 4 } + + except null + + + + + + + + + + + + + + + + + + + + + + + + + + define "Exists.ExistsEmpty": + + Exists({}) + + + + + + + + + + + define "Exists.ExistsListNull": + + Exists( + + { null } + + ) + + + + + + + + + + + + + define "Exists.Exists1": + + Exists( + + { 1 } + + ) + + + + + + + + + + + + + define "Exists.Exists12": + + Exists( + + { 1, 2 } + + ) + + + + + + + + + + + + + + define "Exists.ExistsDateTime": + + Exists( + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + define "Exists.ExistsTime": + + Exists( + + { @T15:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + define "Exists.ExistsNull": + + Exists(null) + + + + + + + + + + + + + + + + define "Flatten.FlattenEmpty": + + Flatten( + + {{},{}} + + ) + + + + + + + + + + + + + + define "Flatten.FlattenListNullAndNull": + + Flatten( + + { + + {null} + + , + + {null} + + } + + ) + + + + + + + + + + + + + + + + + + define "Flatten.FlattenList12And34": + + Flatten( + + { + + {1,2} + + , + + {3,4} + + } + + ) + + + + + + + + + + + + + + + + + + + + define "Flatten.FlattenDateTime": + + Flatten( + + { + + { + + DateTime(2012, 5, 10) + + } + + , + + { + + DateTime(2014, 12, 10) + + } + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + define "Flatten.FlattenTime": + + Flatten( + + { + + {@T15:59:59.999} + + , + + {@T20:59:59.999} + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "First.FirstEmpty": + + First({}) + + + + + + + + + + + define "First.FirstNull1": + + First( + + { null, 1 } + + ) + + + + + + + + + + + + + + + + define "First.First1Null": + + First( + + { 1, null } + + ) + + + + + + + + + + + + + + + + define "First.First12": + + First( + + { 1, 2 } + + ) + + + + + + + + + + + + + + define "First.FirstDateTime": + + First( + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + define "First.FirstTime": + + First( + + { @T15:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + define "In.InNullEmpty": + + null in {} + + + + + + + + + + + + define "In.InNullAnd1Null": + + null in + + { 1, null } + + + + + + + + + + + + + + + + + + define "In.In1Null": + + 1 in null + + + + + + + + + + + + + + + + + + + + + define "In.In1And12": + + 1 in + + { 1, 2 } + + + + + + + + + + + + + + + + + + + + define "In.In3And12": + + 3 in + + { 1, 2 } + + + + + + + + + + + + + + + + + + + + define "In.InDateTimeTrue": + + + DateTime(2012, 5, 10) + + in + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "In.InDateTimeFalse": + + + DateTime(2012, 6, 10) + + in + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "In.InTimeTrue": + + @T15:59:59.999 in + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "In.InTimeFalse": + + @T16:59:59.999 in + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Includes.IncludesEmptyAndEmpty": + + {} includes {} + + + + + + + + + + + + define "Includes.IncludesListNullAndListNull": + + + {null} + + includes + + {null} + + + + + + + + + + + + + + + + + define "Includes.Includes123AndEmpty": + + + {1, 2, 3} + + includes {} + + + + + + + + + + + + + + + + define "Includes.Includes123And2": + + + {1, 2, 3} + + includes + + {2} + + + + + + + + + + + + + + + + + + + define "Includes.Includes123And4": + + + {1, 2, 3} + + includes + + {4} + + + + + + + + + + + + + + + + + + + define "Includes.IncludesDateTimeTrue": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + includes + + { + + DateTime(2012, 5, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Includes.IncludesDateTimeFalse": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + includes + + { + + DateTime(2012, 5, 11) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Includes.IncludesTimeTrue": + + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + includes @T15:59:59.999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Includes.IncludesTimeFalse": + + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + includes @T16:59:59.999 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Includes.IncludesNullLeft": + + null includes + + {2} + + + + + + + + + + + + + + + + + + + + + + + + + + define "Includes.IncludesNullRight": + + + { + + 's' + + , + + 'a' + + , + + 'm' + + } + + includes null + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInEmptyAndEmpty": + + {} included in {} + + + + + + + + + + + + define "IncludedIn.IncludedInListNullAndListNull": + + + { null } + + included in + + { null } + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInEmptyAnd123": + + {} included in + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedIn2And123": + + + { 2 } + + included in + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedIn4And123": + + + { 4 } + + included in + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInDateTimeTrue": + + + { + + DateTime(2012, 5, 10) + + } + + included in + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInDateTimeFalse": + + + { + + DateTime(2012, 5, 11) + + } + + included in + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInTimeTrue": + + @T15:59:59.999 included in + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInTimeFalse": + + @T16:59:59.999 included in + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInNullLeft": + + null included in + + {2} + + + + + + + + + + + + + + + + + + + + + define "IncludedIn.IncludedInNullRight": + + + { + + 's' + + , + + 'a' + + , + + 'm' + + } + + included in null + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Indexer.IndexerNull1List": + + + ( + + null as + + List< + + System.Any + + > + + + ) + + [1] + + + + + + + + + + + + + + + + + + + + + define "Indexer.Indexer0Of12": + + + { 1, 2 } + + [0] + + + + + + + + + + + + + + + + + + + define "Indexer.Indexer1Of12": + + + { 1, 2 } + + [1] + + + + + + + + + + + + + + + + + + + define "Indexer.Indexer2Of12": + + + { 1, 2 } + + [2] + + + + + + + + + + + + + + + + + + + define "Indexer.IndexerNeg1Of12": + + + { 1, 2 } + + [ + + -1 + + ] + + + + + + + + + + + + + + + + + + + + + + define "Indexer.IndexerDateTime": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + [1] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Indexer.IndexerTime": + + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + [1] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IndexOf.IndexOfEmptyNull": + + IndexOf({}, null) + + + + + + + + + + + + define "IndexOf.IndexOfNullEmpty": + + IndexOf(null, {}) + + + + + + + + + + + + + + + + + define "IndexOf.IndexOfNullIn1Null": + + IndexOf( + + { 1, null } + + , null) + + + + + + + + + + + + + + + + + define "IndexOf.IndexOf1In12": + + IndexOf( + + { 1, 2 } + + , 1) + + + + + + + + + + + + + + + define "IndexOf.IndexOf2In12": + + IndexOf( + + { 1, 2 } + + , 2) + + + + + + + + + + + + + + + define "IndexOf.IndexOf3In12": + + IndexOf( + + { 1, 2 } + + , 3) + + + + + + + + + + + + + + + define "IndexOf.IndexOfDateTime": + + IndexOf( + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + , + + DateTime(2014, 12, 10) + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "IndexOf.IndexOfTime": + + IndexOf( + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + , @T15:59:59.999) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Intersect.IntersectEmptyListAndEmptyList": + + {} intersect {} + + + + + + + + + + + + define "Intersect.Intersect1234And23": + + + { 1, 2, 3, 4 } + + intersect + + { 2, 3 } + + + + + + + + + + + + + + + + + + + + + define "Intersect.Intersect23And1234": + + + {2, 3} + + intersect + + { 1, 2, 3, 4 } + + + + + + + + + + + + + + + + + + + + + define "Intersect.IntersectDateTime": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + intersect + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + , + + DateTime(2000, 5, 5) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Intersect.IntersectTime": + + + { @T02:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + intersect + + { @T01:29:15.156, @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Last.LastEmpty": + + Last({}) + + + + + + + + + + + define "Last.LastNull1": + + Last( + + {null, 1} + + ) + + + + + + + + + + + + + + + + define "Last.Last1Null": + + Last( + + {1, null} + + ) + + + + + + + + + + + + + + + + define "Last.Last12": + + Last( + + {1, 2} + + ) + + + + + + + + + + + + + + define "Last.LastDateTime": + + Last( + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + define "Last.LastTime": + + Last( + + { @T15:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + define "Length.LengthEmptyList": + + Length({}) + + + + + + + + + + + + + + define "Length.LengthNull1": + + Length( + + {null, 1} + + ) + + + + + + + + + + + + + + + + + + + define "Length.Length1Null": + + Length( + + {1, null} + + ) + + + + + + + + + + + + + + + + + + + define "Length.Length12": + + Length( + + {1, 2} + + ) + + + + + + + + + + + + + + + + + define "Length.LengthDateTime": + + Length( + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Length.LengthTime": + + Length( + + { @T15:59:59.999, @T20:59:59.999, @T15:59:59.999, @T20:59:59.999, @T15:59:59.999, @T20:59:59.999 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Length.LengthNullList": + + Length( + + null as + + List< + + Any + + > + + + ) + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentEmptyAndEmpty": + + {} ~ {} + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentABCAndABC": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + ~ + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentABCAndAB": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + ~ + + { + + 'a' + + , + + 'b' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentABCAnd123": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + ~ + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.Equivalent123AndABC": + + + { 1, 2, 3 } + + ~ + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.Equivalent123AndString123": + + + { 1, 2, 3 } + + ~ + + { + + '1' + + , + + '2' + + , + + '3' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentDateTimeTrue": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + , null} + + ~ + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + , null} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentDateTimeNull": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + ~ + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + , null} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentDateTimeFalse": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + ~ + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 1) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentTimeTrue": + + + { @T15:59:59.999, @T20:59:59.999 } + + ~ + + { @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentTimeNull": + + + { @T15:59:59.999, @T20:59:59.999 } + + ~ + + { @T15:59:59.999, @T20:59:59.999, null } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Equivalent.EquivalentTimeFalse": + + + { @T15:59:59.999, @T20:59:59.999 } + + ~ + + { @T15:59:59.999, @T20:59:59.995 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualEmptyAndEmpty": + + {} != {} + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualABCAndABC": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + != + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualABCAndAB": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + != + + { + + 'a' + + , + + 'b' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualABCAnd123": + + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + != + + { 1, 2, 3 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqual123AndABC": + + + { 1, 2, 3 } + + != + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqual123AndString123": + + + { 1, 2, 3 } + + != + + { + + '1' + + , + + '2' + + , + + '3' + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualDateTimeTrue": + + + { + + DateTime(2001, 9, 11, 0, 0, 0, 0) + + , + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + != + + { + + DateTime(2001, 9, 11, 0, 0, 0, 0) + + , + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 1, 0, 0, 0, 0) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualDateTimeFalse": + + + { + + DateTime(2001, 9, 11, 0, 0, 0, 0) + + , + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + != + + { + + DateTime(2001, 9, 11, 0, 0, 0, 0) + + , + + DateTime(2012, 5, 10, 0, 0, 0, 0) + + , + + DateTime(2014, 12, 10, 0, 0, 0, 0) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualTimeTrue": + + + { @T15:59:59.999, @T20:59:59.999 } + + = + + { @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "NotEqual.NotEqualTimeFalse": + + + { @T15:59:59.999, @T20:59:59.999 } + + = + + { @T15:59:59.999, @T20:59:49.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperContains.ProperContainsNullRightFalse": + + + { + + 's' + + , + + 'u' + + , + + 'n' + + } + + properly includes null + + + + + + + + + + + + + + + + + + + + + define "ProperContains.ProperContainsNullRightTrue": + + + { + + 's' + + , + + 'u' + + , + + 'n' + + , null} + + properly includes null + + + + + + + + + + + + + + + + + + + + + + + + define "ProperContains.ProperContainsTimeTrue": + + + { @T15:59:59, @T20:59:59.999, @T20:59:49.999 } + + properly includes @T15:59:59 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperContains.ProperContainsTimeNull": + + + { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + + properly includes @T15:59:59 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperIn.ProperInNullRightFalse": + + null properly included in + + { + + 's' + + , + + 'u' + + , + + 'n' + + } + + + + + + + + + + + + + + + + + define "ProperIn.ProperInNullRightTrue": + + null properly included in + + { + + 's' + + , + + 'u' + + , + + 'n' + + , null} + + + + + + + + + + + + + + + + + + + + define "ProperIn.ProperInTimeTrue": + + @T15:59:59 properly included in + + { @T15:59:59, @T20:59:59.999, @T20:59:49.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperIn.ProperInTimeNull": + + @T15:59:59 properly included in + + { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludesEmptyAndEmpty": + + {} properly includes {} + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludesListNullAndListNull": + + + {null} + + properly includes + + {null} + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludes123AndEmpty": + + + {1, 2, 3} + + properly includes {} + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludes123And2": + + + {1, 2, 3} + + properly includes + + {2} + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludes123And4": + + + {1, 2, 3} + + properly includes + + {4} + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludesDateTimeTrue": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + properly includes + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludesDateTimeFalse": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + properly includes + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludesTimeTrue": + + + { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + + properly includes + + { @T15:59:59.999, @T20:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperIncludesTimeFalse": + + + { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + + properly includes + + { @T15:59:59.999, @T20:59:59.999, @T14:59:22.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludes.ProperlyIncludesNullLeft": + + null properly includes + + {2} + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInEmptyAndEmpty": + + {} properly included in {} + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInListNullAndListNull": + + + {null} + + properly included in + + {null} + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInEmptyAnd123": + + {} properly included in + + {1, 2, 3} + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedIn2And123": + + + {2} + + properly included in + + {1, 2, 3} + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedIn4And123": + + + {4} + + properly included in + + {1, 2, 3} + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInDateTimeTrue": + + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + properly included in + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInDateTimeFalse": + + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + properly included in + + { + + DateTime(2001, 9, 11) + + , + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInTimeTrue": + + + { @T15:59:59.999, @T20:59:59.999 } + + properly included in + + { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperIncludedInTimeFalse": + + + { @T15:59:59.999, @T20:59:59.999, @T14:59:22.999 } + + properly included in + + { @T15:59:59.999, @T20:59:59.999, @T20:59:49.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "ProperlyIncludedIn.ProperlyIncludedInNulRight": + + + { + + 's' + + , + + 'u' + + , + + 'n' + + } + + properly included in null + + + + + + + + + + + + + + + + + + + + + + + + + + + define "SingletonFrom.SingletonFromEmpty": + + singleton from {} + + + + + + + + + + + + + + define "SingletonFrom.SingletonFromListNull": + + singleton from + + {null} + + + + + + + + + + + + + + + + + define "SingletonFrom.SingletonFrom1": + + singleton from + + { 1 } + + + + + + + + + + + + + + + + + define "SingletonFrom.SingletonFrom12": + + singleton from + + { 1, 2 } + + + + + + + + + + + + + + + + + + define "SingletonFrom.SingletonFromDateTime": + + singleton from + + { + + DateTime(2012, 5, 10) + + } + + + + + + + + + + + + + + + + + + + + + define "SingletonFrom.SingletonFromTime": + + singleton from + + { @T15:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + define "Skip.SkipNull": + + Skip(null, 3) + + + + + + + + + + + + + + + + + + define "Skip.SkipEven": + + Skip( + + {1,2,3,4,5} + + , 2) + + + + + + + + + + + + + + + + + + + define "Skip.SkipOdd": + + Skip( + + {1,2,3,4,5} + + , 3) + + + + + + + + + + + + + + + + + + + define "Skip.SkipNone": + + Skip( + + {1,2,3,4,5} + + , 0) + + + + + + + + + + + + + + + + + + + define "Skip.SkipAll": + + Skip( + + {1,2,3,4,5} + + , 5) + + + + + + + + + + + + + + + + + + + define "Tail.TailNull": + + Tail(null) + + + + + + + + + + + + + + + + + + define "Tail.TailEven": + + Tail( + + {1,2,3,4} + + ) + + + + + + + + + + + + + + + + + + define "Tail.TailOdd": + + Tail( + + {1,2,3,4,5} + + ) + + + + + + + + + + + + + + + + + + + define "Tail.TailEmpty": + + Tail({}) + + + + + + + + + + + + + define "Tail.TailOneElement": + + Tail( + + {1} + + ) + + + + + + + + + + + + + + + define "Take.TakeNull": + + Take(null, 3) + + + + + + + + + + + + + + + + + + + + + define "Take.TakeNullEmpty": + + Take( + + {1,2,3} + + , + + null as + + Integer + + + ) + + + + + + + + + + + + + + + + + + + + + + + define "Take.TakeEmpty": + + Take( + + {1,2,3} + + , 0) + + + + + + + + + + + + + + + + + + + + define "Take.TakeEven": + + Take( + + {1,2,3,4} + + , 2) + + + + + + + + + + + + + + + + + + + + + define "Take.TakeOdd": + + Take( + + {1,2,3,4} + + , 3) + + + + + + + + + + + + + + + + + + + + + define "Take.TakeAll": + + Take( + + {1,2,3,4} + + , 4) + + + + + + + + + + + + + + + + + + + + + define "Union.UnionEmptyAndEmpty": + + {} union {} + + + + + + + + + + + + define "Union.UnionListNullAndListNull": + + + { null } + + union + + { null } + + + + + + + + + + + + + + + + + define "Union.Union123AndEmpty": + + + { 1, 2, 3 } + + union {} + + + + + + + + + + + + + + + + define "Union.Union123And2": + + + { 1, 2, 3 } + + union + + { 2 } + + + + + + + + + + + + + + + + + + + define "Union.Union123And4": + + + { 1, 2, 3 } + + union + + { 4 } + + + + + + + + + + + + + + + + + + + define "Union.UnionDateTime": + + + { + + DateTime(2001, 9, 11) + + } + + union + + { + + DateTime(2012, 5, 10) + + , + + DateTime(2014, 12, 10) + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Union.UnionTime": + + + { @T15:59:59.999, @T20:59:59.999, @T12:59:59.999 } + + union + + { @T10:59:59.999 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cql/CqlLogicalOperatorsTest.cql b/cql/CqlLogicalOperatorsTest.cql new file mode 100644 index 0000000..6493ff0 --- /dev/null +++ b/cql/CqlLogicalOperatorsTest.cql @@ -0,0 +1,80 @@ +library CqlLogicalOperatorsTest + +define "And.TrueAndTrue": true and true + +define "And.TrueAndFalse": true and false + +define "And.TrueAndNull": true and null + +define "And.FalseAndTrue": false and true + +define "And.FalseAndFalse": false and false + +define "And.FalseAndNull": false and null + +define "And.NullAndTrue": null and true + +define "And.NullAndFalse": null and false + +define "And.NullAndNull": null and null + +define "Implies.TrueImpliesTrue": true implies true + +define "Implies.TrueImpliesFalse": true implies false + +define "Implies.TrueImpliesNull": true implies null + +define "Implies.FalseImpliesTrue": false implies true + +define "Implies.FalseImpliesFalse": false implies false + +define "Implies.FalseImpliesNull": false implies null + +define "Implies.NullImpliesTrue": null implies true + +define "Implies.NullImpliesFalse": null implies false + +define "Implies.NullImpliesNull": null implies null + +define "Not.NotTrue": not true + +define "Not.NotFalse": not false + +define "Not.NotNull": not null + +define "Or.TrueOrTrue": true or true + +define "Or.TrueOrFalse": true or false + +define "Or.TrueOrNull": true or null + +define "Or.FalseOrTrue": false or true + +define "Or.FalseOrFalse": false or false + +define "Or.FalseOrNull": false or null + +define "Or.NullOrTrue": null or true + +define "Or.NullOrFalse": null or false + +define "Or.NullOrNull": null or null + +define "Xor.TrueXorTrue": true xor true + +define "Xor.TrueXorFalse": true xor false + +define "Xor.TrueXorNull": true xor null + +define "Xor.FalseXorTrue": false xor true + +define "Xor.FalseXorFalse": false xor false + +define "Xor.FalseXorNull": false xor null + +define "Xor.NullXorTrue": null xor true + +define "Xor.NullXorFalse": null xor false + +define "Xor.NullXorNull": null xor null + diff --git a/cql/CqlLogicalOperatorsTest.json b/cql/CqlLogicalOperatorsTest.json new file mode 100644 index 0000000..11aa515 --- /dev/null +++ b/cql/CqlLogicalOperatorsTest.json @@ -0,0 +1,1679 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "417", + "s" : [ { + "value" : [ "","library CqlLogicalOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlLogicalOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:39", + "name" : "And.TrueAndTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"And.TrueAndTrue\"",": " ] + }, { + "r" : "208", + "s" : [ { + "r" : "209", + "value" : [ "true"," and ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "208", + "locator" : "3:27-3:39", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "209", + "locator" : "3:27-3:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "210", + "locator" : "3:36-3:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "212", + "locator" : "5:1-5:41", + "name" : "And.TrueAndFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "","define ","\"And.TrueAndFalse\"",": " ] + }, { + "r" : "213", + "s" : [ { + "r" : "214", + "value" : [ "true"," and ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "213", + "locator" : "5:28-5:41", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "214", + "locator" : "5:28-5:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "215", + "locator" : "5:37-5:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "217", + "locator" : "7:1-7:39", + "name" : "And.TrueAndNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "","define ","\"And.TrueAndNull\"",": " ] + }, { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "true"," and ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "218", + "locator" : "7:27-7:39", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "219", + "locator" : "7:27-7:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "221", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "220", + "locator" : "7:36-7:39", + "type" : "Null" + } + } ] + } + }, { + "localId" : "223", + "locator" : "9:1-9:41", + "name" : "And.FalseAndTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "223", + "s" : [ { + "value" : [ "","define ","\"And.FalseAndTrue\"",": " ] + }, { + "r" : "224", + "s" : [ { + "r" : "225", + "value" : [ "false"," and ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "224", + "locator" : "9:28-9:41", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "225", + "locator" : "9:28-9:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "226", + "locator" : "9:38-9:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "228", + "locator" : "11:1-11:43", + "name" : "And.FalseAndFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "228", + "s" : [ { + "value" : [ "","define ","\"And.FalseAndFalse\"",": " ] + }, { + "r" : "229", + "s" : [ { + "r" : "230", + "value" : [ "false"," and ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "229", + "locator" : "11:29-11:43", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "230", + "locator" : "11:29-11:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "231", + "locator" : "11:39-11:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "233", + "locator" : "13:1-13:41", + "name" : "And.FalseAndNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "","define ","\"And.FalseAndNull\"",": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "false"," and ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "234", + "locator" : "13:28-13:41", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "235", + "locator" : "13:28-13:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "237", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "236", + "locator" : "13:38-13:41", + "type" : "Null" + } + } ] + } + }, { + "localId" : "239", + "locator" : "15:1-15:39", + "name" : "And.NullAndTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "239", + "s" : [ { + "value" : [ "","define ","\"And.NullAndTrue\"",": " ] + }, { + "r" : "240", + "s" : [ { + "r" : "241", + "value" : [ "null"," and ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "240", + "locator" : "15:27-15:39", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "243", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "241", + "locator" : "15:27-15:30", + "type" : "Null" + } + }, { + "localId" : "242", + "locator" : "15:36-15:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "245", + "locator" : "17:1-17:41", + "name" : "And.NullAndFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "245", + "s" : [ { + "value" : [ "","define ","\"And.NullAndFalse\"",": " ] + }, { + "r" : "246", + "s" : [ { + "r" : "247", + "value" : [ "null"," and ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "246", + "locator" : "17:28-17:41", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "249", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "247", + "locator" : "17:28-17:31", + "type" : "Null" + } + }, { + "localId" : "248", + "locator" : "17:37-17:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "251", + "locator" : "19:1-19:39", + "name" : "And.NullAndNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "251", + "s" : [ { + "value" : [ "","define ","\"And.NullAndNull\"",": " ] + }, { + "r" : "252", + "s" : [ { + "r" : "253", + "value" : [ "null"," and ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "252", + "locator" : "19:27-19:39", + "type" : "And", + "signature" : [ ], + "operand" : [ { + "localId" : "255", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "253", + "locator" : "19:27-19:30", + "type" : "Null" + } + }, { + "localId" : "256", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "254", + "locator" : "19:36-19:39", + "type" : "Null" + } + } ] + } + }, { + "localId" : "258", + "locator" : "21:1-21:51", + "name" : "Implies.TrueImpliesTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "258", + "s" : [ { + "value" : [ "","define ","\"Implies.TrueImpliesTrue\"",": " ] + }, { + "r" : "259", + "s" : [ { + "r" : "260", + "value" : [ "true"," implies ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "259", + "locator" : "21:35-21:51", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "260", + "locator" : "21:35-21:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "261", + "locator" : "21:48-21:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "263", + "locator" : "23:1-23:53", + "name" : "Implies.TrueImpliesFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "","define ","\"Implies.TrueImpliesFalse\"",": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "265", + "value" : [ "true"," implies ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "264", + "locator" : "23:36-23:53", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "265", + "locator" : "23:36-23:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "266", + "locator" : "23:49-23:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "268", + "locator" : "25:1-25:51", + "name" : "Implies.TrueImpliesNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "","define ","\"Implies.TrueImpliesNull\"",": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "270", + "value" : [ "true"," implies ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "269", + "locator" : "25:35-25:51", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "270", + "locator" : "25:35-25:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "272", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "271", + "locator" : "25:48-25:51", + "type" : "Null" + } + } ] + } + }, { + "localId" : "274", + "locator" : "27:1-27:53", + "name" : "Implies.FalseImpliesTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "","define ","\"Implies.FalseImpliesTrue\"",": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "276", + "value" : [ "false"," implies ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "275", + "locator" : "27:36-27:53", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "276", + "locator" : "27:36-27:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "277", + "locator" : "27:50-27:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "279", + "locator" : "29:1-29:55", + "name" : "Implies.FalseImpliesFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "","define ","\"Implies.FalseImpliesFalse\"",": " ] + }, { + "r" : "280", + "s" : [ { + "r" : "281", + "value" : [ "false"," implies ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "280", + "locator" : "29:37-29:55", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "281", + "locator" : "29:37-29:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "282", + "locator" : "29:51-29:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "284", + "locator" : "31:1-31:53", + "name" : "Implies.FalseImpliesNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "284", + "s" : [ { + "value" : [ "","define ","\"Implies.FalseImpliesNull\"",": " ] + }, { + "r" : "285", + "s" : [ { + "r" : "286", + "value" : [ "false"," implies ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "285", + "locator" : "31:36-31:53", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "286", + "locator" : "31:36-31:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "288", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "287", + "locator" : "31:50-31:53", + "type" : "Null" + } + } ] + } + }, { + "localId" : "290", + "locator" : "33:1-33:51", + "name" : "Implies.NullImpliesTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "290", + "s" : [ { + "value" : [ "","define ","\"Implies.NullImpliesTrue\"",": " ] + }, { + "r" : "291", + "s" : [ { + "r" : "292", + "value" : [ "null"," implies ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "291", + "locator" : "33:35-33:51", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "294", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "292", + "locator" : "33:35-33:38", + "type" : "Null" + } + }, { + "localId" : "293", + "locator" : "33:48-33:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "296", + "locator" : "35:1-35:53", + "name" : "Implies.NullImpliesFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "","define ","\"Implies.NullImpliesFalse\"",": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "298", + "value" : [ "null"," implies ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "297", + "locator" : "35:36-35:53", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "300", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "298", + "locator" : "35:36-35:39", + "type" : "Null" + } + }, { + "localId" : "299", + "locator" : "35:49-35:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "302", + "locator" : "37:1-37:51", + "name" : "Implies.NullImpliesNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "302", + "s" : [ { + "value" : [ "","define ","\"Implies.NullImpliesNull\"",": " ] + }, { + "r" : "303", + "s" : [ { + "r" : "304", + "value" : [ "null"," implies ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "303", + "locator" : "37:35-37:51", + "type" : "Implies", + "signature" : [ ], + "operand" : [ { + "localId" : "306", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "304", + "locator" : "37:35-37:38", + "type" : "Null" + } + }, { + "localId" : "307", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "305", + "locator" : "37:48-37:51", + "type" : "Null" + } + } ] + } + }, { + "localId" : "309", + "locator" : "39:1-39:30", + "name" : "Not.NotTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "","define ","\"Not.NotTrue\"",": " ] + }, { + "r" : "310", + "s" : [ { + "r" : "311", + "value" : [ "not ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "310", + "locator" : "39:23-39:30", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "311", + "locator" : "39:27-39:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } + } + }, { + "localId" : "313", + "locator" : "41:1-41:32", + "name" : "Not.NotFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "313", + "s" : [ { + "value" : [ "","define ","\"Not.NotFalse\"",": " ] + }, { + "r" : "314", + "s" : [ { + "r" : "315", + "value" : [ "not ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "314", + "locator" : "41:24-41:32", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "315", + "locator" : "41:28-41:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } + } + }, { + "localId" : "317", + "locator" : "43:1-43:30", + "name" : "Not.NotNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "317", + "s" : [ { + "value" : [ "","define ","\"Not.NotNull\"",": " ] + }, { + "r" : "318", + "s" : [ { + "r" : "319", + "value" : [ "not ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "318", + "locator" : "43:23-43:30", + "type" : "Not", + "signature" : [ ], + "operand" : { + "localId" : "320", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "319", + "locator" : "43:27-43:30", + "type" : "Null" + } + } + } + }, { + "localId" : "322", + "locator" : "45:1-45:36", + "name" : "Or.TrueOrTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "322", + "s" : [ { + "value" : [ "","define ","\"Or.TrueOrTrue\"",": " ] + }, { + "r" : "323", + "s" : [ { + "r" : "324", + "value" : [ "true"," or ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "323", + "locator" : "45:25-45:36", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "324", + "locator" : "45:25-45:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "325", + "locator" : "45:33-45:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "327", + "locator" : "47:1-47:38", + "name" : "Or.TrueOrFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "","define ","\"Or.TrueOrFalse\"",": " ] + }, { + "r" : "328", + "s" : [ { + "r" : "329", + "value" : [ "true"," or ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "328", + "locator" : "47:26-47:38", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "329", + "locator" : "47:26-47:29", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "330", + "locator" : "47:34-47:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "332", + "locator" : "49:1-49:36", + "name" : "Or.TrueOrNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "","define ","\"Or.TrueOrNull\"",": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "334", + "value" : [ "true"," or ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "333", + "locator" : "49:25-49:36", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "334", + "locator" : "49:25-49:28", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "336", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "335", + "locator" : "49:33-49:36", + "type" : "Null" + } + } ] + } + }, { + "localId" : "338", + "locator" : "51:1-51:38", + "name" : "Or.FalseOrTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "338", + "s" : [ { + "value" : [ "","define ","\"Or.FalseOrTrue\"",": " ] + }, { + "r" : "339", + "s" : [ { + "r" : "340", + "value" : [ "false"," or ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "339", + "locator" : "51:26-51:38", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "340", + "locator" : "51:26-51:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "341", + "locator" : "51:35-51:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "343", + "locator" : "53:1-53:40", + "name" : "Or.FalseOrFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "","define ","\"Or.FalseOrFalse\"",": " ] + }, { + "r" : "344", + "s" : [ { + "r" : "345", + "value" : [ "false"," or ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "344", + "locator" : "53:27-53:40", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "345", + "locator" : "53:27-53:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "346", + "locator" : "53:36-53:40", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "348", + "locator" : "55:1-55:38", + "name" : "Or.FalseOrNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "348", + "s" : [ { + "value" : [ "","define ","\"Or.FalseOrNull\"",": " ] + }, { + "r" : "349", + "s" : [ { + "r" : "350", + "value" : [ "false"," or ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "349", + "locator" : "55:26-55:38", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "350", + "locator" : "55:26-55:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "352", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "351", + "locator" : "55:35-55:38", + "type" : "Null" + } + } ] + } + }, { + "localId" : "354", + "locator" : "57:1-57:36", + "name" : "Or.NullOrTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "","define ","\"Or.NullOrTrue\"",": " ] + }, { + "r" : "355", + "s" : [ { + "r" : "356", + "value" : [ "null"," or ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "355", + "locator" : "57:25-57:36", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "358", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "356", + "locator" : "57:25-57:28", + "type" : "Null" + } + }, { + "localId" : "357", + "locator" : "57:33-57:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "360", + "locator" : "59:1-59:38", + "name" : "Or.NullOrFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "","define ","\"Or.NullOrFalse\"",": " ] + }, { + "r" : "361", + "s" : [ { + "r" : "362", + "value" : [ "null"," or ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "361", + "locator" : "59:26-59:38", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "364", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "362", + "locator" : "59:26-59:29", + "type" : "Null" + } + }, { + "localId" : "363", + "locator" : "59:34-59:38", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "366", + "locator" : "61:1-61:36", + "name" : "Or.NullOrNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "","define ","\"Or.NullOrNull\"",": " ] + }, { + "r" : "367", + "s" : [ { + "r" : "368", + "value" : [ "null"," or ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "367", + "locator" : "61:25-61:36", + "type" : "Or", + "signature" : [ ], + "operand" : [ { + "localId" : "370", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "368", + "locator" : "61:25-61:28", + "type" : "Null" + } + }, { + "localId" : "371", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "369", + "locator" : "61:33-61:36", + "type" : "Null" + } + } ] + } + }, { + "localId" : "373", + "locator" : "63:1-63:39", + "name" : "Xor.TrueXorTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "","define ","\"Xor.TrueXorTrue\"",": " ] + }, { + "r" : "374", + "s" : [ { + "r" : "375", + "value" : [ "true"," xor ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "374", + "locator" : "63:27-63:39", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "375", + "locator" : "63:27-63:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "376", + "locator" : "63:36-63:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "378", + "locator" : "65:1-65:41", + "name" : "Xor.TrueXorFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "378", + "s" : [ { + "value" : [ "","define ","\"Xor.TrueXorFalse\"",": " ] + }, { + "r" : "379", + "s" : [ { + "r" : "380", + "value" : [ "true"," xor ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "379", + "locator" : "65:28-65:41", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "380", + "locator" : "65:28-65:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "381", + "locator" : "65:37-65:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "383", + "locator" : "67:1-67:39", + "name" : "Xor.TrueXorNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "383", + "s" : [ { + "value" : [ "","define ","\"Xor.TrueXorNull\"",": " ] + }, { + "r" : "384", + "s" : [ { + "r" : "385", + "value" : [ "true"," xor ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "384", + "locator" : "67:27-67:39", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "385", + "locator" : "67:27-67:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + }, { + "localId" : "387", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "386", + "locator" : "67:36-67:39", + "type" : "Null" + } + } ] + } + }, { + "localId" : "389", + "locator" : "69:1-69:41", + "name" : "Xor.FalseXorTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "389", + "s" : [ { + "value" : [ "","define ","\"Xor.FalseXorTrue\"",": " ] + }, { + "r" : "390", + "s" : [ { + "r" : "391", + "value" : [ "false"," xor ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "390", + "locator" : "69:28-69:41", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "391", + "locator" : "69:28-69:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "392", + "locator" : "69:38-69:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "394", + "locator" : "71:1-71:43", + "name" : "Xor.FalseXorFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "394", + "s" : [ { + "value" : [ "","define ","\"Xor.FalseXorFalse\"",": " ] + }, { + "r" : "395", + "s" : [ { + "r" : "396", + "value" : [ "false"," xor ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "395", + "locator" : "71:29-71:43", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "396", + "locator" : "71:29-71:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "397", + "locator" : "71:39-71:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "399", + "locator" : "73:1-73:41", + "name" : "Xor.FalseXorNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "399", + "s" : [ { + "value" : [ "","define ","\"Xor.FalseXorNull\"",": " ] + }, { + "r" : "400", + "s" : [ { + "r" : "401", + "value" : [ "false"," xor ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "400", + "locator" : "73:28-73:41", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "401", + "locator" : "73:28-73:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + }, { + "localId" : "403", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "402", + "locator" : "73:38-73:41", + "type" : "Null" + } + } ] + } + }, { + "localId" : "405", + "locator" : "75:1-75:39", + "name" : "Xor.NullXorTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "405", + "s" : [ { + "value" : [ "","define ","\"Xor.NullXorTrue\"",": " ] + }, { + "r" : "406", + "s" : [ { + "r" : "407", + "value" : [ "null"," xor ","true" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "406", + "locator" : "75:27-75:39", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "409", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "407", + "locator" : "75:27-75:30", + "type" : "Null" + } + }, { + "localId" : "408", + "locator" : "75:36-75:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } ] + } + }, { + "localId" : "411", + "locator" : "77:1-77:41", + "name" : "Xor.NullXorFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "411", + "s" : [ { + "value" : [ "","define ","\"Xor.NullXorFalse\"",": " ] + }, { + "r" : "412", + "s" : [ { + "r" : "413", + "value" : [ "null"," xor ","false" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "412", + "locator" : "77:28-77:41", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "415", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "413", + "locator" : "77:28-77:31", + "type" : "Null" + } + }, { + "localId" : "414", + "locator" : "77:37-77:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } ] + } + }, { + "localId" : "417", + "locator" : "79:1-79:39", + "name" : "Xor.NullXorNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "417", + "s" : [ { + "value" : [ "","define ","\"Xor.NullXorNull\"",": " ] + }, { + "r" : "418", + "s" : [ { + "r" : "419", + "value" : [ "null"," xor ","null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "418", + "locator" : "79:27-79:39", + "type" : "Xor", + "signature" : [ ], + "operand" : [ { + "localId" : "421", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "419", + "locator" : "79:27-79:30", + "type" : "Null" + } + }, { + "localId" : "422", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "420", + "locator" : "79:36-79:39", + "type" : "Null" + } + } ] + } + } ] + } + } +} + diff --git a/cql/CqlLogicalOperatorsTest.xml b/cql/CqlLogicalOperatorsTest.xml new file mode 100644 index 0000000..ce44f5c --- /dev/null +++ b/cql/CqlLogicalOperatorsTest.xml @@ -0,0 +1,611 @@ + + + + + + library CqlLogicalOperatorsTest + + + + + + + + + + + + define "And.TrueAndTrue": + + true and true + + + + + + + + + + + + define "And.TrueAndFalse": + + true and false + + + + + + + + + + + + define "And.TrueAndNull": + + true and null + + + + + + + + + + + + + + define "And.FalseAndTrue": + + false and true + + + + + + + + + + + + define "And.FalseAndFalse": + + false and false + + + + + + + + + + + + define "And.FalseAndNull": + + false and null + + + + + + + + + + + + + + define "And.NullAndTrue": + + null and true + + + + + + + + + + + + + + define "And.NullAndFalse": + + null and false + + + + + + + + + + + + + + define "And.NullAndNull": + + null and null + + + + + + + + + + + + + + + + define "Implies.TrueImpliesTrue": + + true implies true + + + + + + + + + + + + define "Implies.TrueImpliesFalse": + + true implies false + + + + + + + + + + + + define "Implies.TrueImpliesNull": + + true implies null + + + + + + + + + + + + + + define "Implies.FalseImpliesTrue": + + false implies true + + + + + + + + + + + + define "Implies.FalseImpliesFalse": + + false implies false + + + + + + + + + + + + define "Implies.FalseImpliesNull": + + false implies null + + + + + + + + + + + + + + define "Implies.NullImpliesTrue": + + null implies true + + + + + + + + + + + + + + define "Implies.NullImpliesFalse": + + null implies false + + + + + + + + + + + + + + define "Implies.NullImpliesNull": + + null implies null + + + + + + + + + + + + + + + + define "Not.NotTrue": + + not true + + + + + + + + + + + define "Not.NotFalse": + + not false + + + + + + + + + + + define "Not.NotNull": + + not null + + + + + + + + + + + + + define "Or.TrueOrTrue": + + true or true + + + + + + + + + + + + define "Or.TrueOrFalse": + + true or false + + + + + + + + + + + + define "Or.TrueOrNull": + + true or null + + + + + + + + + + + + + + define "Or.FalseOrTrue": + + false or true + + + + + + + + + + + + define "Or.FalseOrFalse": + + false or false + + + + + + + + + + + + define "Or.FalseOrNull": + + false or null + + + + + + + + + + + + + + define "Or.NullOrTrue": + + null or true + + + + + + + + + + + + + + define "Or.NullOrFalse": + + null or false + + + + + + + + + + + + + + define "Or.NullOrNull": + + null or null + + + + + + + + + + + + + + + + define "Xor.TrueXorTrue": + + true xor true + + + + + + + + + + + + define "Xor.TrueXorFalse": + + true xor false + + + + + + + + + + + + define "Xor.TrueXorNull": + + true xor null + + + + + + + + + + + + + + define "Xor.FalseXorTrue": + + false xor true + + + + + + + + + + + + define "Xor.FalseXorFalse": + + false xor false + + + + + + + + + + + + define "Xor.FalseXorNull": + + false xor null + + + + + + + + + + + + + + define "Xor.NullXorTrue": + + null xor true + + + + + + + + + + + + + + define "Xor.NullXorFalse": + + null xor false + + + + + + + + + + + + + + define "Xor.NullXorNull": + + null xor null + + + + + + + + + + + + + + + + diff --git a/cql/CqlNullologicalOperatorsTest.cql b/cql/CqlNullologicalOperatorsTest.cql new file mode 100644 index 0000000..87e661e --- /dev/null +++ b/cql/CqlNullologicalOperatorsTest.cql @@ -0,0 +1,46 @@ +library CqlNullologicalOperatorsTest + +define "Coalesce.CoalesceANull": Coalesce('a', null) + +define "Coalesce.CoalesceNullA": Coalesce(null, 'a') + +define "Coalesce.CoalesceEmptyList": Coalesce({}) + +define "Coalesce.CoalesceListFirstA": Coalesce({'a', null, null}) + +define "Coalesce.CoalesceListLastA": Coalesce({null, null, 'a'}) + +define "Coalesce.CoalesceFirstList": Coalesce({'a'},null, null) + +define "Coalesce.CoalesceLastList": Coalesce(null, null, {'a'}) + +define "Coalesce.DateTimeCoalesce": Coalesce(null, null, DateTime(2012, 5, 18)) + +define "Coalesce.DateTimeListCoalesce": Coalesce({ null, null, DateTime(2012, 5, 18) }) + +define "Coalesce.TimeCoalesce": Coalesce(null, null, @T05:15:33.556) + +define "Coalesce.TimeListCoalesce": Coalesce({ null, null, @T05:15:33.556 }) + +define "IsNull.IsNullTrue": IsNull(null) + +define "IsNull.IsNullFalseEmptyString": IsNull('') + +define "IsNull.IsNullAlsoFalseAbcString": IsNull('abc') + +define "IsNull.IsNullAlsoFalseNumber1": IsNull(1) + +define "IsNull.IsNullAlsoFalseNumberZero": IsNull(0) + +define "IsFalse.IsFalseFalse": IsFalse(false) + +define "IsFalse.IsFalseTrue": IsFalse(true) + +define "IsFalse.IsFalseNull": IsFalse(null) + +define "IsTrue.IsTrueTrue": IsTrue(true) + +define "IsTrue.IsTrueFalse": IsTrue(false) + +define "IsTrue.IsTrueNull": IsTrue(null) + diff --git a/cql/CqlNullologicalOperatorsTest.json b/cql/CqlNullologicalOperatorsTest.json new file mode 100644 index 0000000..8ec64ad --- /dev/null +++ b/cql/CqlNullologicalOperatorsTest.json @@ -0,0 +1,1262 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "441", + "s" : [ { + "value" : [ "","library CqlNullologicalOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlNullologicalOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:52", + "name" : "Coalesce.CoalesceANull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceANull\"",": " ] + }, { + "r" : "213", + "s" : [ { + "value" : [ "Coalesce","(" ] + }, { + "r" : "208", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "209", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "213", + "locator" : "3:34-3:52", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "208", + "locator" : "3:43-3:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "214", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "209", + "locator" : "3:48-3:51", + "type" : "Null" + } + } ] + } + }, { + "localId" : "216", + "locator" : "5:1-5:52", + "name" : "Coalesce.CoalesceNullA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "216", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceNullA\"",": " ] + }, { + "r" : "224", + "s" : [ { + "r" : "217", + "value" : [ "Coalesce","(","null",", " ] + }, { + "r" : "218", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "224", + "locator" : "5:34-5:52", + "type" : "Coalesce", + "signature" : [ { + "localId" : "226", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "227", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "225", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "217", + "locator" : "5:43-5:46", + "type" : "Null" + } + }, { + "localId" : "218", + "locator" : "5:49-5:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } + }, { + "localId" : "229", + "locator" : "7:1-7:49", + "name" : "Coalesce.CoalesceEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "229", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceEmptyList\"",": " ] + }, { + "r" : "233", + "s" : [ { + "r" : "230", + "value" : [ "Coalesce","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "233", + "locator" : "7:38-7:49", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "230", + "locator" : "7:47-7:48", + "type" : "List", + "element" : [ ] + } ] + } + }, { + "localId" : "235", + "locator" : "9:1-9:65", + "name" : "Coalesce.CoalesceListFirstA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceListFirstA\"",": " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "Coalesce","(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "238", + "value" : [ ", ","null",", ","null","}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "244", + "locator" : "9:39-9:65", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "236", + "locator" : "9:48-9:64", + "type" : "List", + "element" : [ { + "localId" : "237", + "locator" : "9:49-9:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "240", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "238", + "locator" : "9:54-9:57", + "type" : "Null" + } + }, { + "localId" : "241", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "239", + "locator" : "9:60-9:63", + "type" : "Null" + } + } ] + } ] + } + }, { + "localId" : "246", + "locator" : "11:1-11:64", + "name" : "Coalesce.CoalesceListLastA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "246", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceListLastA\"",": " ] + }, { + "r" : "255", + "s" : [ { + "value" : [ "Coalesce","(" ] + }, { + "r" : "247", + "s" : [ { + "r" : "248", + "value" : [ "{","null",", ","null",", " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "255", + "locator" : "11:38-11:64", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "247", + "locator" : "11:47-11:63", + "type" : "List", + "element" : [ { + "localId" : "251", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "248", + "locator" : "11:48-11:51", + "type" : "Null" + } + }, { + "localId" : "252", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "249", + "locator" : "11:54-11:57", + "type" : "Null" + } + }, { + "localId" : "250", + "locator" : "11:60-11:62", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "257", + "locator" : "13:1-13:63", + "name" : "Coalesce.CoalesceFirstList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "257", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceFirstList\"",": " ] + }, { + "r" : "270", + "s" : [ { + "value" : [ "Coalesce","(" ] + }, { + "r" : "258", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "r" : "260", + "value" : [ ",","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "270", + "locator" : "13:38-13:63", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "258", + "locator" : "13:47-13:51", + "type" : "List", + "element" : [ { + "localId" : "259", + "locator" : "13:48-13:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + }, { + "localId" : "271", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "260", + "locator" : "13:53-13:56", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "272", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "273", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "274", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "261", + "locator" : "13:59-13:62", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "275", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "276", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } ] + } + }, { + "localId" : "278", + "locator" : "15:1-15:63", + "name" : "Coalesce.CoalesceLastList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "","define ","\"Coalesce.CoalesceLastList\"",": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "279", + "value" : [ "Coalesce","(","null",", ","null",", " ] + }, { + "r" : "281", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "282", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "297", + "locator" : "15:37-15:63", + "type" : "Coalesce", + "signature" : [ { + "localId" : "304", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "305", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "306", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "307", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "308", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "309", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } ], + "operand" : [ { + "localId" : "298", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "279", + "locator" : "15:46-15:49", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "299", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "300", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "301", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "280", + "locator" : "15:52-15:55", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "302", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "303", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "281", + "locator" : "15:58-15:62", + "type" : "List", + "element" : [ { + "localId" : "282", + "locator" : "15:59-15:61", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } ] + } ] + } + }, { + "localId" : "311", + "locator" : "17:1-17:79", + "name" : "Coalesce.DateTimeCoalesce", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "311", + "s" : [ { + "value" : [ "","define ","\"Coalesce.DateTimeCoalesce\"",": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "312", + "value" : [ "Coalesce","(","null",", ","null",", " ] + }, { + "r" : "319", + "s" : [ { + "r" : "314", + "value" : [ "DateTime","(","2012",", ","5",", ","18",")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "325", + "locator" : "17:37-17:79", + "type" : "Coalesce", + "signature" : [ { + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "327", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "328", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "312", + "locator" : "17:46-17:49", + "type" : "Null" + }, { + "localId" : "313", + "locator" : "17:52-17:55", + "type" : "Null" + }, { + "localId" : "319", + "locator" : "17:58-17:78", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "314", + "locator" : "17:67-17:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "315", + "locator" : "17:73", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "316", + "locator" : "17:76-17:77", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "18", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "330", + "locator" : "19:1-19:87", + "name" : "Coalesce.DateTimeListCoalesce", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "330", + "s" : [ { + "value" : [ "","define ","\"Coalesce.DateTimeListCoalesce\"",": " ] + }, { + "r" : "344", + "s" : [ { + "value" : [ "Coalesce","(" ] + }, { + "r" : "331", + "s" : [ { + "r" : "332", + "value" : [ "{ ","null",", ","null",", " ] + }, { + "r" : "339", + "s" : [ { + "r" : "334", + "value" : [ "DateTime","(","2012",", ","5",", ","18",")" ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "344", + "locator" : "19:41-19:87", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "331", + "locator" : "19:50-19:86", + "type" : "List", + "element" : [ { + "localId" : "340", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "332", + "locator" : "19:52-19:55", + "type" : "Null" + } + }, { + "localId" : "341", + "asType" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "333", + "locator" : "19:58-19:61", + "type" : "Null" + } + }, { + "localId" : "339", + "locator" : "19:64-19:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "334", + "locator" : "19:73-19:76", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "335", + "locator" : "19:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "day" : { + "localId" : "336", + "locator" : "19:82-19:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "18", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "346", + "locator" : "21:1-21:68", + "name" : "Coalesce.TimeCoalesce", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "346", + "s" : [ { + "value" : [ "","define ","\"Coalesce.TimeCoalesce\"",": " ] + }, { + "r" : "359", + "s" : [ { + "r" : "347", + "value" : [ "Coalesce","(","null",", ","null",", ","@T05:15:33.556",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "359", + "locator" : "21:33-21:68", + "type" : "Coalesce", + "signature" : [ { + "localId" : "360", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "361", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Any", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "347", + "locator" : "21:42-21:45", + "type" : "Null" + }, { + "localId" : "348", + "locator" : "21:48-21:51", + "type" : "Null" + }, { + "localId" : "349", + "locator" : "21:54-21:67", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "350", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "351", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "second" : { + "localId" : "352", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "33", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "353", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "556", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "364", + "locator" : "23:1-23:76", + "name" : "Coalesce.TimeListCoalesce", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "","define ","\"Coalesce.TimeListCoalesce\"",": " ] + }, { + "r" : "377", + "s" : [ { + "value" : [ "Coalesce","(" ] + }, { + "r" : "365", + "s" : [ { + "r" : "366", + "value" : [ "{ ","null",", ","null",", ","@T05:15:33.556"," }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "377", + "locator" : "23:37-23:76", + "type" : "Coalesce", + "signature" : [ ], + "operand" : [ { + "localId" : "365", + "locator" : "23:46-23:75", + "type" : "List", + "element" : [ { + "localId" : "373", + "asType" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "366", + "locator" : "23:48-23:51", + "type" : "Null" + } + }, { + "localId" : "374", + "asType" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "367", + "locator" : "23:54-23:57", + "type" : "Null" + } + }, { + "localId" : "368", + "locator" : "23:60-23:73", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "369", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "minute" : { + "localId" : "370", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "second" : { + "localId" : "371", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "33", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "372", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "556", + "type" : "Literal" + } + } ] + } ] + } + }, { + "localId" : "379", + "locator" : "25:1-25:40", + "name" : "IsNull.IsNullTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "379", + "s" : [ { + "value" : [ "","define ","\"IsNull.IsNullTrue\"",": " ] + }, { + "r" : "383", + "s" : [ { + "r" : "380", + "value" : [ "IsNull","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "383", + "locator" : "25:29-25:40", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "380", + "locator" : "25:36-25:39", + "type" : "Null" + } + } + }, { + "localId" : "385", + "locator" : "27:1-27:50", + "name" : "IsNull.IsNullFalseEmptyString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "385", + "s" : [ { + "value" : [ "","define ","\"IsNull.IsNullFalseEmptyString\"",": " ] + }, { + "r" : "389", + "s" : [ { + "value" : [ "IsNull","(" ] + }, { + "r" : "386", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "389", + "locator" : "27:41-27:50", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "386", + "locator" : "27:48-27:49", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "type" : "Literal" + } + } + }, { + "localId" : "391", + "locator" : "29:1-29:55", + "name" : "IsNull.IsNullAlsoFalseAbcString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "391", + "s" : [ { + "value" : [ "","define ","\"IsNull.IsNullAlsoFalseAbcString\"",": " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "IsNull","(" ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "395", + "locator" : "29:43-29:55", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "392", + "locator" : "29:50-29:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "type" : "Literal" + } + } + }, { + "localId" : "397", + "locator" : "31:1-31:49", + "name" : "IsNull.IsNullAlsoFalseNumber1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "397", + "s" : [ { + "value" : [ "","define ","\"IsNull.IsNullAlsoFalseNumber1\"",": " ] + }, { + "r" : "401", + "s" : [ { + "r" : "398", + "value" : [ "IsNull","(","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "401", + "locator" : "31:41-31:49", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "398", + "locator" : "31:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "403", + "locator" : "33:1-33:52", + "name" : "IsNull.IsNullAlsoFalseNumberZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "403", + "s" : [ { + "value" : [ "","define ","\"IsNull.IsNullAlsoFalseNumberZero\"",": " ] + }, { + "r" : "407", + "s" : [ { + "r" : "404", + "value" : [ "IsNull","(","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "407", + "locator" : "33:44-33:52", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "404", + "locator" : "33:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "409", + "locator" : "35:1-35:45", + "name" : "IsFalse.IsFalseFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "409", + "s" : [ { + "value" : [ "","define ","\"IsFalse.IsFalseFalse\"",": " ] + }, { + "r" : "413", + "s" : [ { + "r" : "410", + "value" : [ "IsFalse","(","false",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "413", + "locator" : "35:32-35:45", + "type" : "IsFalse", + "signature" : [ ], + "operand" : { + "localId" : "410", + "locator" : "35:40-35:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } + } + }, { + "localId" : "415", + "locator" : "37:1-37:43", + "name" : "IsFalse.IsFalseTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "415", + "s" : [ { + "value" : [ "","define ","\"IsFalse.IsFalseTrue\"",": " ] + }, { + "r" : "419", + "s" : [ { + "r" : "416", + "value" : [ "IsFalse","(","true",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "419", + "locator" : "37:31-37:43", + "type" : "IsFalse", + "signature" : [ ], + "operand" : { + "localId" : "416", + "locator" : "37:39-37:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } + } + }, { + "localId" : "421", + "locator" : "39:1-39:43", + "name" : "IsFalse.IsFalseNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "421", + "s" : [ { + "value" : [ "","define ","\"IsFalse.IsFalseNull\"",": " ] + }, { + "r" : "426", + "s" : [ { + "r" : "422", + "value" : [ "IsFalse","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "426", + "locator" : "39:31-39:43", + "type" : "IsFalse", + "signature" : [ ], + "operand" : { + "localId" : "427", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "422", + "locator" : "39:39-39:42", + "type" : "Null" + } + } + } + }, { + "localId" : "429", + "locator" : "41:1-41:40", + "name" : "IsTrue.IsTrueTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "429", + "s" : [ { + "value" : [ "","define ","\"IsTrue.IsTrueTrue\"",": " ] + }, { + "r" : "433", + "s" : [ { + "r" : "430", + "value" : [ "IsTrue","(","true",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "433", + "locator" : "41:29-41:40", + "type" : "IsTrue", + "signature" : [ ], + "operand" : { + "localId" : "430", + "locator" : "41:36-41:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } + } + }, { + "localId" : "435", + "locator" : "43:1-43:42", + "name" : "IsTrue.IsTrueFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "435", + "s" : [ { + "value" : [ "","define ","\"IsTrue.IsTrueFalse\"",": " ] + }, { + "r" : "439", + "s" : [ { + "r" : "436", + "value" : [ "IsTrue","(","false",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "439", + "locator" : "43:30-43:42", + "type" : "IsTrue", + "signature" : [ ], + "operand" : { + "localId" : "436", + "locator" : "43:37-43:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } + } + }, { + "localId" : "441", + "locator" : "45:1-45:40", + "name" : "IsTrue.IsTrueNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "441", + "s" : [ { + "value" : [ "","define ","\"IsTrue.IsTrueNull\"",": " ] + }, { + "r" : "446", + "s" : [ { + "r" : "442", + "value" : [ "IsTrue","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "446", + "locator" : "45:29-45:40", + "type" : "IsTrue", + "signature" : [ ], + "operand" : { + "localId" : "447", + "asType" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "442", + "locator" : "45:36-45:39", + "type" : "Null" + } + } + } + } ] + } + } +} + diff --git a/cql/CqlNullologicalOperatorsTest.xml b/cql/CqlNullologicalOperatorsTest.xml new file mode 100644 index 0000000..296c119 --- /dev/null +++ b/cql/CqlNullologicalOperatorsTest.xml @@ -0,0 +1,477 @@ + + + + + + library CqlNullologicalOperatorsTest + + + + + + + + + + + + define "Coalesce.CoalesceANull": + + Coalesce( + + 'a' + + , null) + + + + + + + + + + + + + + define "Coalesce.CoalesceNullA": + + Coalesce(null, + + 'a' + + ) + + + + + + + + + + + + + + + + define "Coalesce.CoalesceEmptyList": + + Coalesce({}) + + + + + + + + + + + define "Coalesce.CoalesceListFirstA": + + Coalesce( + + { + + 'a' + + , null, null} + + ) + + + + + + + + + + + + + + + + + + + define "Coalesce.CoalesceListLastA": + + Coalesce( + + {null, null, + + 'a' + + } + + ) + + + + + + + + + + + + + + + + + + + define "Coalesce.CoalesceFirstList": + + Coalesce( + + { + + 'a' + + } + + ,null, null) + + + + + + + + + + + + + + + + + + + + + + + + + define "Coalesce.CoalesceLastList": + + Coalesce(null, null, + + { + + 'a' + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + define "Coalesce.DateTimeCoalesce": + + Coalesce(null, null, + + DateTime(2012, 5, 18) + + ) + + + + + + + + + + + + + + + + + + + + define "Coalesce.DateTimeListCoalesce": + + Coalesce( + + { null, null, + + DateTime(2012, 5, 18) + + } + + ) + + + + + + + + + + + + + + + + + + + + + + + define "Coalesce.TimeCoalesce": + + Coalesce(null, null, @T05:15:33.556) + + + + + + + + + + + + + + + + + + + + + define "Coalesce.TimeListCoalesce": + + Coalesce( + + { null, null, @T05:15:33.556 } + + ) + + + + + + + + + + + + + + + + + + + + + + + + define "IsNull.IsNullTrue": + + IsNull(null) + + + + + + + + + + + define "IsNull.IsNullFalseEmptyString": + + IsNull( + + '' + + ) + + + + + + + + + + + define "IsNull.IsNullAlsoFalseAbcString": + + IsNull( + + 'abc' + + ) + + + + + + + + + + + define "IsNull.IsNullAlsoFalseNumber1": + + IsNull(1) + + + + + + + + + + + define "IsNull.IsNullAlsoFalseNumberZero": + + IsNull(0) + + + + + + + + + + + define "IsFalse.IsFalseFalse": + + IsFalse(false) + + + + + + + + + + + define "IsFalse.IsFalseTrue": + + IsFalse(true) + + + + + + + + + + + define "IsFalse.IsFalseNull": + + IsFalse(null) + + + + + + + + + + + + + define "IsTrue.IsTrueTrue": + + IsTrue(true) + + + + + + + + + + + define "IsTrue.IsTrueFalse": + + IsTrue(false) + + + + + + + + + + + define "IsTrue.IsTrueNull": + + IsTrue(null) + + + + + + + + + + + + + diff --git a/cql/CqlStringOperatorsTest.cql b/cql/CqlStringOperatorsTest.cql new file mode 100644 index 0000000..cdf4e97 --- /dev/null +++ b/cql/CqlStringOperatorsTest.cql @@ -0,0 +1,164 @@ +library CqlStringOperatorsTest + +define "Combine.CombineNull": Combine(null) + +define "Combine.CombineEmptyList": Combine({}) + +define "Combine.CombineABC": Combine({'a', 'b', 'c'}) + +define "Combine.CombineABCSepDash": Combine({'a', 'b', 'c'}, '-') + +define "Concatenate.ConcatenateNullNull": Concatenate(null, null) + +define "Concatenate.ConcatenateANull": Concatenate('a', null) + +define "Concatenate.ConcatenateNullB": Concatenate(null, 'b') + +define "Concatenate.ConcatenateAB": Concatenate('a', 'b') + +define "Concatenate.ConcatenateABWithAdd": 'a' + 'b' + +define "EndsWith.EndsWithNull": EndsWith(null, null) + +define "EndsWith.EndsWithTrue": EndsWith('Chris Schuler is the man!!', 'n!!') + +define "EndsWith.EndsWithFalse": EndsWith('Chris Schuler is the man!!', 'n!') + +define "Indexer.IndexerNullNull": Indexer(null as String, null) + +define "Indexer.IndexerANull": Indexer('a', null) + +define "Indexer.IndexerNull1String": Indexer(null as String, 1) + +define "Indexer.IndexerAB0": Indexer('ab', 0) + +define "Indexer.IndexerAB1": Indexer('ab', 1) + +define "Indexer.IndexerAB2": Indexer('ab', 2) + +define "Indexer.IndexerABNeg1": Indexer('ab', -1) + +define "LastPositionOf.LastPositionOfNull": LastPositionOf(null, null) + +define "LastPositionOf.LastPositionOfNull1": LastPositionOf(null, 'hi') + +define "LastPositionOf.LastPositionOfNull2": LastPositionOf('hi', null) + +define "LastPositionOf.LastPositionOf1": LastPositionOf('hi', 'Ohio is the place to be!') + +define "LastPositionOf.LastPositionOf2": LastPositionOf('hi', 'Say hi to Ohio!') + +define "Length.LengthNullString": Length(null as String) + +define "Length.LengthEmptyString": Length('') + +define "Length.LengthA": Length('a') + +define "Length.LengthAB": Length('ab') + +define "Lower.LowerNull": Lower(null) + +define "Lower.LowerEmpty": Lower('') + +define "Lower.LowerA": Lower('A') + +define "Lower.LowerB": Lower('b') + +define "Lower.LowerAB": Lower('Ab') + +define "Matches.MatchesNull": Matches('Not all who wander are lost', null) + +define "Matches.MatchesNumberFalse": Matches('Not all who wander are lost', '.*\\d+') + +define "Matches.MatchesNumberTrue": Matches('Not all who wander are lost - circa 2017', '.*\\d+') + +define "Matches.MatchesAllTrue": Matches('Not all who wander are lost', '.*') + +define "Matches.MatchesWordsAndSpacesTrue": Matches('Not all who wander are lost', '[\\w|\\s]+') + +define "Matches.MatchesWordsAndSpacesFalse": Matches('Not all who wander are lost - circa 2017', '[\\w]+') + +define "Matches.MatchesNotWords": Matches(' ', '\\W+') + +define "Matches.MatchesWhiteSpace": Matches(' \n\t', '\\s+') + +define "PositionOf.PositionOfNullNull": PositionOf(null, null) + +define "PositionOf.PositionOfANull": PositionOf('a', null) + +define "PositionOf.PositionOfNullA": PositionOf(null, 'a') + +define "PositionOf.PositionOfAInAB": PositionOf('a', 'ab') + +define "PositionOf.PositionOfBInAB": PositionOf('b', 'ab') + +define "PositionOf.PositionOfCInAB": PositionOf('c', 'ab') + +define "ReplaceMatches.ReplaceMatchesNull": ReplaceMatches('Not all who wander are lost', null, 'But I am...') + +define "ReplaceMatches.ReplaceMatchesAll": ReplaceMatches('Not all who wander are lost', 'Not all who wander are lost', 'But still waters run deep') + +define "ReplaceMatches.ReplaceMatchesMany": ReplaceMatches('Who put the bop in the bop she bop she bop?', 'bop', 'bang') + +define "ReplaceMatches.ReplaceMatchesSpaces": ReplaceMatches('All that glitters is not gold', '\\s', '\\$') + +define "Split.SplitNullNull": Split(null, null) + +define "Split.SplitNullComma": Split(null, ',') + +define "Split.SplitABNull": Split('a,b', null) + +define "Split.SplitABDash": Split('a,b', '-') + +define "Split.SplitABComma": Split('a,b', ',') + +define "StartsWith.StartsWithNull": StartsWith(null, null) + +define "StartsWith.StartsWithNull1": StartsWith('hi', null) + +define "StartsWith.StartsWithNull2": StartsWith(null, 'hi') + +define "StartsWith.StartsWithTrue1": StartsWith('Breathe deep the gathering gloom', 'Bre') + +define "StartsWith.StartsWithFalse1": StartsWith('Breathe deep the gathering gloom', 'bre') + +define "Substring.SubstringNullNull": Substring(null, null) + +define "Substring.SubstringANull": Substring('a', null) + +define "Substring.SubstringNull1": Substring(null, 1) + +define "Substring.SubstringAB0": Substring('ab', 0) + +define "Substring.SubstringAB1": Substring('ab', 1) + +define "Substring.SubstringAB2": Substring('ab', 2) + +define "Substring.SubstringABNeg1": Substring('ab', -1) + +define "Substring.SubstringAB0To1": Substring('ab', 0, 1) + +define "Substring.SubstringABC1To1": Substring('abc', 1, 1) + +define "Substring.SubstringAB0To3": Substring('ab', 0, 3) + +define "Upper.UpperNull": Upper(null) + +define "Upper.UpperEmpty": Upper('') + +define "Upper.UpperA": Upper('a') + +define "Upper.UpperB": Upper('B') + +define "Upper.UpperAB": Upper('aB') + +define "toString tests.QuantityToString": ToString(125 'cm') + +define "toString tests.DateTimeToString1": ToString(DateTime(2000, 1, 1)) + +define "toString tests.DateTimeToString2": ToString(DateTime(2000, 1, 1, 15, 25, 25, 300)) + +define "toString tests.DateTimeToString3": ToString(DateTime(2000, 1, 1, 8, 25, 25, 300, -7)) + +define "toString tests.TimeToString1": ToString(@T09:30:01.003) + diff --git a/cql/CqlStringOperatorsTest.json b/cql/CqlStringOperatorsTest.json new file mode 100644 index 0000000..873cc1f --- /dev/null +++ b/cql/CqlStringOperatorsTest.json @@ -0,0 +1,4365 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "890", + "s" : [ { + "value" : [ "","library CqlStringOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlStringOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:43", + "name" : "Combine.CombineNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"Combine.CombineNull\"",": " ] + }, { + "r" : "214", + "s" : [ { + "r" : "208", + "value" : [ "Combine","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "214", + "locator" : "3:31-3:43", + "type" : "Combine", + "signature" : [ ], + "source" : { + "localId" : "215", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "208", + "locator" : "3:39-3:42", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "216", + "type" : "ListTypeSpecifier", + "elementType" : { + "localId" : "217", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } + } + }, { + "localId" : "219", + "locator" : "5:1-5:46", + "name" : "Combine.CombineEmptyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "","define ","\"Combine.CombineEmptyList\"",": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "220", + "value" : [ "Combine","(","{}",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "228", + "locator" : "5:36-5:46", + "type" : "Combine", + "signature" : [ ], + "source" : { + "localId" : "229", + "type" : "Query", + "source" : [ { + "localId" : "230", + "alias" : "X", + "expression" : { + "localId" : "220", + "locator" : "5:44-5:45", + "type" : "List", + "element" : [ ] + } + } ], + "let" : [ ], + "relationship" : [ ], + "return" : { + "localId" : "231", + "distinct" : false, + "expression" : { + "localId" : "233", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "232", + "name" : "X", + "type" : "AliasRef" + } + } + } + } + } + }, { + "localId" : "235", + "locator" : "7:1-7:53", + "name" : "Combine.CombineABC", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "235", + "s" : [ { + "value" : [ "","define ","\"Combine.CombineABC\"",": " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "Combine","(" ] + }, { + "r" : "236", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "238", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "242", + "locator" : "7:30-7:53", + "type" : "Combine", + "signature" : [ ], + "source" : { + "localId" : "236", + "locator" : "7:38-7:52", + "type" : "List", + "element" : [ { + "localId" : "237", + "locator" : "7:39-7:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "238", + "locator" : "7:44-7:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "239", + "locator" : "7:49-7:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + } + } + }, { + "localId" : "244", + "locator" : "9:1-9:65", + "name" : "Combine.CombineABCSepDash", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "","define ","\"Combine.CombineABCSepDash\"",": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "Combine","(" ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "{" ] + }, { + "r" : "246", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "247", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "248", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "'-'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "252", + "locator" : "9:37-9:65", + "type" : "Combine", + "signature" : [ ], + "source" : { + "localId" : "245", + "locator" : "9:45-9:59", + "type" : "List", + "element" : [ { + "localId" : "246", + "locator" : "9:46-9:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "247", + "locator" : "9:51-9:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, { + "localId" : "248", + "locator" : "9:56-9:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + } ] + }, + "separator" : { + "localId" : "249", + "locator" : "9:62-9:64", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-", + "type" : "Literal" + } + } + }, { + "localId" : "254", + "locator" : "11:1-11:65", + "name" : "Concatenate.ConcatenateNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "254", + "s" : [ { + "value" : [ "","define ","\"Concatenate.ConcatenateNullNull\"",": " ] + }, { + "r" : "261", + "s" : [ { + "r" : "255", + "value" : [ "Concatenate","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "261", + "locator" : "11:43-11:65", + "type" : "Concatenate", + "signature" : [ ], + "operand" : [ { + "localId" : "262", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "255", + "locator" : "11:55-11:58", + "type" : "Null" + } + }, { + "localId" : "263", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "256", + "locator" : "11:61-11:64", + "type" : "Null" + } + } ] + } + }, { + "localId" : "265", + "locator" : "13:1-13:61", + "name" : "Concatenate.ConcatenateANull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "265", + "s" : [ { + "value" : [ "","define ","\"Concatenate.ConcatenateANull\"",": " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "Concatenate","(" ] + }, { + "r" : "266", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "267", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "271", + "locator" : "13:40-13:61", + "type" : "Concatenate", + "signature" : [ ], + "operand" : [ { + "localId" : "266", + "locator" : "13:52-13:54", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "272", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "267", + "locator" : "13:57-13:60", + "type" : "Null" + } + } ] + } + }, { + "localId" : "274", + "locator" : "15:1-15:61", + "name" : "Concatenate.ConcatenateNullB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "","define ","\"Concatenate.ConcatenateNullB\"",": " ] + }, { + "r" : "280", + "s" : [ { + "r" : "275", + "value" : [ "Concatenate","(","null",", " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "280", + "locator" : "15:40-15:61", + "type" : "Concatenate", + "signature" : [ ], + "operand" : [ { + "localId" : "281", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "275", + "locator" : "15:52-15:55", + "type" : "Null" + } + }, { + "localId" : "276", + "locator" : "15:58-15:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "283", + "locator" : "17:1-17:57", + "name" : "Concatenate.ConcatenateAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "283", + "s" : [ { + "value" : [ "","define ","\"Concatenate.ConcatenateAB\"",": " ] + }, { + "r" : "288", + "s" : [ { + "value" : [ "Concatenate","(" ] + }, { + "r" : "284", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "285", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "288", + "locator" : "17:37-17:57", + "type" : "Concatenate", + "signature" : [ ], + "operand" : [ { + "localId" : "284", + "locator" : "17:49-17:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "285", + "locator" : "17:54-17:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "290", + "locator" : "19:1-19:52", + "name" : "Concatenate.ConcatenateABWithAdd", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "290", + "s" : [ { + "value" : [ "","define ","\"Concatenate.ConcatenateABWithAdd\"",": " ] + }, { + "r" : "296", + "s" : [ { + "r" : "292", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ " + " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "'b'" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "296", + "locator" : "19:44-19:52", + "type" : "Concatenate", + "signature" : [ ], + "operand" : [ { + "localId" : "292", + "locator" : "19:44-19:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "293", + "locator" : "19:50-19:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } ] + } + }, { + "localId" : "298", + "locator" : "21:1-21:52", + "name" : "EndsWith.EndsWithNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "298", + "s" : [ { + "value" : [ "","define ","\"EndsWith.EndsWithNull\"",": " ] + }, { + "r" : "305", + "s" : [ { + "r" : "299", + "value" : [ "EndsWith","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "305", + "locator" : "21:33-21:52", + "type" : "EndsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "306", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "299", + "locator" : "21:42-21:45", + "type" : "Null" + } + }, { + "localId" : "307", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "300", + "locator" : "21:48-21:51", + "type" : "Null" + } + } ] + } + }, { + "localId" : "309", + "locator" : "23:1-23:77", + "name" : "EndsWith.EndsWithTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "309", + "s" : [ { + "value" : [ "","define ","\"EndsWith.EndsWithTrue\"",": " ] + }, { + "r" : "314", + "s" : [ { + "value" : [ "EndsWith","(" ] + }, { + "r" : "310", + "s" : [ { + "value" : [ "'Chris Schuler is the man!!'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "311", + "s" : [ { + "value" : [ "'n!!'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "314", + "locator" : "23:33-23:77", + "type" : "EndsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "310", + "locator" : "23:42-23:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Chris Schuler is the man!!", + "type" : "Literal" + }, { + "localId" : "311", + "locator" : "23:72-23:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n!!", + "type" : "Literal" + } ] + } + }, { + "localId" : "316", + "locator" : "25:1-25:77", + "name" : "EndsWith.EndsWithFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "316", + "s" : [ { + "value" : [ "","define ","\"EndsWith.EndsWithFalse\"",": " ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "EndsWith","(" ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "'Chris Schuler is the man!!'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "318", + "s" : [ { + "value" : [ "'n!'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "321", + "locator" : "25:34-25:77", + "type" : "EndsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "317", + "locator" : "25:43-25:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Chris Schuler is the man!!", + "type" : "Literal" + }, { + "localId" : "318", + "locator" : "25:73-25:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "n!", + "type" : "Literal" + } ] + } + }, { + "localId" : "323", + "locator" : "27:1-27:63", + "name" : "Indexer.IndexerNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "323", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerNullNull\"",": " ] + }, { + "r" : "331", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "324", + "s" : [ { + "r" : "325", + "value" : [ "null"," as " ] + }, { + "r" : "326", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "r" : "327", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "331", + "locator" : "27:35-27:63", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "324", + "locator" : "27:43-27:56", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "325", + "locator" : "27:43-27:46", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "326", + "locator" : "27:51-27:56", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "332", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "327", + "locator" : "27:59-27:62", + "type" : "Null" + } + } ] + } + }, { + "localId" : "334", + "locator" : "29:1-29:49", + "name" : "Indexer.IndexerANull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "334", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerANull\"",": " ] + }, { + "r" : "340", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "335", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "336", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "340", + "locator" : "29:32-29:49", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "335", + "locator" : "29:40-29:42", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, { + "localId" : "341", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "336", + "locator" : "29:45-29:48", + "type" : "Null" + } + } ] + } + }, { + "localId" : "343", + "locator" : "31:1-31:63", + "name" : "Indexer.IndexerNull1String", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerNull1String\"",": " ] + }, { + "r" : "350", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "344", + "s" : [ { + "r" : "345", + "value" : [ "null"," as " ] + }, { + "r" : "346", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "r" : "347", + "value" : [ ", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "350", + "locator" : "31:38-31:63", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "344", + "locator" : "31:46-31:59", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "345", + "locator" : "31:46-31:49", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "346", + "locator" : "31:54-31:59", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + }, { + "localId" : "347", + "locator" : "31:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "352", + "locator" : "33:1-33:45", + "name" : "Indexer.IndexerAB0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerAB0\"",": " ] + }, { + "r" : "357", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "353", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "354", + "value" : [ ", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "357", + "locator" : "33:30-33:45", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "353", + "locator" : "33:38-33:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, { + "localId" : "354", + "locator" : "33:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } ] + } + }, { + "localId" : "359", + "locator" : "35:1-35:45", + "name" : "Indexer.IndexerAB1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "359", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerAB1\"",": " ] + }, { + "r" : "364", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "360", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "361", + "value" : [ ", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "364", + "locator" : "35:30-35:45", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "360", + "locator" : "35:38-35:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, { + "localId" : "361", + "locator" : "35:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } ] + } + }, { + "localId" : "366", + "locator" : "37:1-37:45", + "name" : "Indexer.IndexerAB2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "366", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerAB2\"",": " ] + }, { + "r" : "371", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "367", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "368", + "value" : [ ", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "371", + "locator" : "37:30-37:45", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "367", + "locator" : "37:38-37:41", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, { + "localId" : "368", + "locator" : "37:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } ] + } + }, { + "localId" : "373", + "locator" : "39:1-39:49", + "name" : "Indexer.IndexerABNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "","define ","\"Indexer.IndexerABNeg1\"",": " ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "Indexer","(" ] + }, { + "r" : "374", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "375", + "s" : [ { + "r" : "376", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "380", + "locator" : "39:33-39:49", + "type" : "Indexer", + "signature" : [ ], + "operand" : [ { + "localId" : "374", + "locator" : "39:41-39:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, { + "localId" : "375", + "locator" : "39:47-39:48", + "type" : "Negate", + "signature" : [ { + "localId" : "377", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "376", + "locator" : "39:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "382", + "locator" : "41:1-41:70", + "name" : "LastPositionOf.LastPositionOfNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "382", + "s" : [ { + "value" : [ "","define ","\"LastPositionOf.LastPositionOfNull\"",": " ] + }, { + "r" : "389", + "s" : [ { + "r" : "383", + "value" : [ "LastPositionOf","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "389", + "locator" : "41:45-41:70", + "type" : "LastPositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "390", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "383", + "locator" : "41:60-41:63", + "type" : "Null" + } + }, + "string" : { + "localId" : "391", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "384", + "locator" : "41:66-41:69", + "type" : "Null" + } + } + } + }, { + "localId" : "393", + "locator" : "43:1-43:71", + "name" : "LastPositionOf.LastPositionOfNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "393", + "s" : [ { + "value" : [ "","define ","\"LastPositionOf.LastPositionOfNull1\"",": " ] + }, { + "r" : "399", + "s" : [ { + "r" : "394", + "value" : [ "LastPositionOf","(","null",", " ] + }, { + "r" : "395", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "399", + "locator" : "43:46-43:71", + "type" : "LastPositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "400", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "394", + "locator" : "43:61-43:64", + "type" : "Null" + } + }, + "string" : { + "localId" : "395", + "locator" : "43:67-43:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + } + } + }, { + "localId" : "402", + "locator" : "45:1-45:71", + "name" : "LastPositionOf.LastPositionOfNull2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "402", + "s" : [ { + "value" : [ "","define ","\"LastPositionOf.LastPositionOfNull2\"",": " ] + }, { + "r" : "408", + "s" : [ { + "value" : [ "LastPositionOf","(" ] + }, { + "r" : "403", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "r" : "404", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "408", + "locator" : "45:46-45:71", + "type" : "LastPositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "403", + "locator" : "45:61-45:64", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + }, + "string" : { + "localId" : "409", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "404", + "locator" : "45:67-45:70", + "type" : "Null" + } + } + } + }, { + "localId" : "411", + "locator" : "47:1-47:89", + "name" : "LastPositionOf.LastPositionOf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "411", + "s" : [ { + "value" : [ "","define ","\"LastPositionOf.LastPositionOf1\"",": " ] + }, { + "r" : "416", + "s" : [ { + "value" : [ "LastPositionOf","(" ] + }, { + "r" : "412", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "413", + "s" : [ { + "value" : [ "'Ohio is the place to be!'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "416", + "locator" : "47:42-47:89", + "type" : "LastPositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "412", + "locator" : "47:57-47:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + }, + "string" : { + "localId" : "413", + "locator" : "47:63-47:88", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Ohio is the place to be!", + "type" : "Literal" + } + } + }, { + "localId" : "418", + "locator" : "49:1-49:80", + "name" : "LastPositionOf.LastPositionOf2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "418", + "s" : [ { + "value" : [ "","define ","\"LastPositionOf.LastPositionOf2\"",": " ] + }, { + "r" : "423", + "s" : [ { + "value" : [ "LastPositionOf","(" ] + }, { + "r" : "419", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "420", + "s" : [ { + "value" : [ "'Say hi to Ohio!'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "423", + "locator" : "49:42-49:80", + "type" : "LastPositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "419", + "locator" : "49:57-49:60", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + }, + "string" : { + "localId" : "420", + "locator" : "49:63-49:79", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Say hi to Ohio!", + "type" : "Literal" + } + } + }, { + "localId" : "425", + "locator" : "51:1-51:56", + "name" : "Length.LengthNullString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "425", + "s" : [ { + "value" : [ "","define ","\"Length.LengthNullString\"",": " ] + }, { + "r" : "431", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "426", + "s" : [ { + "r" : "427", + "value" : [ "null"," as " ] + }, { + "r" : "428", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "431", + "locator" : "51:35-51:56", + "type" : "Length", + "signature" : [ ], + "operand" : { + "localId" : "426", + "locator" : "51:42-51:55", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "427", + "locator" : "51:42-51:45", + "type" : "Null" + }, + "asTypeSpecifier" : { + "localId" : "428", + "locator" : "51:50-51:55", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } + } + } + }, { + "localId" : "433", + "locator" : "53:1-53:45", + "name" : "Length.LengthEmptyString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "433", + "s" : [ { + "value" : [ "","define ","\"Length.LengthEmptyString\"",": " ] + }, { + "r" : "437", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "434", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "437", + "locator" : "53:36-53:45", + "type" : "Length", + "signature" : [ ], + "operand" : { + "localId" : "434", + "locator" : "53:43-53:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "type" : "Literal" + } + } + }, { + "localId" : "439", + "locator" : "55:1-55:36", + "name" : "Length.LengthA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "439", + "s" : [ { + "value" : [ "","define ","\"Length.LengthA\"",": " ] + }, { + "r" : "443", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "440", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "443", + "locator" : "55:26-55:36", + "type" : "Length", + "signature" : [ ], + "operand" : { + "localId" : "440", + "locator" : "55:33-55:35", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } + } + }, { + "localId" : "445", + "locator" : "57:1-57:38", + "name" : "Length.LengthAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "445", + "s" : [ { + "value" : [ "","define ","\"Length.LengthAB\"",": " ] + }, { + "r" : "449", + "s" : [ { + "value" : [ "Length","(" ] + }, { + "r" : "446", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "449", + "locator" : "57:27-57:38", + "type" : "Length", + "signature" : [ ], + "operand" : { + "localId" : "446", + "locator" : "57:34-57:37", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + } + } + }, { + "localId" : "451", + "locator" : "59:1-59:37", + "name" : "Lower.LowerNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "451", + "s" : [ { + "value" : [ "","define ","\"Lower.LowerNull\"",": " ] + }, { + "r" : "456", + "s" : [ { + "r" : "452", + "value" : [ "Lower","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "456", + "locator" : "59:27-59:37", + "type" : "Lower", + "signature" : [ ], + "operand" : { + "localId" : "457", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "452", + "locator" : "59:33-59:36", + "type" : "Null" + } + } + } + }, { + "localId" : "459", + "locator" : "61:1-61:36", + "name" : "Lower.LowerEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "459", + "s" : [ { + "value" : [ "","define ","\"Lower.LowerEmpty\"",": " ] + }, { + "r" : "463", + "s" : [ { + "value" : [ "Lower","(" ] + }, { + "r" : "460", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "463", + "locator" : "61:28-61:36", + "type" : "Lower", + "signature" : [ ], + "operand" : { + "localId" : "460", + "locator" : "61:34-61:35", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "type" : "Literal" + } + } + }, { + "localId" : "465", + "locator" : "63:1-63:33", + "name" : "Lower.LowerA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "465", + "s" : [ { + "value" : [ "","define ","\"Lower.LowerA\"",": " ] + }, { + "r" : "469", + "s" : [ { + "value" : [ "Lower","(" ] + }, { + "r" : "466", + "s" : [ { + "value" : [ "'A'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "469", + "locator" : "63:24-63:33", + "type" : "Lower", + "signature" : [ ], + "operand" : { + "localId" : "466", + "locator" : "63:30-63:32", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "A", + "type" : "Literal" + } + } + }, { + "localId" : "471", + "locator" : "65:1-65:33", + "name" : "Lower.LowerB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "471", + "s" : [ { + "value" : [ "","define ","\"Lower.LowerB\"",": " ] + }, { + "r" : "475", + "s" : [ { + "value" : [ "Lower","(" ] + }, { + "r" : "472", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "475", + "locator" : "65:24-65:33", + "type" : "Lower", + "signature" : [ ], + "operand" : { + "localId" : "472", + "locator" : "65:30-65:32", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + } + } + }, { + "localId" : "477", + "locator" : "67:1-67:35", + "name" : "Lower.LowerAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "477", + "s" : [ { + "value" : [ "","define ","\"Lower.LowerAB\"",": " ] + }, { + "r" : "481", + "s" : [ { + "value" : [ "Lower","(" ] + }, { + "r" : "478", + "s" : [ { + "value" : [ "'Ab'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "481", + "locator" : "67:25-67:35", + "type" : "Lower", + "signature" : [ ], + "operand" : { + "localId" : "478", + "locator" : "67:31-67:34", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Ab", + "type" : "Literal" + } + } + }, { + "localId" : "483", + "locator" : "69:1-69:74", + "name" : "Matches.MatchesNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "483", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesNull\"",": " ] + }, { + "r" : "489", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "484", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "r" : "485", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "489", + "locator" : "69:31-69:74", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "484", + "locator" : "69:39-69:67", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "490", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "485", + "locator" : "69:70-69:73", + "type" : "Null" + } + } ] + } + }, { + "localId" : "492", + "locator" : "71:1-71:85", + "name" : "Matches.MatchesNumberFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "492", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesNumberFalse\"",": " ] + }, { + "r" : "497", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "493", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "494", + "s" : [ { + "value" : [ "'.*\\\\d+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "497", + "locator" : "71:38-71:85", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "493", + "locator" : "71:46-71:74", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "494", + "locator" : "71:77-71:84", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ".*\\d+", + "type" : "Literal" + } ] + } + }, { + "localId" : "499", + "locator" : "73:1-73:97", + "name" : "Matches.MatchesNumberTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "499", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesNumberTrue\"",": " ] + }, { + "r" : "504", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "500", + "s" : [ { + "value" : [ "'Not all who wander are lost - circa 2017'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "501", + "s" : [ { + "value" : [ "'.*\\\\d+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "504", + "locator" : "73:37-73:97", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "500", + "locator" : "73:45-73:86", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost - circa 2017", + "type" : "Literal" + }, { + "localId" : "501", + "locator" : "73:89-73:96", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ".*\\d+", + "type" : "Literal" + } ] + } + }, { + "localId" : "506", + "locator" : "75:1-75:77", + "name" : "Matches.MatchesAllTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "506", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesAllTrue\"",": " ] + }, { + "r" : "511", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "507", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "508", + "s" : [ { + "value" : [ "'.*'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "511", + "locator" : "75:34-75:77", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "507", + "locator" : "75:42-75:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "508", + "locator" : "75:73-75:76", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ".*", + "type" : "Literal" + } ] + } + }, { + "localId" : "513", + "locator" : "77:1-77:96", + "name" : "Matches.MatchesWordsAndSpacesTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "513", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesWordsAndSpacesTrue\"",": " ] + }, { + "r" : "518", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "514", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "515", + "s" : [ { + "value" : [ "'[\\\\w|\\\\s]+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "518", + "locator" : "77:45-77:96", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "514", + "locator" : "77:53-77:81", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "515", + "locator" : "77:84-77:95", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "[\\w|\\s]+", + "type" : "Literal" + } ] + } + }, { + "localId" : "520", + "locator" : "79:1-79:106", + "name" : "Matches.MatchesWordsAndSpacesFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "520", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesWordsAndSpacesFalse\"",": " ] + }, { + "r" : "525", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "521", + "s" : [ { + "value" : [ "'Not all who wander are lost - circa 2017'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "522", + "s" : [ { + "value" : [ "'[\\\\w]+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "525", + "locator" : "79:46-79:106", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "521", + "locator" : "79:54-79:95", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost - circa 2017", + "type" : "Literal" + }, { + "localId" : "522", + "locator" : "79:98-79:105", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "[\\w]+", + "type" : "Literal" + } ] + } + }, { + "localId" : "527", + "locator" : "81:1-81:56", + "name" : "Matches.MatchesNotWords", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "527", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesNotWords\"",": " ] + }, { + "r" : "532", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "528", + "s" : [ { + "value" : [ "' '" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "529", + "s" : [ { + "value" : [ "'\\\\W+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "532", + "locator" : "81:35-81:56", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "528", + "locator" : "81:43-81:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " ", + "type" : "Literal" + }, { + "localId" : "529", + "locator" : "81:50-81:55", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\W+", + "type" : "Literal" + } ] + } + }, { + "localId" : "534", + "locator" : "83:1-83:60", + "name" : "Matches.MatchesWhiteSpace", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "534", + "s" : [ { + "value" : [ "","define ","\"Matches.MatchesWhiteSpace\"",": " ] + }, { + "r" : "539", + "s" : [ { + "value" : [ "Matches","(" ] + }, { + "r" : "535", + "s" : [ { + "value" : [ "' \\n\\t'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "536", + "s" : [ { + "value" : [ "'\\\\s+'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "539", + "locator" : "83:37-83:60", + "type" : "Matches", + "signature" : [ ], + "operand" : [ { + "localId" : "535", + "locator" : "83:45-83:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : " \n\t", + "type" : "Literal" + }, { + "localId" : "536", + "locator" : "83:54-83:59", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\s+", + "type" : "Literal" + } ] + } + }, { + "localId" : "541", + "locator" : "85:1-85:62", + "name" : "PositionOf.PositionOfNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "541", + "s" : [ { + "value" : [ "","define ","\"PositionOf.PositionOfNullNull\"",": " ] + }, { + "r" : "548", + "s" : [ { + "r" : "542", + "value" : [ "PositionOf","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "548", + "locator" : "85:41-85:62", + "type" : "PositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "549", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "542", + "locator" : "85:52-85:55", + "type" : "Null" + } + }, + "string" : { + "localId" : "550", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "543", + "locator" : "85:58-85:61", + "type" : "Null" + } + } + } + }, { + "localId" : "552", + "locator" : "87:1-87:58", + "name" : "PositionOf.PositionOfANull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "552", + "s" : [ { + "value" : [ "","define ","\"PositionOf.PositionOfANull\"",": " ] + }, { + "r" : "558", + "s" : [ { + "value" : [ "PositionOf","(" ] + }, { + "r" : "553", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "554", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "558", + "locator" : "87:38-87:58", + "type" : "PositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "553", + "locator" : "87:49-87:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, + "string" : { + "localId" : "559", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "554", + "locator" : "87:54-87:57", + "type" : "Null" + } + } + } + }, { + "localId" : "561", + "locator" : "89:1-89:58", + "name" : "PositionOf.PositionOfNullA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "561", + "s" : [ { + "value" : [ "","define ","\"PositionOf.PositionOfNullA\"",": " ] + }, { + "r" : "567", + "s" : [ { + "r" : "562", + "value" : [ "PositionOf","(","null",", " ] + }, { + "r" : "563", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "567", + "locator" : "89:38-89:58", + "type" : "PositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "568", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "562", + "locator" : "89:49-89:52", + "type" : "Null" + } + }, + "string" : { + "localId" : "563", + "locator" : "89:55-89:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } + } + }, { + "localId" : "570", + "locator" : "91:1-91:58", + "name" : "PositionOf.PositionOfAInAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "570", + "s" : [ { + "value" : [ "","define ","\"PositionOf.PositionOfAInAB\"",": " ] + }, { + "r" : "575", + "s" : [ { + "value" : [ "PositionOf","(" ] + }, { + "r" : "571", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "572", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "575", + "locator" : "91:38-91:58", + "type" : "PositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "571", + "locator" : "91:49-91:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, + "string" : { + "localId" : "572", + "locator" : "91:54-91:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + } + } + }, { + "localId" : "577", + "locator" : "93:1-93:58", + "name" : "PositionOf.PositionOfBInAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "577", + "s" : [ { + "value" : [ "","define ","\"PositionOf.PositionOfBInAB\"",": " ] + }, { + "r" : "582", + "s" : [ { + "value" : [ "PositionOf","(" ] + }, { + "r" : "578", + "s" : [ { + "value" : [ "'b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "579", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "582", + "locator" : "93:38-93:58", + "type" : "PositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "578", + "locator" : "93:49-93:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "b", + "type" : "Literal" + }, + "string" : { + "localId" : "579", + "locator" : "93:54-93:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + } + } + }, { + "localId" : "584", + "locator" : "95:1-95:58", + "name" : "PositionOf.PositionOfCInAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "584", + "s" : [ { + "value" : [ "","define ","\"PositionOf.PositionOfCInAB\"",": " ] + }, { + "r" : "589", + "s" : [ { + "value" : [ "PositionOf","(" ] + }, { + "r" : "585", + "s" : [ { + "value" : [ "'c'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "586", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "589", + "locator" : "95:38-95:58", + "type" : "PositionOf", + "signature" : [ ], + "pattern" : { + "localId" : "585", + "locator" : "95:49-95:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "c", + "type" : "Literal" + }, + "string" : { + "localId" : "586", + "locator" : "95:54-95:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + } + } + }, { + "localId" : "591", + "locator" : "97:1-97:110", + "name" : "ReplaceMatches.ReplaceMatchesNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "591", + "s" : [ { + "value" : [ "","define ","\"ReplaceMatches.ReplaceMatchesNull\"",": " ] + }, { + "r" : "598", + "s" : [ { + "value" : [ "ReplaceMatches","(" ] + }, { + "r" : "592", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "r" : "593", + "value" : [ ", ","null",", " ] + }, { + "r" : "594", + "s" : [ { + "value" : [ "'But I am...'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "598", + "locator" : "97:45-97:110", + "type" : "ReplaceMatches", + "signature" : [ ], + "operand" : [ { + "localId" : "592", + "locator" : "97:60-97:88", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "599", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "593", + "locator" : "97:91-97:94", + "type" : "Null" + } + }, { + "localId" : "594", + "locator" : "97:97-97:109", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "But I am...", + "type" : "Literal" + } ] + } + }, { + "localId" : "601", + "locator" : "99:1-99:148", + "name" : "ReplaceMatches.ReplaceMatchesAll", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "601", + "s" : [ { + "value" : [ "","define ","\"ReplaceMatches.ReplaceMatchesAll\"",": " ] + }, { + "r" : "607", + "s" : [ { + "value" : [ "ReplaceMatches","(" ] + }, { + "r" : "602", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "603", + "s" : [ { + "value" : [ "'Not all who wander are lost'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "604", + "s" : [ { + "value" : [ "'But still waters run deep'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "607", + "locator" : "99:44-99:148", + "type" : "ReplaceMatches", + "signature" : [ ], + "operand" : [ { + "localId" : "602", + "locator" : "99:59-99:87", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "603", + "locator" : "99:90-99:118", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Not all who wander are lost", + "type" : "Literal" + }, { + "localId" : "604", + "locator" : "99:121-99:147", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "But still waters run deep", + "type" : "Literal" + } ] + } + }, { + "localId" : "609", + "locator" : "101:1-101:120", + "name" : "ReplaceMatches.ReplaceMatchesMany", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "609", + "s" : [ { + "value" : [ "","define ","\"ReplaceMatches.ReplaceMatchesMany\"",": " ] + }, { + "r" : "615", + "s" : [ { + "value" : [ "ReplaceMatches","(" ] + }, { + "r" : "610", + "s" : [ { + "value" : [ "'Who put the bop in the bop she bop she bop?'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "611", + "s" : [ { + "value" : [ "'bop'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "612", + "s" : [ { + "value" : [ "'bang'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "615", + "locator" : "101:45-101:120", + "type" : "ReplaceMatches", + "signature" : [ ], + "operand" : [ { + "localId" : "610", + "locator" : "101:60-101:104", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Who put the bop in the bop she bop she bop?", + "type" : "Literal" + }, { + "localId" : "611", + "locator" : "101:107-101:111", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bop", + "type" : "Literal" + }, { + "localId" : "612", + "locator" : "101:114-101:119", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bang", + "type" : "Literal" + } ] + } + }, { + "localId" : "617", + "locator" : "103:1-103:107", + "name" : "ReplaceMatches.ReplaceMatchesSpaces", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "617", + "s" : [ { + "value" : [ "","define ","\"ReplaceMatches.ReplaceMatchesSpaces\"",": " ] + }, { + "r" : "623", + "s" : [ { + "value" : [ "ReplaceMatches","(" ] + }, { + "r" : "618", + "s" : [ { + "value" : [ "'All that glitters is not gold'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "619", + "s" : [ { + "value" : [ "'\\\\s'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "620", + "s" : [ { + "value" : [ "'\\\\$'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "623", + "locator" : "103:47-103:107", + "type" : "ReplaceMatches", + "signature" : [ ], + "operand" : [ { + "localId" : "618", + "locator" : "103:62-103:92", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "All that glitters is not gold", + "type" : "Literal" + }, { + "localId" : "619", + "locator" : "103:95-103:99", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\s", + "type" : "Literal" + }, { + "localId" : "620", + "locator" : "103:102-103:106", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "\\$", + "type" : "Literal" + } ] + } + }, { + "localId" : "625", + "locator" : "105:1-105:47", + "name" : "Split.SplitNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "625", + "s" : [ { + "value" : [ "","define ","\"Split.SplitNullNull\"",": " ] + }, { + "r" : "632", + "s" : [ { + "r" : "626", + "value" : [ "Split","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "632", + "locator" : "105:31-105:47", + "type" : "Split", + "signature" : [ ], + "stringToSplit" : { + "localId" : "633", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "626", + "locator" : "105:37-105:40", + "type" : "Null" + } + }, + "separator" : { + "localId" : "634", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "627", + "locator" : "105:43-105:46", + "type" : "Null" + } + } + } + }, { + "localId" : "636", + "locator" : "107:1-107:47", + "name" : "Split.SplitNullComma", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "636", + "s" : [ { + "value" : [ "","define ","\"Split.SplitNullComma\"",": " ] + }, { + "r" : "642", + "s" : [ { + "r" : "637", + "value" : [ "Split","(","null",", " ] + }, { + "r" : "638", + "s" : [ { + "value" : [ "','" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "642", + "locator" : "107:32-107:47", + "type" : "Split", + "signature" : [ ], + "stringToSplit" : { + "localId" : "643", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "637", + "locator" : "107:38-107:41", + "type" : "Null" + } + }, + "separator" : { + "localId" : "638", + "locator" : "107:44-107:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ",", + "type" : "Literal" + } + } + }, { + "localId" : "645", + "locator" : "109:1-109:46", + "name" : "Split.SplitABNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "645", + "s" : [ { + "value" : [ "","define ","\"Split.SplitABNull\"",": " ] + }, { + "r" : "651", + "s" : [ { + "value" : [ "Split","(" ] + }, { + "r" : "646", + "s" : [ { + "value" : [ "'a,b'" ] + } ] + }, { + "r" : "647", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "651", + "locator" : "109:29-109:46", + "type" : "Split", + "signature" : [ ], + "stringToSplit" : { + "localId" : "646", + "locator" : "109:35-109:39", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a,b", + "type" : "Literal" + }, + "separator" : { + "localId" : "652", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "647", + "locator" : "109:42-109:45", + "type" : "Null" + } + } + } + }, { + "localId" : "654", + "locator" : "111:1-111:45", + "name" : "Split.SplitABDash", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "654", + "s" : [ { + "value" : [ "","define ","\"Split.SplitABDash\"",": " ] + }, { + "r" : "659", + "s" : [ { + "value" : [ "Split","(" ] + }, { + "r" : "655", + "s" : [ { + "value" : [ "'a,b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "656", + "s" : [ { + "value" : [ "'-'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "659", + "locator" : "111:29-111:45", + "type" : "Split", + "signature" : [ ], + "stringToSplit" : { + "localId" : "655", + "locator" : "111:35-111:39", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a,b", + "type" : "Literal" + }, + "separator" : { + "localId" : "656", + "locator" : "111:42-111:44", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-", + "type" : "Literal" + } + } + }, { + "localId" : "661", + "locator" : "113:1-113:46", + "name" : "Split.SplitABComma", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "661", + "s" : [ { + "value" : [ "","define ","\"Split.SplitABComma\"",": " ] + }, { + "r" : "666", + "s" : [ { + "value" : [ "Split","(" ] + }, { + "r" : "662", + "s" : [ { + "value" : [ "'a,b'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "663", + "s" : [ { + "value" : [ "','" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "666", + "locator" : "113:30-113:46", + "type" : "Split", + "signature" : [ ], + "stringToSplit" : { + "localId" : "662", + "locator" : "113:36-113:40", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a,b", + "type" : "Literal" + }, + "separator" : { + "localId" : "663", + "locator" : "113:43-113:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : ",", + "type" : "Literal" + } + } + }, { + "localId" : "668", + "locator" : "115:1-115:58", + "name" : "StartsWith.StartsWithNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "668", + "s" : [ { + "value" : [ "","define ","\"StartsWith.StartsWithNull\"",": " ] + }, { + "r" : "675", + "s" : [ { + "r" : "669", + "value" : [ "StartsWith","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "675", + "locator" : "115:37-115:58", + "type" : "StartsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "676", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "669", + "locator" : "115:48-115:51", + "type" : "Null" + } + }, { + "localId" : "677", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "670", + "locator" : "115:54-115:57", + "type" : "Null" + } + } ] + } + }, { + "localId" : "679", + "locator" : "117:1-117:59", + "name" : "StartsWith.StartsWithNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "679", + "s" : [ { + "value" : [ "","define ","\"StartsWith.StartsWithNull1\"",": " ] + }, { + "r" : "685", + "s" : [ { + "value" : [ "StartsWith","(" ] + }, { + "r" : "680", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "r" : "681", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "685", + "locator" : "117:38-117:59", + "type" : "StartsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "680", + "locator" : "117:49-117:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + }, { + "localId" : "686", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "681", + "locator" : "117:55-117:58", + "type" : "Null" + } + } ] + } + }, { + "localId" : "688", + "locator" : "119:1-119:59", + "name" : "StartsWith.StartsWithNull2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "688", + "s" : [ { + "value" : [ "","define ","\"StartsWith.StartsWithNull2\"",": " ] + }, { + "r" : "694", + "s" : [ { + "r" : "689", + "value" : [ "StartsWith","(","null",", " ] + }, { + "r" : "690", + "s" : [ { + "value" : [ "'hi'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "694", + "locator" : "119:38-119:59", + "type" : "StartsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "695", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "689", + "locator" : "119:49-119:52", + "type" : "Null" + } + }, { + "localId" : "690", + "locator" : "119:55-119:58", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "hi", + "type" : "Literal" + } ] + } + }, { + "localId" : "697", + "locator" : "121:1-121:90", + "name" : "StartsWith.StartsWithTrue1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "697", + "s" : [ { + "value" : [ "","define ","\"StartsWith.StartsWithTrue1\"",": " ] + }, { + "r" : "702", + "s" : [ { + "value" : [ "StartsWith","(" ] + }, { + "r" : "698", + "s" : [ { + "value" : [ "'Breathe deep the gathering gloom'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "699", + "s" : [ { + "value" : [ "'Bre'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "702", + "locator" : "121:38-121:90", + "type" : "StartsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "698", + "locator" : "121:49-121:82", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Breathe deep the gathering gloom", + "type" : "Literal" + }, { + "localId" : "699", + "locator" : "121:85-121:89", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Bre", + "type" : "Literal" + } ] + } + }, { + "localId" : "704", + "locator" : "123:1-123:91", + "name" : "StartsWith.StartsWithFalse1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "704", + "s" : [ { + "value" : [ "","define ","\"StartsWith.StartsWithFalse1\"",": " ] + }, { + "r" : "709", + "s" : [ { + "value" : [ "StartsWith","(" ] + }, { + "r" : "705", + "s" : [ { + "value" : [ "'Breathe deep the gathering gloom'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "706", + "s" : [ { + "value" : [ "'bre'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "709", + "locator" : "123:39-123:91", + "type" : "StartsWith", + "signature" : [ ], + "operand" : [ { + "localId" : "705", + "locator" : "123:50-123:83", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Breathe deep the gathering gloom", + "type" : "Literal" + }, { + "localId" : "706", + "locator" : "123:86-123:90", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "bre", + "type" : "Literal" + } ] + } + }, { + "localId" : "711", + "locator" : "125:1-125:59", + "name" : "Substring.SubstringNullNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "711", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringNullNull\"",": " ] + }, { + "r" : "718", + "s" : [ { + "r" : "712", + "value" : [ "Substring","(","null",", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "718", + "locator" : "125:39-125:59", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "719", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "712", + "locator" : "125:49-125:52", + "type" : "Null" + } + }, + "startIndex" : { + "localId" : "720", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "713", + "locator" : "125:55-125:58", + "type" : "Null" + } + } + } + }, { + "localId" : "722", + "locator" : "127:1-127:55", + "name" : "Substring.SubstringANull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "722", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringANull\"",": " ] + }, { + "r" : "728", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "723", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "r" : "724", + "value" : [ ", ","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "728", + "locator" : "127:36-127:55", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "723", + "locator" : "127:46-127:48", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "729", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "724", + "locator" : "127:51-127:54", + "type" : "Null" + } + } + } + }, { + "localId" : "731", + "locator" : "129:1-129:53", + "name" : "Substring.SubstringNull1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "731", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringNull1\"",": " ] + }, { + "r" : "737", + "s" : [ { + "r" : "732", + "value" : [ "Substring","(","null",", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "737", + "locator" : "129:36-129:53", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "738", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "732", + "locator" : "129:46-129:49", + "type" : "Null" + } + }, + "startIndex" : { + "localId" : "733", + "locator" : "129:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "740", + "locator" : "131:1-131:51", + "name" : "Substring.SubstringAB0", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "740", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringAB0\"",": " ] + }, { + "r" : "745", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "741", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "742", + "value" : [ ", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "745", + "locator" : "131:34-131:51", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "741", + "locator" : "131:44-131:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "742", + "locator" : "131:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "747", + "locator" : "133:1-133:51", + "name" : "Substring.SubstringAB1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "747", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringAB1\"",": " ] + }, { + "r" : "752", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "748", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "749", + "value" : [ ", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "752", + "locator" : "133:34-133:51", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "748", + "locator" : "133:44-133:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "749", + "locator" : "133:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "754", + "locator" : "135:1-135:51", + "name" : "Substring.SubstringAB2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "754", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringAB2\"",": " ] + }, { + "r" : "759", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "755", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "756", + "value" : [ ", ","2",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "759", + "locator" : "135:34-135:51", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "755", + "locator" : "135:44-135:47", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "756", + "locator" : "135:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } + }, { + "localId" : "761", + "locator" : "137:1-137:55", + "name" : "Substring.SubstringABNeg1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "761", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringABNeg1\"",": " ] + }, { + "r" : "768", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "762", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "value" : [ ", " ] + }, { + "r" : "763", + "s" : [ { + "r" : "764", + "value" : [ "-","1" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "768", + "locator" : "137:37-137:55", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "762", + "locator" : "137:47-137:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "763", + "locator" : "137:53-137:54", + "type" : "Negate", + "signature" : [ { + "localId" : "765", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "764", + "locator" : "137:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "770", + "locator" : "139:1-139:57", + "name" : "Substring.SubstringAB0To1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "770", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringAB0To1\"",": " ] + }, { + "r" : "776", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "771", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "772", + "value" : [ ", ","0",", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "776", + "locator" : "139:37-139:57", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "771", + "locator" : "139:47-139:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "772", + "locator" : "139:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "length" : { + "localId" : "773", + "locator" : "139:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "778", + "locator" : "141:1-141:59", + "name" : "Substring.SubstringABC1To1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "778", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringABC1To1\"",": " ] + }, { + "r" : "784", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "779", + "s" : [ { + "value" : [ "'abc'" ] + } ] + }, { + "r" : "780", + "value" : [ ", ","1",", ","1",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "784", + "locator" : "141:38-141:59", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "779", + "locator" : "141:48-141:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "abc", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "780", + "locator" : "141:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "length" : { + "localId" : "781", + "locator" : "141:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "786", + "locator" : "143:1-143:57", + "name" : "Substring.SubstringAB0To3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "786", + "s" : [ { + "value" : [ "","define ","\"Substring.SubstringAB0To3\"",": " ] + }, { + "r" : "792", + "s" : [ { + "value" : [ "Substring","(" ] + }, { + "r" : "787", + "s" : [ { + "value" : [ "'ab'" ] + } ] + }, { + "r" : "788", + "value" : [ ", ","0",", ","3",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "792", + "locator" : "143:37-143:57", + "type" : "Substring", + "signature" : [ ], + "stringToSub" : { + "localId" : "787", + "locator" : "143:47-143:50", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "ab", + "type" : "Literal" + }, + "startIndex" : { + "localId" : "788", + "locator" : "143:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "length" : { + "localId" : "789", + "locator" : "143:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } + }, { + "localId" : "794", + "locator" : "145:1-145:37", + "name" : "Upper.UpperNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "794", + "s" : [ { + "value" : [ "","define ","\"Upper.UpperNull\"",": " ] + }, { + "r" : "799", + "s" : [ { + "r" : "795", + "value" : [ "Upper","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "799", + "locator" : "145:27-145:37", + "type" : "Upper", + "signature" : [ ], + "operand" : { + "localId" : "800", + "asType" : "{urn:hl7-org:elm-types:r1}String", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "795", + "locator" : "145:33-145:36", + "type" : "Null" + } + } + } + }, { + "localId" : "802", + "locator" : "147:1-147:36", + "name" : "Upper.UpperEmpty", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "802", + "s" : [ { + "value" : [ "","define ","\"Upper.UpperEmpty\"",": " ] + }, { + "r" : "806", + "s" : [ { + "value" : [ "Upper","(" ] + }, { + "r" : "803", + "s" : [ { + "value" : [ "''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "806", + "locator" : "147:28-147:36", + "type" : "Upper", + "signature" : [ ], + "operand" : { + "localId" : "803", + "locator" : "147:34-147:35", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "", + "type" : "Literal" + } + } + }, { + "localId" : "808", + "locator" : "149:1-149:33", + "name" : "Upper.UpperA", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "808", + "s" : [ { + "value" : [ "","define ","\"Upper.UpperA\"",": " ] + }, { + "r" : "812", + "s" : [ { + "value" : [ "Upper","(" ] + }, { + "r" : "809", + "s" : [ { + "value" : [ "'a'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "812", + "locator" : "149:24-149:33", + "type" : "Upper", + "signature" : [ ], + "operand" : { + "localId" : "809", + "locator" : "149:30-149:32", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "a", + "type" : "Literal" + } + } + }, { + "localId" : "814", + "locator" : "151:1-151:33", + "name" : "Upper.UpperB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "814", + "s" : [ { + "value" : [ "","define ","\"Upper.UpperB\"",": " ] + }, { + "r" : "818", + "s" : [ { + "value" : [ "Upper","(" ] + }, { + "r" : "815", + "s" : [ { + "value" : [ "'B'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "818", + "locator" : "151:24-151:33", + "type" : "Upper", + "signature" : [ ], + "operand" : { + "localId" : "815", + "locator" : "151:30-151:32", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "B", + "type" : "Literal" + } + } + }, { + "localId" : "820", + "locator" : "153:1-153:35", + "name" : "Upper.UpperAB", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "820", + "s" : [ { + "value" : [ "","define ","\"Upper.UpperAB\"",": " ] + }, { + "r" : "824", + "s" : [ { + "value" : [ "Upper","(" ] + }, { + "r" : "821", + "s" : [ { + "value" : [ "'aB'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "824", + "locator" : "153:25-153:35", + "type" : "Upper", + "signature" : [ ], + "operand" : { + "localId" : "821", + "locator" : "153:31-153:34", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "aB", + "type" : "Literal" + } + } + }, { + "localId" : "826", + "locator" : "155:1-155:60", + "name" : "toString tests.QuantityToString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "826", + "s" : [ { + "value" : [ "","define ","\"toString tests.QuantityToString\"",": " ] + }, { + "r" : "831", + "s" : [ { + "value" : [ "ToString","(" ] + }, { + "r" : "827", + "s" : [ { + "value" : [ "125 ","'cm'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "831", + "locator" : "155:43-155:60", + "type" : "ToString", + "signature" : [ { + "localId" : "832", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "827", + "locator" : "155:52-155:59", + "value" : 125, + "unit" : "cm", + "type" : "Quantity" + } + } + }, { + "localId" : "834", + "locator" : "157:1-157:73", + "name" : "toString tests.DateTimeToString1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "834", + "s" : [ { + "value" : [ "","define ","\"toString tests.DateTimeToString1\"",": " ] + }, { + "r" : "844", + "s" : [ { + "value" : [ "ToString","(" ] + }, { + "r" : "840", + "s" : [ { + "r" : "835", + "value" : [ "DateTime","(","2000",", ","1",", ","1",")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "844", + "locator" : "157:44-157:73", + "type" : "ToString", + "signature" : [ { + "localId" : "845", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "840", + "locator" : "157:53-157:72", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "835", + "locator" : "157:62-157:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "type" : "Literal" + }, + "month" : { + "localId" : "836", + "locator" : "157:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "837", + "locator" : "157:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "847", + "locator" : "159:1-159:90", + "name" : "toString tests.DateTimeToString2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "847", + "s" : [ { + "value" : [ "","define ","\"toString tests.DateTimeToString2\"",": " ] + }, { + "r" : "861", + "s" : [ { + "value" : [ "ToString","(" ] + }, { + "r" : "857", + "s" : [ { + "r" : "848", + "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","15",", ","25",", ","25",", ","300",")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "861", + "locator" : "159:44-159:90", + "type" : "ToString", + "signature" : [ { + "localId" : "862", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "857", + "locator" : "159:53-159:89", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "848", + "locator" : "159:62-159:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "type" : "Literal" + }, + "month" : { + "localId" : "849", + "locator" : "159:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "850", + "locator" : "159:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "851", + "locator" : "159:74-159:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "15", + "type" : "Literal" + }, + "minute" : { + "localId" : "852", + "locator" : "159:78-159:79", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "second" : { + "localId" : "853", + "locator" : "159:82-159:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "854", + "locator" : "159:86-159:88", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "300", + "type" : "Literal" + } + } + } + }, { + "localId" : "864", + "locator" : "161:1-161:93", + "name" : "toString tests.DateTimeToString3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "864", + "s" : [ { + "value" : [ "","define ","\"toString tests.DateTimeToString3\"",": " ] + }, { + "r" : "887", + "s" : [ { + "value" : [ "ToString","(" ] + }, { + "r" : "880", + "s" : [ { + "r" : "865", + "value" : [ "DateTime","(","2000",", ","1",", ","1",", ","8",", ","25",", ","25",", ","300",", " ] + }, { + "r" : "872", + "s" : [ { + "r" : "873", + "value" : [ "-","7" ] + } ] + }, { + "value" : [ ")" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "887", + "locator" : "161:44-161:93", + "type" : "ToString", + "signature" : [ { + "localId" : "888", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "880", + "locator" : "161:53-161:92", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "865", + "locator" : "161:62-161:65", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2000", + "type" : "Literal" + }, + "month" : { + "localId" : "866", + "locator" : "161:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "867", + "locator" : "161:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "868", + "locator" : "161:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "8", + "type" : "Literal" + }, + "minute" : { + "localId" : "869", + "locator" : "161:77-161:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "second" : { + "localId" : "870", + "locator" : "161:81-161:82", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "871", + "locator" : "161:85-161:87", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "300", + "type" : "Literal" + }, + "timezoneOffset" : { + "localId" : "882", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "883", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "872", + "locator" : "161:90-161:91", + "type" : "Negate", + "signature" : [ { + "localId" : "874", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "873", + "locator" : "161:91", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "type" : "Literal" + } + } + } + } + } + }, { + "localId" : "890", + "locator" : "163:1-163:63", + "name" : "toString tests.TimeToString1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "890", + "s" : [ { + "value" : [ "","define ","\"toString tests.TimeToString1\"",": " ] + }, { + "r" : "899", + "s" : [ { + "r" : "891", + "value" : [ "ToString","(","@T09:30:01.003",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "899", + "locator" : "163:40-163:63", + "type" : "ToString", + "signature" : [ { + "localId" : "900", + "name" : "{urn:hl7-org:elm-types:r1}Time", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "891", + "locator" : "163:49-163:62", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "892", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "minute" : { + "localId" : "893", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "30", + "type" : "Literal" + }, + "second" : { + "localId" : "894", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "895", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } + } + } ] + } + } +} + diff --git a/cql/CqlStringOperatorsTest.xml b/cql/CqlStringOperatorsTest.xml new file mode 100644 index 0000000..41eb9ee --- /dev/null +++ b/cql/CqlStringOperatorsTest.xml @@ -0,0 +1,1702 @@ + + + + + + library CqlStringOperatorsTest + + + + + + + + + + + + define "Combine.CombineNull": + + Combine(null) + + + + + + + + + + + + + + + + define "Combine.CombineEmptyList": + + Combine({}) + + + + + + + + + + + + + + + + + + + + define "Combine.CombineABC": + + Combine( + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + ) + + + + + + + + + + + + + + + define "Combine.CombineABCSepDash": + + Combine( + + { + + 'a' + + , + + 'b' + + , + + 'c' + + } + + , + + '-' + + ) + + + + + + + + + + + + + + + + define "Concatenate.ConcatenateNullNull": + + Concatenate(null, null) + + + + + + + + + + + + + + + + define "Concatenate.ConcatenateANull": + + Concatenate( + + 'a' + + , null) + + + + + + + + + + + + + + define "Concatenate.ConcatenateNullB": + + Concatenate(null, + + 'b' + + ) + + + + + + + + + + + + + + define "Concatenate.ConcatenateAB": + + Concatenate( + + 'a' + + , + + 'b' + + ) + + + + + + + + + + + + define "Concatenate.ConcatenateABWithAdd": + + + 'a' + + + + + 'b' + + + + + + + + + + + + + define "EndsWith.EndsWithNull": + + EndsWith(null, null) + + + + + + + + + + + + + + + + define "EndsWith.EndsWithTrue": + + EndsWith( + + 'Chris Schuler is the man!!' + + , + + 'n!!' + + ) + + + + + + + + + + + + define "EndsWith.EndsWithFalse": + + EndsWith( + + 'Chris Schuler is the man!!' + + , + + 'n!' + + ) + + + + + + + + + + + + define "Indexer.IndexerNullNull": + + Indexer( + + null as + + String + + + , null) + + + + + + + + + + + + + + + + + define "Indexer.IndexerANull": + + Indexer( + + 'a' + + , null) + + + + + + + + + + + + + + define "Indexer.IndexerNull1String": + + Indexer( + + null as + + String + + + , 1) + + + + + + + + + + + + + + + define "Indexer.IndexerAB0": + + Indexer( + + 'ab' + + , 0) + + + + + + + + + + + + define "Indexer.IndexerAB1": + + Indexer( + + 'ab' + + , 1) + + + + + + + + + + + + define "Indexer.IndexerAB2": + + Indexer( + + 'ab' + + , 2) + + + + + + + + + + + + define "Indexer.IndexerABNeg1": + + Indexer( + + 'ab' + + , + + -1 + + ) + + + + + + + + + + + + + + + define "LastPositionOf.LastPositionOfNull": + + LastPositionOf(null, null) + + + + + + + + + + + + + + + + define "LastPositionOf.LastPositionOfNull1": + + LastPositionOf(null, + + 'hi' + + ) + + + + + + + + + + + + + + define "LastPositionOf.LastPositionOfNull2": + + LastPositionOf( + + 'hi' + + , null) + + + + + + + + + + + + + + define "LastPositionOf.LastPositionOf1": + + LastPositionOf( + + 'hi' + + , + + 'Ohio is the place to be!' + + ) + + + + + + + + + + + + define "LastPositionOf.LastPositionOf2": + + LastPositionOf( + + 'hi' + + , + + 'Say hi to Ohio!' + + ) + + + + + + + + + + + + define "Length.LengthNullString": + + Length( + + null as + + String + + + ) + + + + + + + + + + + + + + define "Length.LengthEmptyString": + + Length( + + '' + + ) + + + + + + + + + + + define "Length.LengthA": + + Length( + + 'a' + + ) + + + + + + + + + + + define "Length.LengthAB": + + Length( + + 'ab' + + ) + + + + + + + + + + + define "Lower.LowerNull": + + Lower(null) + + + + + + + + + + + + + define "Lower.LowerEmpty": + + Lower( + + '' + + ) + + + + + + + + + + + define "Lower.LowerA": + + Lower( + + 'A' + + ) + + + + + + + + + + + define "Lower.LowerB": + + Lower( + + 'b' + + ) + + + + + + + + + + + define "Lower.LowerAB": + + Lower( + + 'Ab' + + ) + + + + + + + + + + + define "Matches.MatchesNull": + + Matches( + + 'Not all who wander are lost' + + , null) + + + + + + + + + + + + + + define "Matches.MatchesNumberFalse": + + Matches( + + 'Not all who wander are lost' + + , + + '.*\\d+' + + ) + + + + + + + + + + + + define "Matches.MatchesNumberTrue": + + Matches( + + 'Not all who wander are lost - circa 2017' + + , + + '.*\\d+' + + ) + + + + + + + + + + + + define "Matches.MatchesAllTrue": + + Matches( + + 'Not all who wander are lost' + + , + + '.*' + + ) + + + + + + + + + + + + define "Matches.MatchesWordsAndSpacesTrue": + + Matches( + + 'Not all who wander are lost' + + , + + '[\\w|\\s]+' + + ) + + + + + + + + + + + + define "Matches.MatchesWordsAndSpacesFalse": + + Matches( + + 'Not all who wander are lost - circa 2017' + + , + + '[\\w]+' + + ) + + + + + + + + + + + + define "Matches.MatchesNotWords": + + Matches( + + ' ' + + , + + '\\W+' + + ) + + + + + + + + + + + + define "Matches.MatchesWhiteSpace": + + Matches( + + ' \n\t' + + , + + '\\s+' + + ) + + + + + + + + + + + + define "PositionOf.PositionOfNullNull": + + PositionOf(null, null) + + + + + + + + + + + + + + + + define "PositionOf.PositionOfANull": + + PositionOf( + + 'a' + + , null) + + + + + + + + + + + + + + define "PositionOf.PositionOfNullA": + + PositionOf(null, + + 'a' + + ) + + + + + + + + + + + + + + define "PositionOf.PositionOfAInAB": + + PositionOf( + + 'a' + + , + + 'ab' + + ) + + + + + + + + + + + + define "PositionOf.PositionOfBInAB": + + PositionOf( + + 'b' + + , + + 'ab' + + ) + + + + + + + + + + + + define "PositionOf.PositionOfCInAB": + + PositionOf( + + 'c' + + , + + 'ab' + + ) + + + + + + + + + + + + define "ReplaceMatches.ReplaceMatchesNull": + + ReplaceMatches( + + 'Not all who wander are lost' + + , null, + + 'But I am...' + + ) + + + + + + + + + + + + + + + define "ReplaceMatches.ReplaceMatchesAll": + + ReplaceMatches( + + 'Not all who wander are lost' + + , + + 'Not all who wander are lost' + + , + + 'But still waters run deep' + + ) + + + + + + + + + + + + + define "ReplaceMatches.ReplaceMatchesMany": + + ReplaceMatches( + + 'Who put the bop in the bop she bop she bop?' + + , + + 'bop' + + , + + 'bang' + + ) + + + + + + + + + + + + + define "ReplaceMatches.ReplaceMatchesSpaces": + + ReplaceMatches( + + 'All that glitters is not gold' + + , + + '\\s' + + , + + '\\$' + + ) + + + + + + + + + + + + + define "Split.SplitNullNull": + + Split(null, null) + + + + + + + + + + + + + + + + define "Split.SplitNullComma": + + Split(null, + + ',' + + ) + + + + + + + + + + + + + + define "Split.SplitABNull": + + Split( + + 'a,b' + + , null) + + + + + + + + + + + + + + define "Split.SplitABDash": + + Split( + + 'a,b' + + , + + '-' + + ) + + + + + + + + + + + + define "Split.SplitABComma": + + Split( + + 'a,b' + + , + + ',' + + ) + + + + + + + + + + + + define "StartsWith.StartsWithNull": + + StartsWith(null, null) + + + + + + + + + + + + + + + + define "StartsWith.StartsWithNull1": + + StartsWith( + + 'hi' + + , null) + + + + + + + + + + + + + + define "StartsWith.StartsWithNull2": + + StartsWith(null, + + 'hi' + + ) + + + + + + + + + + + + + + define "StartsWith.StartsWithTrue1": + + StartsWith( + + 'Breathe deep the gathering gloom' + + , + + 'Bre' + + ) + + + + + + + + + + + + define "StartsWith.StartsWithFalse1": + + StartsWith( + + 'Breathe deep the gathering gloom' + + , + + 'bre' + + ) + + + + + + + + + + + + define "Substring.SubstringNullNull": + + Substring(null, null) + + + + + + + + + + + + + + + + define "Substring.SubstringANull": + + Substring( + + 'a' + + , null) + + + + + + + + + + + + + + define "Substring.SubstringNull1": + + Substring(null, 1) + + + + + + + + + + + + + + define "Substring.SubstringAB0": + + Substring( + + 'ab' + + , 0) + + + + + + + + + + + + define "Substring.SubstringAB1": + + Substring( + + 'ab' + + , 1) + + + + + + + + + + + + define "Substring.SubstringAB2": + + Substring( + + 'ab' + + , 2) + + + + + + + + + + + + define "Substring.SubstringABNeg1": + + Substring( + + 'ab' + + , + + -1 + + ) + + + + + + + + + + + + + + + define "Substring.SubstringAB0To1": + + Substring( + + 'ab' + + , 0, 1) + + + + + + + + + + + + + define "Substring.SubstringABC1To1": + + Substring( + + 'abc' + + , 1, 1) + + + + + + + + + + + + + define "Substring.SubstringAB0To3": + + Substring( + + 'ab' + + , 0, 3) + + + + + + + + + + + + + define "Upper.UpperNull": + + Upper(null) + + + + + + + + + + + + + define "Upper.UpperEmpty": + + Upper( + + '' + + ) + + + + + + + + + + + define "Upper.UpperA": + + Upper( + + 'a' + + ) + + + + + + + + + + + define "Upper.UpperB": + + Upper( + + 'B' + + ) + + + + + + + + + + + define "Upper.UpperAB": + + Upper( + + 'aB' + + ) + + + + + + + + + + + define "toString tests.QuantityToString": + + ToString( + + 125 'cm' + + ) + + + + + + + + + + + + define "toString tests.DateTimeToString1": + + ToString( + + DateTime(2000, 1, 1) + + ) + + + + + + + + + + + + + + + + define "toString tests.DateTimeToString2": + + ToString( + + DateTime(2000, 1, 1, 15, 25, 25, 300) + + ) + + + + + + + + + + + + + + + + + + + + define "toString tests.DateTimeToString3": + + ToString( + + DateTime(2000, 1, 1, 8, 25, 25, 300, + + -7 + + ) + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + define "toString tests.TimeToString1": + + ToString(@T09:30:01.003) + + + + + + + + + + + + + + + + + diff --git a/cql/CqlTypeOperatorsTest.cql b/cql/CqlTypeOperatorsTest.cql new file mode 100644 index 0000000..f5d2435 --- /dev/null +++ b/cql/CqlTypeOperatorsTest.cql @@ -0,0 +1,70 @@ +library CqlTypeOperatorsTest + +define "As.AsQuantity": 45.5 'g' as Quantity + +define "As.CastAsQuantity": cast 45.5 'g' as Quantity + +define "As.AsDateTime": DateTime(2014, 01, 01) as DateTime + +define "Convert.IntegerToDecimal": convert 5 to Decimal + +define "Convert.IntegerToString": convert 5 to String + +define "Convert.StringToIntegerError": convert 'foo' to Integer + +define "Convert.StringToDateTime": convert '2014-01-01' to DateTime + +define "Convert.StringToTime": convert 'T14:30:00.0' to Time + +define "Convert.StringToDateTimeMalformed": convert '2014/01/01' to DateTime + +define "Is.IntegerIsInteger": 5 is Integer + +define "Is.StringIsInteger": '5' is Integer + +define "ToBoolean.StringNoToBoolean": ToBoolean('NO') + +define "ToConcept.CodeToConcept1": ToConcept(Code { code: '8480-6' }) + +define "ToDateTime.ToDateTime1": ToDateTime('2014-01-01') + +define "ToDateTime.ToDateTime2": ToDateTime('2014-01-01T12:05') + +define "ToDateTime.ToDateTime3": ToDateTime('2014-01-01T12:05:05.955') + +define "ToDateTime.ToDateTime4": ToDateTime('2014-01-01T12:05:05.955+01:30') + +define "ToDateTime.ToDateTime5": ToDateTime('2014-01-01T12:05:05.955-01:15') + +define "ToDateTime.ToDateTime6": ToDateTime('2014-01-01T12:05:05.955Z') + +define "ToDateTime.ToDateTimeMalformed": ToDateTime('2014/01/01T12:05:05.955Z') + +define "ToDateTime.ToDateTimeDate": ToDateTime(@2014-01-01) + +define "ToDateTime.ToDateTimeTimeUnspecified": hour from ToDateTime(@2014-01-01) is null + +define "ToDecimal.String25D5ToDecimal": ToDecimal('+25.5') + +define "ToInteger.StringNeg25ToInteger": ToInteger('-25') + +define "ToQuantity.String5D5CMToQuantity": ToQuantity('5.5 \'cm\'') + +define "ToString.IntegerNeg5ToString": ToString(-5) + +define "ToString.Decimal18D55ToString": ToString(18.55) + +define "ToString.Quantity5D5CMToString": ToString(5.5 'cm') + +define "ToString.BooleanTrueToString": ToString(true) + +define "ToTime.ToTime1": ToTime('T14:30:00.0') + +define "ToTime.ToTime2": ToTime('T14:30:00.0+05:30') + +define "ToTime.ToTime3": ToTime('T14:30:00.0-05:45') + +define "ToTime.ToTime4": ToTime('T14:30:00.0Z') + +define "ToTime.ToTimeMalformed": ToTime('T14-30-00.0') + diff --git a/cql/CqlTypeOperatorsTest.json b/cql/CqlTypeOperatorsTest.json new file mode 100644 index 0000000..225ee3e --- /dev/null +++ b/cql/CqlTypeOperatorsTest.json @@ -0,0 +1,1642 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "461", + "s" : [ { + "value" : [ "","library CqlTypeOperatorsTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlTypeOperatorsTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:44", + "name" : "As.AsQuantity", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"As.AsQuantity\"",": " ] + }, { + "r" : "208", + "s" : [ { + "r" : "209", + "s" : [ { + "value" : [ "45.5 ","'g'" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "210", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "208", + "locator" : "3:25-3:44", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "209", + "locator" : "3:25-3:32", + "value" : 45.5, + "unit" : "g", + "type" : "Quantity" + }, + "asTypeSpecifier" : { + "localId" : "210", + "locator" : "3:37-3:44", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "212", + "locator" : "5:1-5:53", + "name" : "As.CastAsQuantity", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "212", + "s" : [ { + "value" : [ "","define ","\"As.CastAsQuantity\"",": " ] + }, { + "r" : "213", + "s" : [ { + "value" : [ "cast " ] + }, { + "r" : "214", + "s" : [ { + "value" : [ "45.5 ","'g'" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "215", + "s" : [ { + "value" : [ "Quantity" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "213", + "locator" : "5:29-5:53", + "strict" : true, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "214", + "locator" : "5:34-5:41", + "value" : 45.5, + "unit" : "g", + "type" : "Quantity" + }, + "asTypeSpecifier" : { + "localId" : "215", + "locator" : "5:46-5:53", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "217", + "locator" : "7:1-7:58", + "name" : "As.AsDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "217", + "s" : [ { + "value" : [ "","define ","\"As.AsDateTime\"",": " ] + }, { + "r" : "218", + "s" : [ { + "r" : "224", + "s" : [ { + "r" : "219", + "value" : [ "DateTime","(","2014",", ","01",", ","01",")" ] + } ] + }, { + "value" : [ " as " ] + }, { + "r" : "225", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "218", + "locator" : "7:25-7:58", + "strict" : false, + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "224", + "locator" : "7:25-7:46", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "219", + "locator" : "7:34-7:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "220", + "locator" : "7:40-7:41", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "type" : "Literal" + }, + "day" : { + "localId" : "221", + "locator" : "7:44-7:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "01", + "type" : "Literal" + } + }, + "asTypeSpecifier" : { + "localId" : "225", + "locator" : "7:51-7:58", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "227", + "locator" : "9:1-9:55", + "name" : "Convert.IntegerToDecimal", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "227", + "s" : [ { + "value" : [ "","define ","\"Convert.IntegerToDecimal\"",": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "229", + "value" : [ "convert ","5"," to " ] + }, { + "r" : "228", + "s" : [ { + "value" : [ "Decimal" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "231", + "locator" : "9:36-9:55", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "232", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "229", + "locator" : "9:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } + }, { + "localId" : "234", + "locator" : "11:1-11:53", + "name" : "Convert.IntegerToString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "234", + "s" : [ { + "value" : [ "","define ","\"Convert.IntegerToString\"",": " ] + }, { + "r" : "238", + "s" : [ { + "r" : "236", + "value" : [ "convert ","5"," to " ] + }, { + "r" : "235", + "s" : [ { + "value" : [ "String" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "238", + "locator" : "11:35-11:53", + "type" : "ToString", + "signature" : [ { + "localId" : "239", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "236", + "locator" : "11:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } + }, { + "localId" : "241", + "locator" : "13:1-13:63", + "name" : "Convert.StringToIntegerError", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "","define ","\"Convert.StringToIntegerError\"",": " ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "243", + "s" : [ { + "value" : [ "'foo'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "242", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "245", + "locator" : "13:40-13:63", + "type" : "ToInteger", + "signature" : [ { + "localId" : "246", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "243", + "locator" : "13:48-13:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "foo", + "type" : "Literal" + } + } + }, { + "localId" : "248", + "locator" : "15:1-15:67", + "name" : "Convert.StringToDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "248", + "s" : [ { + "value" : [ "","define ","\"Convert.StringToDateTime\"",": " ] + }, { + "r" : "252", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "250", + "s" : [ { + "value" : [ "'2014-01-01'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "249", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "252", + "locator" : "15:36-15:67", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "253", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "250", + "locator" : "15:44-15:55", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01", + "type" : "Literal" + } + } + }, { + "localId" : "255", + "locator" : "17:1-17:60", + "name" : "Convert.StringToTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "","define ","\"Convert.StringToTime\"",": " ] + }, { + "r" : "259", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "257", + "s" : [ { + "value" : [ "'T14:30:00.0'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "256", + "s" : [ { + "value" : [ "Time" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "259", + "locator" : "17:32-17:60", + "type" : "ToTime", + "signature" : [ ], + "operand" : { + "localId" : "257", + "locator" : "17:40-17:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T14:30:00.0", + "type" : "Literal" + } + } + }, { + "localId" : "261", + "locator" : "19:1-19:76", + "name" : "Convert.StringToDateTimeMalformed", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "261", + "s" : [ { + "value" : [ "","define ","\"Convert.StringToDateTimeMalformed\"",": " ] + }, { + "r" : "265", + "s" : [ { + "value" : [ "convert " ] + }, { + "r" : "263", + "s" : [ { + "value" : [ "'2014/01/01'" ] + } ] + }, { + "value" : [ " to " ] + }, { + "r" : "262", + "s" : [ { + "value" : [ "DateTime" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "265", + "locator" : "19:45-19:76", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "266", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "263", + "locator" : "19:53-19:64", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014/01/01", + "type" : "Literal" + } + } + }, { + "localId" : "268", + "locator" : "21:1-21:42", + "name" : "Is.IntegerIsInteger", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "268", + "s" : [ { + "value" : [ "","define ","\"Is.IntegerIsInteger\"",": " ] + }, { + "r" : "269", + "s" : [ { + "r" : "270", + "value" : [ "5"," is " ] + }, { + "r" : "271", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "269", + "locator" : "21:31-21:42", + "type" : "Is", + "signature" : [ ], + "operand" : { + "localId" : "270", + "locator" : "21:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + }, + "isTypeSpecifier" : { + "localId" : "271", + "locator" : "21:36-21:42", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "273", + "locator" : "23:1-23:43", + "name" : "Is.StringIsInteger", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "273", + "s" : [ { + "value" : [ "","define ","\"Is.StringIsInteger\"",": " ] + }, { + "r" : "274", + "s" : [ { + "r" : "275", + "s" : [ { + "value" : [ "'5'" ] + } ] + }, { + "value" : [ " is " ] + }, { + "r" : "276", + "s" : [ { + "value" : [ "Integer" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "274", + "locator" : "23:30-23:43", + "type" : "Is", + "signature" : [ ], + "operand" : { + "localId" : "275", + "locator" : "23:30-23:32", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5", + "type" : "Literal" + }, + "isTypeSpecifier" : { + "localId" : "276", + "locator" : "23:37-23:43", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } + } + }, { + "localId" : "278", + "locator" : "25:1-25:53", + "name" : "ToBoolean.StringNoToBoolean", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "278", + "s" : [ { + "value" : [ "","define ","\"ToBoolean.StringNoToBoolean\"",": " ] + }, { + "r" : "283", + "s" : [ { + "value" : [ "ToBoolean","(" ] + }, { + "r" : "279", + "s" : [ { + "value" : [ "'NO'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "283", + "locator" : "25:39-25:53", + "type" : "ToBoolean", + "signature" : [ { + "localId" : "284", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "279", + "locator" : "25:49-25:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "NO", + "type" : "Literal" + } + } + }, { + "localId" : "286", + "locator" : "27:1-27:69", + "name" : "ToConcept.CodeToConcept1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "286", + "s" : [ { + "value" : [ "","define ","\"ToConcept.CodeToConcept1\"",": " ] + }, { + "r" : "293", + "s" : [ { + "value" : [ "ToConcept","(" ] + }, { + "r" : "287", + "s" : [ { + "value" : [ "Code"," { " ] + }, { + "s" : [ { + "value" : [ "code",": " ] + }, { + "r" : "289", + "s" : [ { + "value" : [ "'8480-6'" ] + } ] + } ] + }, { + "value" : [ " }" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "293", + "locator" : "27:36-27:69", + "type" : "ToConcept", + "signature" : [ { + "localId" : "294", + "name" : "{urn:hl7-org:elm-types:r1}Code", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "287", + "locator" : "27:46-27:68", + "classType" : "{urn:hl7-org:elm-types:r1}Code", + "type" : "Instance", + "element" : [ { + "name" : "code", + "value" : { + "localId" : "289", + "locator" : "27:59-27:66", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "8480-6", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "296", + "locator" : "29:1-29:57", + "name" : "ToDateTime.ToDateTime1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTime1\"",": " ] + }, { + "r" : "301", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "297", + "s" : [ { + "value" : [ "'2014-01-01'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "301", + "locator" : "29:34-29:57", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "297", + "locator" : "29:45-29:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01", + "type" : "Literal" + } + } + }, { + "localId" : "304", + "locator" : "31:1-31:63", + "name" : "ToDateTime.ToDateTime2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "304", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTime2\"",": " ] + }, { + "r" : "309", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "305", + "s" : [ { + "value" : [ "'2014-01-01T12:05'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "309", + "locator" : "31:34-31:63", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "310", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "305", + "locator" : "31:45-31:62", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T12:05", + "type" : "Literal" + } + } + }, { + "localId" : "312", + "locator" : "33:1-33:70", + "name" : "ToDateTime.ToDateTime3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "312", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTime3\"",": " ] + }, { + "r" : "317", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "313", + "s" : [ { + "value" : [ "'2014-01-01T12:05:05.955'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "317", + "locator" : "33:34-33:70", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "318", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "313", + "locator" : "33:45-33:69", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T12:05:05.955", + "type" : "Literal" + } + } + }, { + "localId" : "320", + "locator" : "35:1-35:76", + "name" : "ToDateTime.ToDateTime4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "320", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTime4\"",": " ] + }, { + "r" : "325", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "321", + "s" : [ { + "value" : [ "'2014-01-01T12:05:05.955+01:30'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "325", + "locator" : "35:34-35:76", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "326", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "321", + "locator" : "35:45-35:75", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T12:05:05.955+01:30", + "type" : "Literal" + } + } + }, { + "localId" : "328", + "locator" : "37:1-37:76", + "name" : "ToDateTime.ToDateTime5", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "328", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTime5\"",": " ] + }, { + "r" : "333", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "329", + "s" : [ { + "value" : [ "'2014-01-01T12:05:05.955-01:15'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "333", + "locator" : "37:34-37:76", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "334", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "329", + "locator" : "37:45-37:75", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T12:05:05.955-01:15", + "type" : "Literal" + } + } + }, { + "localId" : "336", + "locator" : "39:1-39:71", + "name" : "ToDateTime.ToDateTime6", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "336", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTime6\"",": " ] + }, { + "r" : "341", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "337", + "s" : [ { + "value" : [ "'2014-01-01T12:05:05.955Z'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "341", + "locator" : "39:34-39:71", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "342", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "337", + "locator" : "39:45-39:70", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014-01-01T12:05:05.955Z", + "type" : "Literal" + } + } + }, { + "localId" : "344", + "locator" : "41:1-41:79", + "name" : "ToDateTime.ToDateTimeMalformed", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "344", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTimeMalformed\"",": " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "ToDateTime","(" ] + }, { + "r" : "345", + "s" : [ { + "value" : [ "'2014/01/01T12:05:05.955Z'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "349", + "locator" : "41:42-41:79", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "350", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "345", + "locator" : "41:53-41:78", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "2014/01/01T12:05:05.955Z", + "type" : "Literal" + } + } + }, { + "localId" : "352", + "locator" : "43:1-43:59", + "name" : "ToDateTime.ToDateTimeDate", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "352", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTimeDate\"",": " ] + }, { + "r" : "361", + "s" : [ { + "r" : "357", + "value" : [ "ToDateTime","(","@2014-01-01",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "361", + "locator" : "43:37-43:59", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "362", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "357", + "locator" : "43:48-43:58", + "type" : "Date", + "signature" : [ ], + "year" : { + "localId" : "354", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "355", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "356", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + }, { + "localId" : "364", + "locator" : "45:1-45:88", + "name" : "ToDateTime.ToDateTimeTimeUnspecified", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "364", + "s" : [ { + "value" : [ "","define ","\"ToDateTime.ToDateTimeTimeUnspecified\"",": " ] + }, { + "r" : "377", + "s" : [ { + "r" : "365", + "s" : [ { + "value" : [ "hour from " ] + }, { + "r" : "374", + "s" : [ { + "r" : "370", + "value" : [ "ToDateTime","(","@2014-01-01",")" ] + } ] + } ] + }, { + "value" : [ " is null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "377", + "locator" : "45:48-45:88", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "365", + "locator" : "45:48-45:80", + "precision" : "Hour", + "type" : "DateTimeComponentFrom", + "signature" : [ { + "localId" : "376", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "374", + "locator" : "45:58-45:80", + "type" : "ToDateTime", + "signature" : [ { + "localId" : "375", + "name" : "{urn:hl7-org:elm-types:r1}Date", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "370", + "locator" : "45:69-45:79", + "type" : "Date", + "signature" : [ ], + "year" : { + "localId" : "367", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2014", + "type" : "Literal" + }, + "month" : { + "localId" : "368", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "369", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + } + } + } + }, { + "localId" : "379", + "locator" : "47:1-47:58", + "name" : "ToDecimal.String25D5ToDecimal", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "379", + "s" : [ { + "value" : [ "","define ","\"ToDecimal.String25D5ToDecimal\"",": " ] + }, { + "r" : "384", + "s" : [ { + "value" : [ "ToDecimal","(" ] + }, { + "r" : "380", + "s" : [ { + "value" : [ "'+25.5'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "384", + "locator" : "47:41-47:58", + "type" : "ToDecimal", + "signature" : [ { + "localId" : "385", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "380", + "locator" : "47:51-47:57", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "+25.5", + "type" : "Literal" + } + } + }, { + "localId" : "387", + "locator" : "49:1-49:57", + "name" : "ToInteger.StringNeg25ToInteger", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "","define ","\"ToInteger.StringNeg25ToInteger\"",": " ] + }, { + "r" : "392", + "s" : [ { + "value" : [ "ToInteger","(" ] + }, { + "r" : "388", + "s" : [ { + "value" : [ "'-25'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "392", + "locator" : "49:42-49:57", + "type" : "ToInteger", + "signature" : [ { + "localId" : "393", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "388", + "locator" : "49:52-49:56", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "-25", + "type" : "Literal" + } + } + }, { + "localId" : "395", + "locator" : "51:1-51:67", + "name" : "ToQuantity.String5D5CMToQuantity", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "","define ","\"ToQuantity.String5D5CMToQuantity\"",": " ] + }, { + "r" : "400", + "s" : [ { + "value" : [ "ToQuantity","(" ] + }, { + "r" : "396", + "s" : [ { + "value" : [ "'5.5 \\'cm\\''" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "400", + "locator" : "51:44-51:67", + "type" : "ToQuantity", + "signature" : [ { + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}String", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "396", + "locator" : "51:55-51:66", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "5.5 'cm'", + "type" : "Literal" + } + } + }, { + "localId" : "403", + "locator" : "53:1-53:51", + "name" : "ToString.IntegerNeg5ToString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "403", + "s" : [ { + "value" : [ "","define ","\"ToString.IntegerNeg5ToString\"",": " ] + }, { + "r" : "410", + "s" : [ { + "value" : [ "ToString","(" ] + }, { + "r" : "404", + "s" : [ { + "r" : "405", + "value" : [ "-","5" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "410", + "locator" : "53:40-53:51", + "type" : "ToString", + "signature" : [ { + "localId" : "411", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "404", + "locator" : "53:49-53:50", + "type" : "Negate", + "signature" : [ { + "localId" : "406", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "405", + "locator" : "53:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + } + } + }, { + "localId" : "413", + "locator" : "55:1-55:55", + "name" : "ToString.Decimal18D55ToString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "413", + "s" : [ { + "value" : [ "","define ","\"ToString.Decimal18D55ToString\"",": " ] + }, { + "r" : "418", + "s" : [ { + "r" : "414", + "value" : [ "ToString","(","18.55",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "418", + "locator" : "55:41-55:55", + "type" : "ToString", + "signature" : [ { + "localId" : "419", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "414", + "locator" : "55:50-55:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "18.55", + "type" : "Literal" + } + } + }, { + "localId" : "421", + "locator" : "57:1-57:59", + "name" : "ToString.Quantity5D5CMToString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "421", + "s" : [ { + "value" : [ "","define ","\"ToString.Quantity5D5CMToString\"",": " ] + }, { + "r" : "426", + "s" : [ { + "value" : [ "ToString","(" ] + }, { + "r" : "422", + "s" : [ { + "value" : [ "5.5 ","'cm'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "426", + "locator" : "57:42-57:59", + "type" : "ToString", + "signature" : [ { + "localId" : "427", + "name" : "{urn:hl7-org:elm-types:r1}Quantity", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "422", + "locator" : "57:51-57:58", + "value" : 5.5, + "unit" : "cm", + "type" : "Quantity" + } + } + }, { + "localId" : "429", + "locator" : "59:1-59:53", + "name" : "ToString.BooleanTrueToString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "429", + "s" : [ { + "value" : [ "","define ","\"ToString.BooleanTrueToString\"",": " ] + }, { + "r" : "434", + "s" : [ { + "r" : "430", + "value" : [ "ToString","(","true",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "434", + "locator" : "59:40-59:53", + "type" : "ToString", + "signature" : [ { + "localId" : "435", + "name" : "{urn:hl7-org:elm-types:r1}Boolean", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "430", + "locator" : "59:49-59:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } + } + }, { + "localId" : "437", + "locator" : "61:1-61:46", + "name" : "ToTime.ToTime1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "437", + "s" : [ { + "value" : [ "","define ","\"ToTime.ToTime1\"",": " ] + }, { + "r" : "441", + "s" : [ { + "value" : [ "ToTime","(" ] + }, { + "r" : "438", + "s" : [ { + "value" : [ "'T14:30:00.0'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "441", + "locator" : "61:26-61:46", + "type" : "ToTime", + "signature" : [ ], + "operand" : { + "localId" : "438", + "locator" : "61:33-61:45", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T14:30:00.0", + "type" : "Literal" + } + } + }, { + "localId" : "443", + "locator" : "63:1-63:52", + "name" : "ToTime.ToTime2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "443", + "s" : [ { + "value" : [ "","define ","\"ToTime.ToTime2\"",": " ] + }, { + "r" : "447", + "s" : [ { + "value" : [ "ToTime","(" ] + }, { + "r" : "444", + "s" : [ { + "value" : [ "'T14:30:00.0+05:30'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "447", + "locator" : "63:26-63:52", + "type" : "ToTime", + "signature" : [ ], + "operand" : { + "localId" : "444", + "locator" : "63:33-63:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T14:30:00.0+05:30", + "type" : "Literal" + } + } + }, { + "localId" : "449", + "locator" : "65:1-65:52", + "name" : "ToTime.ToTime3", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "449", + "s" : [ { + "value" : [ "","define ","\"ToTime.ToTime3\"",": " ] + }, { + "r" : "453", + "s" : [ { + "value" : [ "ToTime","(" ] + }, { + "r" : "450", + "s" : [ { + "value" : [ "'T14:30:00.0-05:45'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "453", + "locator" : "65:26-65:52", + "type" : "ToTime", + "signature" : [ ], + "operand" : { + "localId" : "450", + "locator" : "65:33-65:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T14:30:00.0-05:45", + "type" : "Literal" + } + } + }, { + "localId" : "455", + "locator" : "67:1-67:47", + "name" : "ToTime.ToTime4", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "455", + "s" : [ { + "value" : [ "","define ","\"ToTime.ToTime4\"",": " ] + }, { + "r" : "459", + "s" : [ { + "value" : [ "ToTime","(" ] + }, { + "r" : "456", + "s" : [ { + "value" : [ "'T14:30:00.0Z'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "459", + "locator" : "67:26-67:47", + "type" : "ToTime", + "signature" : [ ], + "operand" : { + "localId" : "456", + "locator" : "67:33-67:46", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T14:30:00.0Z", + "type" : "Literal" + } + } + }, { + "localId" : "461", + "locator" : "69:1-69:54", + "name" : "ToTime.ToTimeMalformed", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "461", + "s" : [ { + "value" : [ "","define ","\"ToTime.ToTimeMalformed\"",": " ] + }, { + "r" : "465", + "s" : [ { + "value" : [ "ToTime","(" ] + }, { + "r" : "462", + "s" : [ { + "value" : [ "'T14-30-00.0'" ] + } ] + }, { + "value" : [ ")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "465", + "locator" : "69:34-69:54", + "type" : "ToTime", + "signature" : [ ], + "operand" : { + "localId" : "462", + "locator" : "69:41-69:53", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "T14-30-00.0", + "type" : "Literal" + } + } + } ] + } + } +} + diff --git a/cql/CqlTypeOperatorsTest.xml b/cql/CqlTypeOperatorsTest.xml new file mode 100644 index 0000000..77d47bf --- /dev/null +++ b/cql/CqlTypeOperatorsTest.xml @@ -0,0 +1,663 @@ + + + + + + library CqlTypeOperatorsTest + + + + + + + + + + + + define "As.AsQuantity": + + + 45.5 'g' + + as + + Quantity + + + + + + + + + + + + + define "As.CastAsQuantity": + + cast + + 45.5 'g' + + as + + Quantity + + + + + + + + + + + + + define "As.AsDateTime": + + + DateTime(2014, 01, 01) + + as + + DateTime + + + + + + + + + + + + + + + + + define "Convert.IntegerToDecimal": + + convert 5 to + + Decimal + + + + + + + + + + + + + define "Convert.IntegerToString": + + convert 5 to + + String + + + + + + + + + + + + + define "Convert.StringToIntegerError": + + convert + + 'foo' + + to + + Integer + + + + + + + + + + + + + define "Convert.StringToDateTime": + + convert + + '2014-01-01' + + to + + DateTime + + + + + + + + + + + + + define "Convert.StringToTime": + + convert + + 'T14:30:00.0' + + to + + Time + + + + + + + + + + + + define "Convert.StringToDateTimeMalformed": + + convert + + '2014/01/01' + + to + + DateTime + + + + + + + + + + + + + define "Is.IntegerIsInteger": + + 5 is + + Integer + + + + + + + + + + + + + define "Is.StringIsInteger": + + + '5' + + is + + Integer + + + + + + + + + + + + + define "ToBoolean.StringNoToBoolean": + + ToBoolean( + + 'NO' + + ) + + + + + + + + + + + + define "ToConcept.CodeToConcept1": + + ToConcept( + + Code { + + code: + + '8480-6' + + + } + + ) + + + + + + + + + + + + + + + + define "ToDateTime.ToDateTime1": + + ToDateTime( + + '2014-01-01' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTime2": + + ToDateTime( + + '2014-01-01T12:05' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTime3": + + ToDateTime( + + '2014-01-01T12:05:05.955' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTime4": + + ToDateTime( + + '2014-01-01T12:05:05.955+01:30' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTime5": + + ToDateTime( + + '2014-01-01T12:05:05.955-01:15' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTime6": + + ToDateTime( + + '2014-01-01T12:05:05.955Z' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTimeMalformed": + + ToDateTime( + + '2014/01/01T12:05:05.955Z' + + ) + + + + + + + + + + + + define "ToDateTime.ToDateTimeDate": + + ToDateTime(@2014-01-01) + + + + + + + + + + + + + + + + define "ToDateTime.ToDateTimeTimeUnspecified": + + + hour from + + ToDateTime(@2014-01-01) + + + is null + + + + + + + + + + + + + + + + + + + + + define "ToDecimal.String25D5ToDecimal": + + ToDecimal( + + '+25.5' + + ) + + + + + + + + + + + + define "ToInteger.StringNeg25ToInteger": + + ToInteger( + + '-25' + + ) + + + + + + + + + + + + define "ToQuantity.String5D5CMToQuantity": + + ToQuantity( + + '5.5 \'cm\'' + + ) + + + + + + + + + + + + define "ToString.IntegerNeg5ToString": + + ToString( + + -5 + + ) + + + + + + + + + + + + + + + define "ToString.Decimal18D55ToString": + + ToString(18.55) + + + + + + + + + + + + define "ToString.Quantity5D5CMToString": + + ToString( + + 5.5 'cm' + + ) + + + + + + + + + + + + define "ToString.BooleanTrueToString": + + ToString(true) + + + + + + + + + + + + define "ToTime.ToTime1": + + ToTime( + + 'T14:30:00.0' + + ) + + + + + + + + + + + define "ToTime.ToTime2": + + ToTime( + + 'T14:30:00.0+05:30' + + ) + + + + + + + + + + + define "ToTime.ToTime3": + + ToTime( + + 'T14:30:00.0-05:45' + + ) + + + + + + + + + + + define "ToTime.ToTime4": + + ToTime( + + 'T14:30:00.0Z' + + ) + + + + + + + + + + + define "ToTime.ToTimeMalformed": + + ToTime( + + 'T14-30-00.0' + + ) + + + + + + + + + + + diff --git a/cql/CqlTypesTest.cql b/cql/CqlTypesTest.cql new file mode 100644 index 0000000..6590a50 --- /dev/null +++ b/cql/CqlTypesTest.cql @@ -0,0 +1,50 @@ +library CqlTypesTest + +define "Any.AnyQuantity": 5.0 'g' + +define "Any.AnyDateTime": DateTime(2012, 4, 4) + +define "Any.AnyTime": @T09:00:00.000 + +define "Any.AnyInterval": Interval[2, 7] + +define "Any.AnyList": {1, 2, 3} + +define "Any.AnyTuple": Tuple { id: 5, name: 'Chris'} + +define "Any.AnyString": Tuple { id: 5, name: 'Chris'}.name + +define "DateTime.DateTimeNull": DateTime(null) + +define "DateTime.DateTimeUpperBoundExcept": DateTime(10000, 12, 31, 23, 59, 59, 999) + +define "DateTime.DateTimeLowerBoundExcept": DateTime(0000, 1, 1, 0, 0, 0, 0) + +define "DateTime.DateTimeProper": DateTime(2016, 7, 7, 6, 25, 33, 910) + +define "DateTime.DateTimeIncomplete": DateTime(2015, 2, 10) + +define "DateTime.DateTimeUncertain": days between DateTime(2015, 2, 10) and DateTime(2015, 3) + +define "DateTime.DateTimeMin": DateTime(0001, 1, 1, 0, 0, 0, 0) + +define "DateTime.DateTimeMax": DateTime(9999, 12, 31, 23, 59, 59, 999) + +define "DateTime.DateTimeTimeUnspecified": hour from @2015-02-10T is null + +define "Quantity.QuantityTest": 150.2 '[lb_av]' + +define "Quantity.QuantityTest2": 2.5589 '{eskimo kisses}' + +define "Quantity.QuantityFractionalTooBig": 5.999999999 'g' + +define "String.StringTestEscapeQuotes": '\'I start with a single quote and end with a double quote\"' + +define "String.StringUnicodeTest": '\u0048\u0069' + +define "Time.TimeProper": @T10:25:12.863 + +define "Time.TimeAllMax": @T23:59:59.999 + +define "Time.TimeAllMin": @T00:00:00.000 + diff --git a/cql/CqlTypesTest.json b/cql/CqlTypesTest.json new file mode 100644 index 0000000..9e75663 --- /dev/null +++ b/cql/CqlTypesTest.json @@ -0,0 +1,1286 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "377", + "s" : [ { + "value" : [ "","library CqlTypesTest" ] + } ] + } + } ], + "identifier" : { + "id" : "CqlTypesTest" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:33", + "name" : "Any.AnyQuantity", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "value" : [ "","define ","\"Any.AnyQuantity\"",": " ] + }, { + "r" : "208", + "s" : [ { + "value" : [ "5.0 ","'g'" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "208", + "locator" : "3:27-3:33", + "value" : 5.0, + "unit" : "g", + "type" : "Quantity" + } + }, { + "localId" : "210", + "locator" : "5:1-5:46", + "name" : "Any.AnyDateTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "210", + "s" : [ { + "value" : [ "","define ","\"Any.AnyDateTime\"",": " ] + }, { + "r" : "216", + "s" : [ { + "r" : "211", + "value" : [ "DateTime","(","2012",", ","4",", ","4",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "216", + "locator" : "5:27-5:46", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "211", + "locator" : "5:36-5:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2012", + "type" : "Literal" + }, + "month" : { + "localId" : "212", + "locator" : "5:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + }, + "day" : { + "localId" : "213", + "locator" : "5:45", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "4", + "type" : "Literal" + } + } + }, { + "localId" : "218", + "locator" : "7:1-7:36", + "name" : "Any.AnyTime", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "218", + "s" : [ { + "r" : "219", + "value" : [ "","define ","\"Any.AnyTime\"",": ","@T09:00:00.000" ] + } ] + } + } ], + "expression" : { + "localId" : "219", + "locator" : "7:23-7:36", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "220", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9", + "type" : "Literal" + }, + "minute" : { + "localId" : "221", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "222", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "223", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "225", + "locator" : "9:1-9:40", + "name" : "Any.AnyInterval", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "225", + "s" : [ { + "value" : [ "","define ","\"Any.AnyInterval\"",": " ] + }, { + "r" : "228", + "s" : [ { + "r" : "226", + "value" : [ "Interval[","2",", ","7","]" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "228", + "locator" : "9:27-9:40", + "lowClosed" : true, + "highClosed" : true, + "type" : "Interval", + "low" : { + "localId" : "226", + "locator" : "9:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "high" : { + "localId" : "227", + "locator" : "9:39", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "type" : "Literal" + } + } + }, { + "localId" : "230", + "locator" : "11:1-11:31", + "name" : "Any.AnyList", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "","define ","\"Any.AnyList\"",": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "232", + "value" : [ "{","1",", ","2",", ","3","}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "231", + "locator" : "11:23-11:31", + "type" : "List", + "element" : [ { + "localId" : "232", + "locator" : "11:24", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, { + "localId" : "233", + "locator" : "11:27", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, { + "localId" : "234", + "locator" : "11:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } ] + } + }, { + "localId" : "236", + "locator" : "13:1-13:52", + "name" : "Any.AnyTuple", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "236", + "s" : [ { + "value" : [ "","define ","\"Any.AnyTuple\"",": " ] + }, { + "r" : "237", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "238", + "value" : [ "id",": ","5" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "name",": " ] + }, { + "r" : "239", + "s" : [ { + "value" : [ "'Chris'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "237", + "locator" : "13:24-13:52", + "type" : "Tuple", + "element" : [ { + "name" : "id", + "value" : { + "localId" : "238", + "locator" : "13:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "name" : "name", + "value" : { + "localId" : "239", + "locator" : "13:45-13:51", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Chris", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "241", + "locator" : "15:1-15:58", + "name" : "Any.AnyString", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "","define ","\"Any.AnyString\"",": " ] + }, { + "r" : "245", + "s" : [ { + "r" : "242", + "s" : [ { + "value" : [ "Tuple { " ] + }, { + "s" : [ { + "r" : "243", + "value" : [ "id",": ","5" ] + } ] + }, { + "value" : [ ", " ] + }, { + "s" : [ { + "value" : [ "name",": " ] + }, { + "r" : "244", + "s" : [ { + "value" : [ "'Chris'" ] + } ] + } ] + }, { + "value" : [ "}" ] + } ] + }, { + "value" : [ "." ] + }, { + "r" : "245", + "s" : [ { + "value" : [ "name" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "245", + "locator" : "15:25-15:58", + "path" : "name", + "type" : "Property", + "source" : { + "localId" : "242", + "locator" : "15:25-15:53", + "type" : "Tuple", + "element" : [ { + "name" : "id", + "value" : { + "localId" : "243", + "locator" : "15:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "5", + "type" : "Literal" + } + }, { + "name" : "name", + "value" : { + "localId" : "244", + "locator" : "15:46-15:52", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Chris", + "type" : "Literal" + } + } ] + } + } + }, { + "localId" : "247", + "locator" : "17:1-17:46", + "name" : "DateTime.DateTimeNull", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "247", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeNull\"",": " ] + }, { + "r" : "252", + "s" : [ { + "r" : "248", + "value" : [ "DateTime","(","null",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "252", + "locator" : "17:33-17:46", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "253", + "asType" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "As", + "signature" : [ ], + "operand" : { + "localId" : "248", + "locator" : "17:42-17:45", + "type" : "Null" + } + } + } + }, { + "localId" : "255", + "locator" : "19:1-19:84", + "name" : "DateTime.DateTimeUpperBoundExcept", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeUpperBoundExcept\"",": " ] + }, { + "r" : "265", + "s" : [ { + "r" : "256", + "value" : [ "DateTime","(","10000",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "265", + "locator" : "19:45-19:84", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "256", + "locator" : "19:54-19:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10000", + "type" : "Literal" + }, + "month" : { + "localId" : "257", + "locator" : "19:61-19:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "258", + "locator" : "19:65-19:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "type" : "Literal" + }, + "hour" : { + "localId" : "259", + "locator" : "19:69-19:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "type" : "Literal" + }, + "minute" : { + "localId" : "260", + "locator" : "19:73-19:74", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "261", + "locator" : "19:77-19:78", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "262", + "locator" : "19:81-19:83", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } + }, { + "localId" : "267", + "locator" : "21:1-21:76", + "name" : "DateTime.DateTimeLowerBoundExcept", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "267", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeLowerBoundExcept\"",": " ] + }, { + "r" : "277", + "s" : [ { + "r" : "268", + "value" : [ "DateTime","(","0000",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "277", + "locator" : "21:45-21:76", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "268", + "locator" : "21:54-21:57", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0000", + "type" : "Literal" + }, + "month" : { + "localId" : "269", + "locator" : "21:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "270", + "locator" : "21:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "271", + "locator" : "21:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "272", + "locator" : "21:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "273", + "locator" : "21:72", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "274", + "locator" : "21:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "279", + "locator" : "23:1-23:70", + "name" : "DateTime.DateTimeProper", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "279", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeProper\"",": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "280", + "value" : [ "DateTime","(","2016",", ","7",", ","7",", ","6",", ","25",", ","33",", ","910",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "289", + "locator" : "23:35-23:70", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "280", + "locator" : "23:44-23:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2016", + "type" : "Literal" + }, + "month" : { + "localId" : "281", + "locator" : "23:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "type" : "Literal" + }, + "day" : { + "localId" : "282", + "locator" : "23:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "7", + "type" : "Literal" + }, + "hour" : { + "localId" : "283", + "locator" : "23:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "6", + "type" : "Literal" + }, + "minute" : { + "localId" : "284", + "locator" : "23:59-23:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "second" : { + "localId" : "285", + "locator" : "23:63-23:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "33", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "286", + "locator" : "23:67-23:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "910", + "type" : "Literal" + } + } + }, { + "localId" : "291", + "locator" : "25:1-25:59", + "name" : "DateTime.DateTimeIncomplete", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "291", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeIncomplete\"",": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "292", + "value" : [ "DateTime","(","2015",", ","2",", ","10",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "297", + "locator" : "25:39-25:59", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "292", + "locator" : "25:48-25:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + }, + "month" : { + "localId" : "293", + "locator" : "25:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "294", + "locator" : "25:57-25:58", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } + }, { + "localId" : "299", + "locator" : "27:1-27:93", + "name" : "DateTime.DateTimeUncertain", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "299", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeUncertain\"",": " ] + }, { + "r" : "300", + "s" : [ { + "value" : [ "days between " ] + }, { + "r" : "306", + "s" : [ { + "r" : "301", + "value" : [ "DateTime","(","2015",", ","2",", ","10",")" ] + } ] + }, { + "value" : [ " and " ] + }, { + "r" : "311", + "s" : [ { + "r" : "307", + "value" : [ "DateTime","(","2015",", ","3",")" ] + } ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "300", + "locator" : "27:38-27:93", + "precision" : "Day", + "type" : "DurationBetween", + "signature" : [ { + "localId" : "312", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + }, { + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : [ { + "localId" : "306", + "locator" : "27:51-27:71", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "301", + "locator" : "27:60-27:63", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + }, + "month" : { + "localId" : "302", + "locator" : "27:66", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "303", + "locator" : "27:69-27:70", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + }, { + "localId" : "311", + "locator" : "27:77-27:93", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "307", + "locator" : "27:86-27:89", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + }, + "month" : { + "localId" : "308", + "locator" : "27:92", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "3", + "type" : "Literal" + } + } ] + } + }, { + "localId" : "315", + "locator" : "29:1-29:63", + "name" : "DateTime.DateTimeMin", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "315", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeMin\"",": " ] + }, { + "r" : "325", + "s" : [ { + "r" : "316", + "value" : [ "DateTime","(","0001",", ","1",", ","1",", ","0",", ","0",", ","0",", ","0",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "325", + "locator" : "29:32-29:63", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "316", + "locator" : "29:41-29:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0001", + "type" : "Literal" + }, + "month" : { + "localId" : "317", + "locator" : "29:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "day" : { + "localId" : "318", + "locator" : "29:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + }, + "hour" : { + "localId" : "319", + "locator" : "29:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "320", + "locator" : "29:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "321", + "locator" : "29:59", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "322", + "locator" : "29:62", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "327", + "locator" : "31:1-31:70", + "name" : "DateTime.DateTimeMax", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "327", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeMax\"",": " ] + }, { + "r" : "337", + "s" : [ { + "r" : "328", + "value" : [ "DateTime","(","9999",", ","12",", ","31",", ","23",", ","59",", ","59",", ","999",")" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "337", + "locator" : "31:32-31:70", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "328", + "locator" : "31:41-31:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "9999", + "type" : "Literal" + }, + "month" : { + "localId" : "329", + "locator" : "31:47-31:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "day" : { + "localId" : "330", + "locator" : "31:51-31:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "31", + "type" : "Literal" + }, + "hour" : { + "localId" : "331", + "locator" : "31:55-31:56", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "type" : "Literal" + }, + "minute" : { + "localId" : "332", + "locator" : "31:59-31:60", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "333", + "locator" : "31:63-31:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "334", + "locator" : "31:67-31:69", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } + }, { + "localId" : "339", + "locator" : "33:1-33:73", + "name" : "DateTime.DateTimeTimeUnspecified", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "339", + "s" : [ { + "value" : [ "","define ","\"DateTime.DateTimeTimeUnspecified\"",": " ] + }, { + "r" : "346", + "s" : [ { + "r" : "340", + "s" : [ { + "r" : "341", + "value" : [ "hour from ","@2015-02-10T" ] + } ] + }, { + "value" : [ " is null" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "346", + "locator" : "33:44-33:73", + "type" : "IsNull", + "signature" : [ ], + "operand" : { + "localId" : "340", + "locator" : "33:44-33:65", + "precision" : "Hour", + "type" : "DateTimeComponentFrom", + "signature" : [ { + "localId" : "345", + "name" : "{urn:hl7-org:elm-types:r1}DateTime", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "341", + "locator" : "33:54-33:65", + "type" : "DateTime", + "signature" : [ ], + "year" : { + "localId" : "342", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2015", + "type" : "Literal" + }, + "month" : { + "localId" : "343", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + }, + "day" : { + "localId" : "344", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + } + } + } + } + }, { + "localId" : "348", + "locator" : "35:1-35:47", + "name" : "Quantity.QuantityTest", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "348", + "s" : [ { + "value" : [ "","define ","\"Quantity.QuantityTest\"",": " ] + }, { + "r" : "349", + "s" : [ { + "value" : [ "150.2 ","'[lb_av]'" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "349", + "locator" : "35:33-35:47", + "value" : 150.2, + "unit" : "[lb_av]", + "type" : "Quantity" + } + }, { + "localId" : "351", + "locator" : "37:1-37:57", + "name" : "Quantity.QuantityTest2", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "351", + "s" : [ { + "value" : [ "","define ","\"Quantity.QuantityTest2\"",": " ] + }, { + "r" : "352", + "s" : [ { + "value" : [ "2.5589 ","'{eskimo kisses}'" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "352", + "locator" : "37:34-37:57", + "value" : 2.5589, + "unit" : "{eskimo kisses}", + "type" : "Quantity" + } + }, { + "localId" : "354", + "locator" : "39:1-39:59", + "name" : "Quantity.QuantityFractionalTooBig", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "","define ","\"Quantity.QuantityFractionalTooBig\"",": " ] + }, { + "r" : "355", + "s" : [ { + "value" : [ "5.999999999 ","'g'" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "355", + "locator" : "39:45-39:59", + "value" : 5.999999999, + "unit" : "g", + "type" : "Quantity" + } + }, { + "localId" : "357", + "locator" : "41:1-41:101", + "name" : "String.StringTestEscapeQuotes", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "357", + "s" : [ { + "value" : [ "","define ","\"String.StringTestEscapeQuotes\"",": " ] + }, { + "r" : "358", + "s" : [ { + "value" : [ "'\\'I start with a single quote and end with a double quote\\\"'" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "358", + "locator" : "41:41-41:101", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "'I start with a single quote and end with a double quote\"", + "type" : "Literal" + } + }, { + "localId" : "360", + "locator" : "43:1-43:49", + "name" : "String.StringUnicodeTest", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "360", + "s" : [ { + "value" : [ "","define ","\"String.StringUnicodeTest\"",": " ] + }, { + "r" : "361", + "s" : [ { + "value" : [ "'\\u0048\\u0069'" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "361", + "locator" : "43:36-43:49", + "valueType" : "{urn:hl7-org:elm-types:r1}String", + "value" : "Hi", + "type" : "Literal" + } + }, { + "localId" : "363", + "locator" : "45:1-45:40", + "name" : "Time.TimeProper", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "363", + "s" : [ { + "r" : "364", + "value" : [ "","define ","\"Time.TimeProper\"",": ","@T10:25:12.863" ] + } ] + } + } ], + "expression" : { + "localId" : "364", + "locator" : "45:27-45:40", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "365", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "10", + "type" : "Literal" + }, + "minute" : { + "localId" : "366", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "25", + "type" : "Literal" + }, + "second" : { + "localId" : "367", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "12", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "368", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "863", + "type" : "Literal" + } + } + }, { + "localId" : "370", + "locator" : "47:1-47:40", + "name" : "Time.TimeAllMax", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "370", + "s" : [ { + "r" : "371", + "value" : [ "","define ","\"Time.TimeAllMax\"",": ","@T23:59:59.999" ] + } ] + } + } ], + "expression" : { + "localId" : "371", + "locator" : "47:27-47:40", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "372", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "23", + "type" : "Literal" + }, + "minute" : { + "localId" : "373", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "second" : { + "localId" : "374", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "59", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "375", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "999", + "type" : "Literal" + } + } + }, { + "localId" : "377", + "locator" : "49:1-49:40", + "name" : "Time.TimeAllMin", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "377", + "s" : [ { + "r" : "378", + "value" : [ "","define ","\"Time.TimeAllMin\"",": ","@T00:00:00.000" ] + } ] + } + } ], + "expression" : { + "localId" : "378", + "locator" : "49:27-49:40", + "type" : "Time", + "signature" : [ ], + "hour" : { + "localId" : "379", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "minute" : { + "localId" : "380", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "second" : { + "localId" : "381", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + }, + "millisecond" : { + "localId" : "382", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + } ] + } + } +} + diff --git a/cql/CqlTypesTest.xml b/cql/CqlTypesTest.xml new file mode 100644 index 0000000..4ba068d --- /dev/null +++ b/cql/CqlTypesTest.xml @@ -0,0 +1,424 @@ + + + + + + library CqlTypesTest + + + + + + + + + + + + define "Any.AnyQuantity": + + 5.0 'g' + + + + + + + + + define "Any.AnyDateTime": + + DateTime(2012, 4, 4) + + + + + + + + + + + + + define "Any.AnyTime": @T09:00:00.000 + + + + + + + + + + + + + define "Any.AnyInterval": + + Interval[2, 7] + + + + + + + + + + + + define "Any.AnyList": + + {1, 2, 3} + + + + + + + + + + + + + define "Any.AnyTuple": + + Tuple { + + id: 5 + + , + + name: + + 'Chris' + + + } + + + + + + + + + + + + + + + + define "Any.AnyString": + + + Tuple { + + id: 5 + + , + + name: + + 'Chris' + + + } + + . + + name + + + + + + + + + + + + + + + + + + + define "DateTime.DateTimeNull": + + DateTime(null) + + + + + + + + + + + + + define "DateTime.DateTimeUpperBoundExcept": + + DateTime(10000, 12, 31, 23, 59, 59, 999) + + + + + + + + + + + + + + + + + define "DateTime.DateTimeLowerBoundExcept": + + DateTime(0000, 1, 1, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + define "DateTime.DateTimeProper": + + DateTime(2016, 7, 7, 6, 25, 33, 910) + + + + + + + + + + + + + + + + + define "DateTime.DateTimeIncomplete": + + DateTime(2015, 2, 10) + + + + + + + + + + + + + define "DateTime.DateTimeUncertain": + + days between + + DateTime(2015, 2, 10) + + and + + DateTime(2015, 3) + + + + + + + + + + + + + + + + + + + + + + define "DateTime.DateTimeMin": + + DateTime(0001, 1, 1, 0, 0, 0, 0) + + + + + + + + + + + + + + + + + define "DateTime.DateTimeMax": + + DateTime(9999, 12, 31, 23, 59, 59, 999) + + + + + + + + + + + + + + + + + define "DateTime.DateTimeTimeUnspecified": + + + hour from @2015-02-10T + + is null + + + + + + + + + + + + + + + + + + define "Quantity.QuantityTest": + + 150.2 '[lb_av]' + + + + + + + + + define "Quantity.QuantityTest2": + + 2.5589 '{eskimo kisses}' + + + + + + + + + define "Quantity.QuantityFractionalTooBig": + + 5.999999999 'g' + + + + + + + + + define "String.StringTestEscapeQuotes": + + '\'I start with a single quote and end with a double quote\"' + + + + + + + + + define "String.StringUnicodeTest": + + '\u0048\u0069' + + + + + + + + + define "Time.TimeProper": @T10:25:12.863 + + + + + + + + + + + + + define "Time.TimeAllMax": @T23:59:59.999 + + + + + + + + + + + + + define "Time.TimeAllMin": @T00:00:00.000 + + + + + + + + + + + + + diff --git a/cql/ValueLiteralsAndSelectors.cql b/cql/ValueLiteralsAndSelectors.cql new file mode 100644 index 0000000..49bf7a7 --- /dev/null +++ b/cql/ValueLiteralsAndSelectors.cql @@ -0,0 +1,134 @@ +library ValueLiteralsAndSelectors + +define "Null.Null": null + +define "Boolean.BooleanFalse": false + +define "Boolean.BooleanTrue": true + +define "Integer.IntegerZero": 0 + +define "Integer.IntegerPosZero": +0 + +define "Integer.IntegerNegZero": -0 + +define "Integer.IntegerOne": 1 + +define "Integer.IntegerPosOne": +1 + +define "Integer.IntegerNegOne": -1 + +define "Integer.IntegerTwo": 2 + +define "Integer.IntegerPosTwo": +2 + +define "Integer.IntegerNegTwo": -2 + +define "Integer.Integer10Pow9": 1000000000 + +define "Integer.IntegerPos10Pow9": +1000000000 + +define "Integer.IntegerNeg10Pow9": -1000000000 + +define "Integer.Integer2Pow31ToZero1IntegerMaxValue": 2147483647 + +define "Integer.IntegerPos2Pow31ToZero1IntegerMaxValue": +2147483647 + +define "Integer.IntegerNeg2Pow31ToZero1": -2147483647 + +define "Integer.Integer2Pow31": 2147483648 + +define "Integer.IntegerPos2Pow31": +2147483648 + +define "Integer.IntegerNeg2Pow31IntegerMinValue": -2147483648 + +define "Integer.Integer2Pow31ToInf1": 2147483649 + +define "Integer.IntegerPos2Pow31ToInf1": +2147483649 + +define "Integer.IntegerNeg2Pow31ToInf1": -2147483649 + +define "Decimal.DecimalZero": 0.0 + +define "Decimal.DecimalPosZero": +0.0 + +define "Decimal.DecimalNegZero": -0.0 + +define "Decimal.DecimalOne": 1.0 + +define "Decimal.DecimalPosOne": +1.0 + +define "Decimal.DecimalNegOne": -1.0 + +define "Decimal.DecimalTwo": 2.0 + +define "Decimal.DecimalPosTwo": +2.0 + +define "Decimal.DecimalNegTwo": -2.0 + +define "Decimal.Decimal10Pow9": 1000000000.0 + +define "Decimal.DecimalPos10Pow9": +1000000000.0 + +define "Decimal.DecimalNeg10Pow9": -1000000000.0 + +define "Decimal.Decimal2Pow31ToZero1": 2147483647.0 + +define "Decimal.DecimalPos2Pow31ToZero1": +2147483647.0 + +define "Decimal.DecimalNeg2Pow31ToZero1": -2147483647.0 + +define "Decimal.Decimal2Pow31": 2147483648.0 + +define "Decimal.DecimalPos2Pow31": +2147483648.0 + +define "Decimal.DecimalNeg2Pow31": -2147483648.0 + +define "Decimal.Decimal2Pow31ToInf1": 2147483649.0 + +define "Decimal.DecimalPos2Pow31ToInf1": +2147483649.0 + +define "Decimal.DecimalNeg2Pow31ToInf1": -2147483649.0 + +define "Decimal.DecimalZeroStep": 0.00000000 + +define "Decimal.DecimalPosZeroStep": +0.00000000 + +define "Decimal.DecimalNegZeroStep": -0.00000000 + +define "Decimal.DecimalOneStep": 0.00000001 + +define "Decimal.DecimalPosOneStep": +0.00000001 + +define "Decimal.DecimalNegOneStep": -0.00000001 + +define "Decimal.DecimalTwoStep": 0.00000002 + +define "Decimal.DecimalPosTwoStep": +0.00000002 + +define "Decimal.DecimalNegTwoStep": -0.00000002 + +define "Decimal.DecimalTenStep": 0.0000001 + +define "Decimal.DecimalPosTenStep": +0.0000001 + +define "Decimal.DecimalNegTenStep": -0.0000001 + +define "Decimal.DecimalTenthStep": 0.000000001 + +define "Decimal.DecimalPosTenthStep": +0.000000001 + +define "Decimal.DecimalNegTenthStep": -0.000000001 + +define "Decimal.Decimal10Pow28ToZeroOneStepDecimalMaxValue": 9999999999999999999999999999.99999999 + +define "Decimal.DecimalPos10Pow28ToZeroOneStepDecimalMaxValue": +9999999999999999999999999999.99999999 + +define "Decimal.DecimalNeg10Pow28ToZeroOneStepDecimalMinValue": -9999999999999999999999999999.99999999 + +define "Decimal.Decimal10Pow28": 10000000000000000000000000000.00000000 + +define "Decimal.DecimalPos10Pow28": +10000000000000000000000000000.00000000 + +define "Decimal.DecimalNeg10Pow28": -10000000000000000000000000000.00000000 + diff --git a/cql/ValueLiteralsAndSelectors.json b/cql/ValueLiteralsAndSelectors.json new file mode 100644 index 0000000..794a722 --- /dev/null +++ b/cql/ValueLiteralsAndSelectors.json @@ -0,0 +1,1973 @@ +{ + "library" : { + "localId" : "0", + "annotation" : [ { + "translatorVersion" : "3.10.0-SNAPSHOT", + "translatorOptions" : "EnableAnnotations,EnableLocators", + "signatureLevel" : "Overloads", + "type" : "CqlToElmInfo" + }, { + "type" : "Annotation", + "s" : { + "r" : "442", + "s" : [ { + "value" : [ "","library ValueLiteralsAndSelectors" ] + } ] + } + } ], + "identifier" : { + "id" : "ValueLiteralsAndSelectors" + }, + "schemaIdentifier" : { + "id" : "urn:hl7-org:elm", + "version" : "r1" + }, + "usings" : { + "def" : [ { + "localId" : "1", + "localIdentifier" : "System", + "uri" : "urn:hl7-org:elm-types:r1" + } ] + }, + "statements" : { + "def" : [ { + "localId" : "207", + "locator" : "3:1-3:24", + "name" : "Null.Null", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "207", + "s" : [ { + "r" : "208", + "value" : [ "","define ","\"Null.Null\"",": ","null" ] + } ] + } + } ], + "expression" : { + "localId" : "208", + "locator" : "3:21-3:24", + "type" : "Null" + } + }, { + "localId" : "210", + "locator" : "5:1-5:36", + "name" : "Boolean.BooleanFalse", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "210", + "s" : [ { + "r" : "211", + "value" : [ "","define ","\"Boolean.BooleanFalse\"",": ","false" ] + } ] + } + } ], + "expression" : { + "localId" : "211", + "locator" : "5:32-5:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "false", + "type" : "Literal" + } + }, { + "localId" : "213", + "locator" : "7:1-7:34", + "name" : "Boolean.BooleanTrue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "213", + "s" : [ { + "r" : "214", + "value" : [ "","define ","\"Boolean.BooleanTrue\"",": ","true" ] + } ] + } + } ], + "expression" : { + "localId" : "214", + "locator" : "7:31-7:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", + "value" : "true", + "type" : "Literal" + } + }, { + "localId" : "216", + "locator" : "9:1-9:31", + "name" : "Integer.IntegerZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "216", + "s" : [ { + "r" : "217", + "value" : [ "","define ","\"Integer.IntegerZero\"",": ","0" ] + } ] + } + } ], + "expression" : { + "localId" : "217", + "locator" : "9:31", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "219", + "locator" : "11:1-11:35", + "name" : "Integer.IntegerPosZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "219", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPosZero\"",": " ] + }, { + "r" : "220", + "s" : [ { + "r" : "220", + "value" : [ "+","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "220", + "locator" : "11:34-11:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + }, { + "localId" : "222", + "locator" : "13:1-13:35", + "name" : "Integer.IntegerNegZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "222", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNegZero\"",": " ] + }, { + "r" : "223", + "s" : [ { + "r" : "224", + "value" : [ "-","0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "223", + "locator" : "13:34-13:35", + "type" : "Negate", + "signature" : [ { + "localId" : "225", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "224", + "locator" : "13:35", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "0", + "type" : "Literal" + } + } + }, { + "localId" : "227", + "locator" : "15:1-15:30", + "name" : "Integer.IntegerOne", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "227", + "s" : [ { + "r" : "228", + "value" : [ "","define ","\"Integer.IntegerOne\"",": ","1" ] + } ] + } + } ], + "expression" : { + "localId" : "228", + "locator" : "15:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "230", + "locator" : "17:1-17:34", + "name" : "Integer.IntegerPosOne", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "230", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPosOne\"",": " ] + }, { + "r" : "231", + "s" : [ { + "r" : "231", + "value" : [ "+","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "231", + "locator" : "17:33-17:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + }, { + "localId" : "233", + "locator" : "19:1-19:34", + "name" : "Integer.IntegerNegOne", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "233", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNegOne\"",": " ] + }, { + "r" : "234", + "s" : [ { + "r" : "235", + "value" : [ "-","1" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "234", + "locator" : "19:33-19:34", + "type" : "Negate", + "signature" : [ { + "localId" : "236", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "235", + "locator" : "19:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1", + "type" : "Literal" + } + } + }, { + "localId" : "238", + "locator" : "21:1-21:30", + "name" : "Integer.IntegerTwo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "238", + "s" : [ { + "r" : "239", + "value" : [ "","define ","\"Integer.IntegerTwo\"",": ","2" ] + } ] + } + } ], + "expression" : { + "localId" : "239", + "locator" : "21:30", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "241", + "locator" : "23:1-23:34", + "name" : "Integer.IntegerPosTwo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "241", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPosTwo\"",": " ] + }, { + "r" : "242", + "s" : [ { + "r" : "242", + "value" : [ "+","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "242", + "locator" : "23:33-23:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + }, { + "localId" : "244", + "locator" : "25:1-25:34", + "name" : "Integer.IntegerNegTwo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "244", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNegTwo\"",": " ] + }, { + "r" : "245", + "s" : [ { + "r" : "246", + "value" : [ "-","2" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "245", + "locator" : "25:33-25:34", + "type" : "Negate", + "signature" : [ { + "localId" : "247", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "246", + "locator" : "25:34", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2", + "type" : "Literal" + } + } + }, { + "localId" : "249", + "locator" : "27:1-27:42", + "name" : "Integer.Integer10Pow9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "249", + "s" : [ { + "r" : "250", + "value" : [ "","define ","\"Integer.Integer10Pow9\"",": ","1000000000" ] + } ] + } + } ], + "expression" : { + "localId" : "250", + "locator" : "27:33-27:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000000000", + "type" : "Literal" + } + }, { + "localId" : "252", + "locator" : "29:1-29:46", + "name" : "Integer.IntegerPos10Pow9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "252", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPos10Pow9\"",": " ] + }, { + "r" : "253", + "s" : [ { + "r" : "253", + "value" : [ "+","1000000000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "253", + "locator" : "29:36-29:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000000000", + "type" : "Literal" + } + }, { + "localId" : "255", + "locator" : "31:1-31:46", + "name" : "Integer.IntegerNeg10Pow9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "255", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNeg10Pow9\"",": " ] + }, { + "r" : "256", + "s" : [ { + "r" : "257", + "value" : [ "-","1000000000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "256", + "locator" : "31:36-31:46", + "type" : "Negate", + "signature" : [ { + "localId" : "258", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "257", + "locator" : "31:37-31:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "1000000000", + "type" : "Literal" + } + } + }, { + "localId" : "260", + "locator" : "33:1-33:64", + "name" : "Integer.Integer2Pow31ToZero1IntegerMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "260", + "s" : [ { + "r" : "261", + "value" : [ "","define ","\"Integer.Integer2Pow31ToZero1IntegerMaxValue\"",": ","2147483647" ] + } ] + } + } ], + "expression" : { + "localId" : "261", + "locator" : "33:55-33:64", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483647", + "type" : "Literal" + } + }, { + "localId" : "263", + "locator" : "35:1-35:68", + "name" : "Integer.IntegerPos2Pow31ToZero1IntegerMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "263", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPos2Pow31ToZero1IntegerMaxValue\"",": " ] + }, { + "r" : "264", + "s" : [ { + "r" : "264", + "value" : [ "+","2147483647" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "264", + "locator" : "35:58-35:68", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483647", + "type" : "Literal" + } + }, { + "localId" : "266", + "locator" : "37:1-37:53", + "name" : "Integer.IntegerNeg2Pow31ToZero1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "266", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNeg2Pow31ToZero1\"",": " ] + }, { + "r" : "267", + "s" : [ { + "r" : "268", + "value" : [ "-","2147483647" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "267", + "locator" : "37:43-37:53", + "type" : "Negate", + "signature" : [ { + "localId" : "269", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "268", + "locator" : "37:44-37:53", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483647", + "type" : "Literal" + } + } + }, { + "localId" : "271", + "locator" : "39:1-39:42", + "name" : "Integer.Integer2Pow31", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "271", + "s" : [ { + "r" : "272", + "value" : [ "","define ","\"Integer.Integer2Pow31\"",": ","2147483648" ] + } ] + } + } ], + "expression" : { + "localId" : "272", + "locator" : "39:33-39:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483648", + "type" : "Literal" + } + }, { + "localId" : "274", + "locator" : "41:1-41:46", + "name" : "Integer.IntegerPos2Pow31", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "274", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPos2Pow31\"",": " ] + }, { + "r" : "275", + "s" : [ { + "r" : "275", + "value" : [ "+","2147483648" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "275", + "locator" : "41:36-41:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483648", + "type" : "Literal" + } + }, { + "localId" : "277", + "locator" : "43:1-43:61", + "name" : "Integer.IntegerNeg2Pow31IntegerMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "277", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNeg2Pow31IntegerMinValue\"",": " ] + }, { + "r" : "278", + "s" : [ { + "r" : "279", + "value" : [ "-","2147483648" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "278", + "locator" : "43:51-43:61", + "type" : "Negate", + "signature" : [ { + "localId" : "280", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "279", + "locator" : "43:52-43:61", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483648", + "type" : "Literal" + } + } + }, { + "localId" : "282", + "locator" : "45:1-45:48", + "name" : "Integer.Integer2Pow31ToInf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "282", + "s" : [ { + "r" : "283", + "value" : [ "","define ","\"Integer.Integer2Pow31ToInf1\"",": ","2147483649" ] + } ] + } + } ], + "expression" : { + "localId" : "283", + "locator" : "45:39-45:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483649", + "type" : "Literal" + } + }, { + "localId" : "285", + "locator" : "47:1-47:52", + "name" : "Integer.IntegerPos2Pow31ToInf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "285", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerPos2Pow31ToInf1\"",": " ] + }, { + "r" : "286", + "s" : [ { + "r" : "286", + "value" : [ "+","2147483649" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "286", + "locator" : "47:42-47:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483649", + "type" : "Literal" + } + }, { + "localId" : "288", + "locator" : "49:1-49:52", + "name" : "Integer.IntegerNeg2Pow31ToInf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "288", + "s" : [ { + "value" : [ "","define ","\"Integer.IntegerNeg2Pow31ToInf1\"",": " ] + }, { + "r" : "289", + "s" : [ { + "r" : "290", + "value" : [ "-","2147483649" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "289", + "locator" : "49:42-49:52", + "type" : "Negate", + "signature" : [ { + "localId" : "291", + "name" : "{urn:hl7-org:elm-types:r1}Integer", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "290", + "locator" : "49:43-49:52", + "valueType" : "{urn:hl7-org:elm-types:r1}Integer", + "value" : "2147483649", + "type" : "Literal" + } + } + }, { + "localId" : "293", + "locator" : "51:1-51:33", + "name" : "Decimal.DecimalZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "293", + "s" : [ { + "r" : "294", + "value" : [ "","define ","\"Decimal.DecimalZero\"",": ","0.0" ] + } ] + } + } ], + "expression" : { + "localId" : "294", + "locator" : "51:31-51:33", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + }, { + "localId" : "296", + "locator" : "53:1-53:37", + "name" : "Decimal.DecimalPosZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "296", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosZero\"",": " ] + }, { + "r" : "297", + "s" : [ { + "r" : "297", + "value" : [ "+","0.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "297", + "locator" : "53:34-53:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + }, { + "localId" : "299", + "locator" : "55:1-55:37", + "name" : "Decimal.DecimalNegZero", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "299", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegZero\"",": " ] + }, { + "r" : "300", + "s" : [ { + "r" : "301", + "value" : [ "-","0.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "300", + "locator" : "55:34-55:37", + "type" : "Negate", + "signature" : [ { + "localId" : "302", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "301", + "locator" : "55:35-55:37", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0", + "type" : "Literal" + } + } + }, { + "localId" : "304", + "locator" : "57:1-57:32", + "name" : "Decimal.DecimalOne", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "304", + "s" : [ { + "r" : "305", + "value" : [ "","define ","\"Decimal.DecimalOne\"",": ","1.0" ] + } ] + } + } ], + "expression" : { + "localId" : "305", + "locator" : "57:30-57:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + }, { + "localId" : "307", + "locator" : "59:1-59:36", + "name" : "Decimal.DecimalPosOne", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "307", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosOne\"",": " ] + }, { + "r" : "308", + "s" : [ { + "r" : "308", + "value" : [ "+","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "308", + "locator" : "59:33-59:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + }, { + "localId" : "310", + "locator" : "61:1-61:36", + "name" : "Decimal.DecimalNegOne", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "310", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegOne\"",": " ] + }, { + "r" : "311", + "s" : [ { + "r" : "312", + "value" : [ "-","1.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "311", + "locator" : "61:33-61:36", + "type" : "Negate", + "signature" : [ { + "localId" : "313", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "312", + "locator" : "61:34-61:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1.0", + "type" : "Literal" + } + } + }, { + "localId" : "315", + "locator" : "63:1-63:32", + "name" : "Decimal.DecimalTwo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "315", + "s" : [ { + "r" : "316", + "value" : [ "","define ","\"Decimal.DecimalTwo\"",": ","2.0" ] + } ] + } + } ], + "expression" : { + "localId" : "316", + "locator" : "63:30-63:32", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } + }, { + "localId" : "318", + "locator" : "65:1-65:36", + "name" : "Decimal.DecimalPosTwo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "318", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosTwo\"",": " ] + }, { + "r" : "319", + "s" : [ { + "r" : "319", + "value" : [ "+","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "319", + "locator" : "65:33-65:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } + }, { + "localId" : "321", + "locator" : "67:1-67:36", + "name" : "Decimal.DecimalNegTwo", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "321", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegTwo\"",": " ] + }, { + "r" : "322", + "s" : [ { + "r" : "323", + "value" : [ "-","2.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "322", + "locator" : "67:33-67:36", + "type" : "Negate", + "signature" : [ { + "localId" : "324", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "323", + "locator" : "67:34-67:36", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2.0", + "type" : "Literal" + } + } + }, { + "localId" : "326", + "locator" : "69:1-69:44", + "name" : "Decimal.Decimal10Pow9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "326", + "s" : [ { + "r" : "327", + "value" : [ "","define ","\"Decimal.Decimal10Pow9\"",": ","1000000000.0" ] + } ] + } + } ], + "expression" : { + "localId" : "327", + "locator" : "69:33-69:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1000000000.0", + "type" : "Literal" + } + }, { + "localId" : "329", + "locator" : "71:1-71:48", + "name" : "Decimal.DecimalPos10Pow9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "329", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPos10Pow9\"",": " ] + }, { + "r" : "330", + "s" : [ { + "r" : "330", + "value" : [ "+","1000000000.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "330", + "locator" : "71:36-71:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1000000000.0", + "type" : "Literal" + } + }, { + "localId" : "332", + "locator" : "73:1-73:48", + "name" : "Decimal.DecimalNeg10Pow9", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "332", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNeg10Pow9\"",": " ] + }, { + "r" : "333", + "s" : [ { + "r" : "334", + "value" : [ "-","1000000000.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "333", + "locator" : "73:36-73:48", + "type" : "Negate", + "signature" : [ { + "localId" : "335", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "334", + "locator" : "73:37-73:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "1000000000.0", + "type" : "Literal" + } + } + }, { + "localId" : "337", + "locator" : "75:1-75:51", + "name" : "Decimal.Decimal2Pow31ToZero1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "337", + "s" : [ { + "r" : "338", + "value" : [ "","define ","\"Decimal.Decimal2Pow31ToZero1\"",": ","2147483647.0" ] + } ] + } + } ], + "expression" : { + "localId" : "338", + "locator" : "75:40-75:51", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483647.0", + "type" : "Literal" + } + }, { + "localId" : "340", + "locator" : "77:1-77:55", + "name" : "Decimal.DecimalPos2Pow31ToZero1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "340", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPos2Pow31ToZero1\"",": " ] + }, { + "r" : "341", + "s" : [ { + "r" : "341", + "value" : [ "+","2147483647.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "341", + "locator" : "77:43-77:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483647.0", + "type" : "Literal" + } + }, { + "localId" : "343", + "locator" : "79:1-79:55", + "name" : "Decimal.DecimalNeg2Pow31ToZero1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "343", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNeg2Pow31ToZero1\"",": " ] + }, { + "r" : "344", + "s" : [ { + "r" : "345", + "value" : [ "-","2147483647.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "344", + "locator" : "79:43-79:55", + "type" : "Negate", + "signature" : [ { + "localId" : "346", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "345", + "locator" : "79:44-79:55", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483647.0", + "type" : "Literal" + } + } + }, { + "localId" : "348", + "locator" : "81:1-81:44", + "name" : "Decimal.Decimal2Pow31", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "348", + "s" : [ { + "r" : "349", + "value" : [ "","define ","\"Decimal.Decimal2Pow31\"",": ","2147483648.0" ] + } ] + } + } ], + "expression" : { + "localId" : "349", + "locator" : "81:33-81:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483648.0", + "type" : "Literal" + } + }, { + "localId" : "351", + "locator" : "83:1-83:48", + "name" : "Decimal.DecimalPos2Pow31", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "351", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPos2Pow31\"",": " ] + }, { + "r" : "352", + "s" : [ { + "r" : "352", + "value" : [ "+","2147483648.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "352", + "locator" : "83:36-83:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483648.0", + "type" : "Literal" + } + }, { + "localId" : "354", + "locator" : "85:1-85:48", + "name" : "Decimal.DecimalNeg2Pow31", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "354", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNeg2Pow31\"",": " ] + }, { + "r" : "355", + "s" : [ { + "r" : "356", + "value" : [ "-","2147483648.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "355", + "locator" : "85:36-85:48", + "type" : "Negate", + "signature" : [ { + "localId" : "357", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "356", + "locator" : "85:37-85:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483648.0", + "type" : "Literal" + } + } + }, { + "localId" : "359", + "locator" : "87:1-87:50", + "name" : "Decimal.Decimal2Pow31ToInf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "359", + "s" : [ { + "r" : "360", + "value" : [ "","define ","\"Decimal.Decimal2Pow31ToInf1\"",": ","2147483649.0" ] + } ] + } + } ], + "expression" : { + "localId" : "360", + "locator" : "87:39-87:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483649.0", + "type" : "Literal" + } + }, { + "localId" : "362", + "locator" : "89:1-89:54", + "name" : "Decimal.DecimalPos2Pow31ToInf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "362", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPos2Pow31ToInf1\"",": " ] + }, { + "r" : "363", + "s" : [ { + "r" : "363", + "value" : [ "+","2147483649.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "363", + "locator" : "89:42-89:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483649.0", + "type" : "Literal" + } + }, { + "localId" : "365", + "locator" : "91:1-91:54", + "name" : "Decimal.DecimalNeg2Pow31ToInf1", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "365", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNeg2Pow31ToInf1\"",": " ] + }, { + "r" : "366", + "s" : [ { + "r" : "367", + "value" : [ "-","2147483649.0" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "366", + "locator" : "91:42-91:54", + "type" : "Negate", + "signature" : [ { + "localId" : "368", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "367", + "locator" : "91:43-91:54", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "2147483649.0", + "type" : "Literal" + } + } + }, { + "localId" : "370", + "locator" : "93:1-93:44", + "name" : "Decimal.DecimalZeroStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "370", + "s" : [ { + "r" : "371", + "value" : [ "","define ","\"Decimal.DecimalZeroStep\"",": ","0.00000000" ] + } ] + } + } ], + "expression" : { + "localId" : "371", + "locator" : "93:35-93:44", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000000", + "type" : "Literal" + } + }, { + "localId" : "373", + "locator" : "95:1-95:48", + "name" : "Decimal.DecimalPosZeroStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "373", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosZeroStep\"",": " ] + }, { + "r" : "374", + "s" : [ { + "r" : "374", + "value" : [ "+","0.00000000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "374", + "locator" : "95:38-95:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000000", + "type" : "Literal" + } + }, { + "localId" : "376", + "locator" : "97:1-97:48", + "name" : "Decimal.DecimalNegZeroStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "376", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegZeroStep\"",": " ] + }, { + "r" : "377", + "s" : [ { + "r" : "378", + "value" : [ "-","0.00000000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "377", + "locator" : "97:38-97:48", + "type" : "Negate", + "signature" : [ { + "localId" : "379", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "378", + "locator" : "97:39-97:48", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000000", + "type" : "Literal" + } + } + }, { + "localId" : "381", + "locator" : "99:1-99:43", + "name" : "Decimal.DecimalOneStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "381", + "s" : [ { + "r" : "382", + "value" : [ "","define ","\"Decimal.DecimalOneStep\"",": ","0.00000001" ] + } ] + } + } ], + "expression" : { + "localId" : "382", + "locator" : "99:34-99:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000001", + "type" : "Literal" + } + }, { + "localId" : "384", + "locator" : "101:1-101:47", + "name" : "Decimal.DecimalPosOneStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "384", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosOneStep\"",": " ] + }, { + "r" : "385", + "s" : [ { + "r" : "385", + "value" : [ "+","0.00000001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "385", + "locator" : "101:37-101:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000001", + "type" : "Literal" + } + }, { + "localId" : "387", + "locator" : "103:1-103:47", + "name" : "Decimal.DecimalNegOneStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "387", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegOneStep\"",": " ] + }, { + "r" : "388", + "s" : [ { + "r" : "389", + "value" : [ "-","0.00000001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "388", + "locator" : "103:37-103:47", + "type" : "Negate", + "signature" : [ { + "localId" : "390", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "389", + "locator" : "103:38-103:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000001", + "type" : "Literal" + } + } + }, { + "localId" : "392", + "locator" : "105:1-105:43", + "name" : "Decimal.DecimalTwoStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "392", + "s" : [ { + "r" : "393", + "value" : [ "","define ","\"Decimal.DecimalTwoStep\"",": ","0.00000002" ] + } ] + } + } ], + "expression" : { + "localId" : "393", + "locator" : "105:34-105:43", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000002", + "type" : "Literal" + } + }, { + "localId" : "395", + "locator" : "107:1-107:47", + "name" : "Decimal.DecimalPosTwoStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "395", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosTwoStep\"",": " ] + }, { + "r" : "396", + "s" : [ { + "r" : "396", + "value" : [ "+","0.00000002" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "396", + "locator" : "107:37-107:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000002", + "type" : "Literal" + } + }, { + "localId" : "398", + "locator" : "109:1-109:47", + "name" : "Decimal.DecimalNegTwoStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "398", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegTwoStep\"",": " ] + }, { + "r" : "399", + "s" : [ { + "r" : "400", + "value" : [ "-","0.00000002" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "399", + "locator" : "109:37-109:47", + "type" : "Negate", + "signature" : [ { + "localId" : "401", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "400", + "locator" : "109:38-109:47", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.00000002", + "type" : "Literal" + } + } + }, { + "localId" : "403", + "locator" : "111:1-111:42", + "name" : "Decimal.DecimalTenStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "403", + "s" : [ { + "r" : "404", + "value" : [ "","define ","\"Decimal.DecimalTenStep\"",": ","0.0000001" ] + } ] + } + } ], + "expression" : { + "localId" : "404", + "locator" : "111:34-111:42", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0000001", + "type" : "Literal" + } + }, { + "localId" : "406", + "locator" : "113:1-113:46", + "name" : "Decimal.DecimalPosTenStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "406", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosTenStep\"",": " ] + }, { + "r" : "407", + "s" : [ { + "r" : "407", + "value" : [ "+","0.0000001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "407", + "locator" : "113:37-113:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0000001", + "type" : "Literal" + } + }, { + "localId" : "409", + "locator" : "115:1-115:46", + "name" : "Decimal.DecimalNegTenStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "409", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegTenStep\"",": " ] + }, { + "r" : "410", + "s" : [ { + "r" : "411", + "value" : [ "-","0.0000001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "410", + "locator" : "115:37-115:46", + "type" : "Negate", + "signature" : [ { + "localId" : "412", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "411", + "locator" : "115:38-115:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.0000001", + "type" : "Literal" + } + } + }, { + "localId" : "414", + "locator" : "117:1-117:46", + "name" : "Decimal.DecimalTenthStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "414", + "s" : [ { + "r" : "415", + "value" : [ "","define ","\"Decimal.DecimalTenthStep\"",": ","0.000000001" ] + } ] + } + } ], + "expression" : { + "localId" : "415", + "locator" : "117:36-117:46", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.000000001", + "type" : "Literal" + } + }, { + "localId" : "417", + "locator" : "119:1-119:50", + "name" : "Decimal.DecimalPosTenthStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "417", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPosTenthStep\"",": " ] + }, { + "r" : "418", + "s" : [ { + "r" : "418", + "value" : [ "+","0.000000001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "418", + "locator" : "119:39-119:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.000000001", + "type" : "Literal" + } + }, { + "localId" : "420", + "locator" : "121:1-121:50", + "name" : "Decimal.DecimalNegTenthStep", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "420", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNegTenthStep\"",": " ] + }, { + "r" : "421", + "s" : [ { + "r" : "422", + "value" : [ "-","0.000000001" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "421", + "locator" : "121:39-121:50", + "type" : "Negate", + "signature" : [ { + "localId" : "423", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "422", + "locator" : "121:40-121:50", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "0.000000001", + "type" : "Literal" + } + } + }, { + "localId" : "425", + "locator" : "123:1-123:98", + "name" : "Decimal.Decimal10Pow28ToZeroOneStepDecimalMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "425", + "s" : [ { + "r" : "426", + "value" : [ "","define ","\"Decimal.Decimal10Pow28ToZeroOneStepDecimalMaxValue\"",": ","9999999999999999999999999999.99999999" ] + } ] + } + } ], + "expression" : { + "localId" : "426", + "locator" : "123:62-123:98", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "9999999999999999999999999999.99999999", + "type" : "Literal" + } + }, { + "localId" : "428", + "locator" : "125:1-125:102", + "name" : "Decimal.DecimalPos10Pow28ToZeroOneStepDecimalMaxValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "428", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPos10Pow28ToZeroOneStepDecimalMaxValue\"",": " ] + }, { + "r" : "429", + "s" : [ { + "r" : "429", + "value" : [ "+","9999999999999999999999999999.99999999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "429", + "locator" : "125:65-125:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "9999999999999999999999999999.99999999", + "type" : "Literal" + } + }, { + "localId" : "431", + "locator" : "127:1-127:102", + "name" : "Decimal.DecimalNeg10Pow28ToZeroOneStepDecimalMinValue", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "431", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNeg10Pow28ToZeroOneStepDecimalMinValue\"",": " ] + }, { + "r" : "432", + "s" : [ { + "r" : "433", + "value" : [ "-","9999999999999999999999999999.99999999" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "432", + "locator" : "127:65-127:102", + "type" : "Negate", + "signature" : [ { + "localId" : "434", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "433", + "locator" : "127:66-127:102", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "9999999999999999999999999999.99999999", + "type" : "Literal" + } + } + }, { + "localId" : "436", + "locator" : "129:1-129:71", + "name" : "Decimal.Decimal10Pow28", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "436", + "s" : [ { + "r" : "437", + "value" : [ "","define ","\"Decimal.Decimal10Pow28\"",": ","10000000000000000000000000000.00000000" ] + } ] + } + } ], + "expression" : { + "localId" : "437", + "locator" : "129:34-129:71", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10000000000000000000000000000.00000000", + "type" : "Literal" + } + }, { + "localId" : "439", + "locator" : "131:1-131:75", + "name" : "Decimal.DecimalPos10Pow28", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "439", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalPos10Pow28\"",": " ] + }, { + "r" : "440", + "s" : [ { + "r" : "440", + "value" : [ "+","10000000000000000000000000000.00000000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "440", + "locator" : "131:37-131:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10000000000000000000000000000.00000000", + "type" : "Literal" + } + }, { + "localId" : "442", + "locator" : "133:1-133:75", + "name" : "Decimal.DecimalNeg10Pow28", + "context" : "Unfiltered", + "accessLevel" : "Public", + "annotation" : [ { + "type" : "Annotation", + "s" : { + "r" : "442", + "s" : [ { + "value" : [ "","define ","\"Decimal.DecimalNeg10Pow28\"",": " ] + }, { + "r" : "443", + "s" : [ { + "r" : "444", + "value" : [ "-","10000000000000000000000000000.00000000" ] + } ] + } ] + } + } ], + "expression" : { + "localId" : "443", + "locator" : "133:37-133:75", + "type" : "Negate", + "signature" : [ { + "localId" : "445", + "name" : "{urn:hl7-org:elm-types:r1}Decimal", + "type" : "NamedTypeSpecifier" + } ], + "operand" : { + "localId" : "444", + "locator" : "133:38-133:75", + "valueType" : "{urn:hl7-org:elm-types:r1}Decimal", + "value" : "10000000000000000000000000000.00000000", + "type" : "Literal" + } + } + } ] + } + } +} + diff --git a/cql/ValueLiteralsAndSelectors.xml b/cql/ValueLiteralsAndSelectors.xml new file mode 100644 index 0000000..e0d6cfc --- /dev/null +++ b/cql/ValueLiteralsAndSelectors.xml @@ -0,0 +1,735 @@ + + + + + + library ValueLiteralsAndSelectors + + + + + + + + + + + + define "Null.Null": null + + + + + + + + define "Boolean.BooleanFalse": false + + + + + + + + define "Boolean.BooleanTrue": true + + + + + + + + define "Integer.IntegerZero": 0 + + + + + + + + define "Integer.IntegerPosZero": + + +0 + + + + + + + + + define "Integer.IntegerNegZero": + + -0 + + + + + + + + + + + + define "Integer.IntegerOne": 1 + + + + + + + + define "Integer.IntegerPosOne": + + +1 + + + + + + + + + define "Integer.IntegerNegOne": + + -1 + + + + + + + + + + + + define "Integer.IntegerTwo": 2 + + + + + + + + define "Integer.IntegerPosTwo": + + +2 + + + + + + + + + define "Integer.IntegerNegTwo": + + -2 + + + + + + + + + + + + define "Integer.Integer10Pow9": 1000000000 + + + + + + + + define "Integer.IntegerPos10Pow9": + + +1000000000 + + + + + + + + + define "Integer.IntegerNeg10Pow9": + + -1000000000 + + + + + + + + + + + + define "Integer.Integer2Pow31ToZero1IntegerMaxValue": 2147483647 + + + + + + + + define "Integer.IntegerPos2Pow31ToZero1IntegerMaxValue": + + +2147483647 + + + + + + + + + define "Integer.IntegerNeg2Pow31ToZero1": + + -2147483647 + + + + + + + + + + + + define "Integer.Integer2Pow31": 2147483648 + + + + + + + + define "Integer.IntegerPos2Pow31": + + +2147483648 + + + + + + + + + define "Integer.IntegerNeg2Pow31IntegerMinValue": + + -2147483648 + + + + + + + + + + + + define "Integer.Integer2Pow31ToInf1": 2147483649 + + + + + + + + define "Integer.IntegerPos2Pow31ToInf1": + + +2147483649 + + + + + + + + + define "Integer.IntegerNeg2Pow31ToInf1": + + -2147483649 + + + + + + + + + + + + define "Decimal.DecimalZero": 0.0 + + + + + + + + define "Decimal.DecimalPosZero": + + +0.0 + + + + + + + + + define "Decimal.DecimalNegZero": + + -0.0 + + + + + + + + + + + + define "Decimal.DecimalOne": 1.0 + + + + + + + + define "Decimal.DecimalPosOne": + + +1.0 + + + + + + + + + define "Decimal.DecimalNegOne": + + -1.0 + + + + + + + + + + + + define "Decimal.DecimalTwo": 2.0 + + + + + + + + define "Decimal.DecimalPosTwo": + + +2.0 + + + + + + + + + define "Decimal.DecimalNegTwo": + + -2.0 + + + + + + + + + + + + define "Decimal.Decimal10Pow9": 1000000000.0 + + + + + + + + define "Decimal.DecimalPos10Pow9": + + +1000000000.0 + + + + + + + + + define "Decimal.DecimalNeg10Pow9": + + -1000000000.0 + + + + + + + + + + + + define "Decimal.Decimal2Pow31ToZero1": 2147483647.0 + + + + + + + + define "Decimal.DecimalPos2Pow31ToZero1": + + +2147483647.0 + + + + + + + + + define "Decimal.DecimalNeg2Pow31ToZero1": + + -2147483647.0 + + + + + + + + + + + + define "Decimal.Decimal2Pow31": 2147483648.0 + + + + + + + + define "Decimal.DecimalPos2Pow31": + + +2147483648.0 + + + + + + + + + define "Decimal.DecimalNeg2Pow31": + + -2147483648.0 + + + + + + + + + + + + define "Decimal.Decimal2Pow31ToInf1": 2147483649.0 + + + + + + + + define "Decimal.DecimalPos2Pow31ToInf1": + + +2147483649.0 + + + + + + + + + define "Decimal.DecimalNeg2Pow31ToInf1": + + -2147483649.0 + + + + + + + + + + + + define "Decimal.DecimalZeroStep": 0.00000000 + + + + + + + + define "Decimal.DecimalPosZeroStep": + + +0.00000000 + + + + + + + + + define "Decimal.DecimalNegZeroStep": + + -0.00000000 + + + + + + + + + + + + define "Decimal.DecimalOneStep": 0.00000001 + + + + + + + + define "Decimal.DecimalPosOneStep": + + +0.00000001 + + + + + + + + + define "Decimal.DecimalNegOneStep": + + -0.00000001 + + + + + + + + + + + + define "Decimal.DecimalTwoStep": 0.00000002 + + + + + + + + define "Decimal.DecimalPosTwoStep": + + +0.00000002 + + + + + + + + + define "Decimal.DecimalNegTwoStep": + + -0.00000002 + + + + + + + + + + + + define "Decimal.DecimalTenStep": 0.0000001 + + + + + + + + define "Decimal.DecimalPosTenStep": + + +0.0000001 + + + + + + + + + define "Decimal.DecimalNegTenStep": + + -0.0000001 + + + + + + + + + + + + define "Decimal.DecimalTenthStep": 0.000000001 + + + + + + + + define "Decimal.DecimalPosTenthStep": + + +0.000000001 + + + + + + + + + define "Decimal.DecimalNegTenthStep": + + -0.000000001 + + + + + + + + + + + + define "Decimal.Decimal10Pow28ToZeroOneStepDecimalMaxValue": 9999999999999999999999999999.99999999 + + + + + + + + define "Decimal.DecimalPos10Pow28ToZeroOneStepDecimalMaxValue": + + +9999999999999999999999999999.99999999 + + + + + + + + + define "Decimal.DecimalNeg10Pow28ToZeroOneStepDecimalMinValue": + + -9999999999999999999999999999.99999999 + + + + + + + + + + + + define "Decimal.Decimal10Pow28": 10000000000000000000000000000.00000000 + + + + + + + + define "Decimal.DecimalPos10Pow28": + + +10000000000000000000000000000.00000000 + + + + + + + + + define "Decimal.DecimalNeg10Pow28": + + -10000000000000000000000000000.00000000 + + + + + + + + + + + +